OpenWRT routers: Difference between revisions

(First details of the WAN configuration)
(Updated with the vlan configurations.)
 
In order to access AAISP, the router needs to talk PPPoE over the WAN interface. IPCP will configure IPv4, and then IP6CP will start to configure IPv6. The heavy lifting of IPv6 configuration will be done by DHCPv6.
 
In the vlan configuration the value of vid will depend on your connection method. Use 911 if you are connected using City Fiber.
 
The appropriate entries in ''/etc/config/network'' will look like:
 
config device
option nametype 'eth0.28021q'
option macaddrifname 'ab:cd:ef:gh:ij:klwan'
option vid '911'
option name 'vlan0'
config interface 'wan'
option device 'eth0.2vlan0'
option proto 'pppoe'
option username 'XXXX@a.1'
option password 'ItIsASecret'
option ipv6 'auto'
list ip6class 'wan6'
config interface 'wan6'
option device 'eth0.2'@wan
option proto 'dhcpv6'
option sourcefilter '0'
option reqaddress 'try'
option reqprefix 'auto'