editor
501
edits
This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!
(Need to use the 'ip -f inet6' command) |
(Try to explain that OpenWrt can use VLANs to run the WAN and LAN on one Ethernet. And then you may need a VLAN for PPPoE) |
||
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 normally be done by DHCPv6.
== VLANs ==
It's easy for new OpenWrt users to get confused by VLANs. On some routers the WAN and LAN are configured as separate VLANs on one Ethernet. So you can see the LAN defined as ''eth0.1'' and the WAN as ''eth0.2''
The appropriate entries in ''/etc/config/network'' will look like:▼
Then the PPPoE instance on the WAN may need to be configured to be on a VLAN because of the carrier's requirements, but this VLAN is separate from the router hardware configuration.
For City Fiber connections, a VLAN ID of 911 is needed.
For VDSL connections, a VLAN ID of 101 is needed.
Openreach FTTP does not need a VLAN.
ADSL users need an ADSL modem. OpenWrt doesn't support many of the modems built into normal consumer ADSL router/modems. If using an external modem then no VLAN is needed.
With VLAN:
config device
option type '8021q'
option ifname 'wan'
option vid '911' OR '101'
option name 'vlan0'
Without VLAN:
config device
option name 'eth0.2'
option macaddr 'aa.bb.cc.dd.ee.ff'
And for both configurations:
config interface 'wan'
option device 'vlan0' OR 'eth0.2'
option proto 'pppoe'
option username 'XXXX@a.1'
option proto 'static'
option defaultroute '1'
list ipaddr '81.187.xx.yy/
list ip6class 'wan_6'
option ip6ifaceid 'eui64'
|