OpenWRT routers: Difference between revisions
Appearance
Content deleted Content added
First details of the WAN configuration |
Updated with the vlan configurations. |
||
| Line 14: | Line 14: | ||
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 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: |
The appropriate entries in ''/etc/config/network'' will look like: |
||
config device |
config device |
||
option type '8021q' |
|||
option ifname 'wan' |
|||
option vid '911' |
|||
option name 'vlan0' |
|||
config interface 'wan' |
config interface 'wan' |
||
option device 'vlan0' |
|||
option proto 'pppoe' |
|||
option username 'XXXX@a.1' |
|||
option password 'ItIsASecret' |
|||
option ipv6 'auto' |
|||
list ip6class 'wan6' |
|||
config interface 'wan6' |
config interface 'wan6' |
||
option device @wan |
|||
option proto 'dhcpv6' |
|||
option sourcefilter '0' |
|||
option reqaddress 'try' |
|||
option reqprefix 'auto' |
|||