hey guys,I want to implement ipv4 dhcp & ipv6 pppoe on my openwrt,How can I modify /etc/config/network.Which option is more in line with the standards, the first one or the second one.Thanks for your reply!!!
root@OpenWrt:~# cat /etc/config/network
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
Option ipv6 1 will cause the ppp script to instantate and configure a wan_6 interface of proto dhcpv6 inside the tunnel (if the ISP advertises v6 support during ppp negotiation). This works with most ISPs. In that case, do not configure a wan6 separately.
Substantial gain in performance is possible if you can configure your modem / ONT to terminate ppp inside the modem and send IP to the router. There is no hardware ppp acceleration in OpenWrt and running ppp in the kernel uses quite a bit of CPU time.
I run an mt7621 (dual core 880mhz) based router. It copes just fine with PPPoE on my 900Mb fibre connection. It does need hardware flow offloading enabled to handle the WAN-LAN throughput though.