Updates to /etc/config/network
should include the following:
# on the eth1 interface that is wired to ONT, we want to enable baby jumbo frame
# this will allow pppoe client to set MTU of 1500 matching ethernet MTU on lan interface
config device
option name 'eth1'
option mtu '1508'
# IPv4 is provided via PPPoE
config interface 'wan'
option device 'eth1'
option proto 'pppoe'
option mtu '1500'
option username '[email protected]'
option password 'password'
option ipv6 '1'
option peerdns '0'
list dns '8.8.8.8'
list dns '8.8.4.4'
# IPv6 is provided via DHCPv6
config interface 'wan6'
option device '@wan'
option proto 'dhcpv6'
option peerdns '0'
list dns '2001:4860:4860::8888'
list dns '2001:4860:4860::8844'
If you do not need custom IPv6 configuration, just delete wan6
section completely, but also set wan
ipv6
option to auto
.
.