Jump to content

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!

OpenWRT routers: Difference between revisions

Content deleted Content added
Adsb (talk | contribs)
mNo edit summary
Tags: Mobile edit Mobile web edit
Adsb (talk | contribs)
Restore earlier instructions
Line 48: Line 48:
* Save and apply, then restart the wan interface
* Save and apply, then restart the wan interface
* The wan and wan6 interfaces should now come up online
* The wan and wan6 interfaces should now come up online

The appropriate entries in ''/etc/config/network'' will look like the following.


With WAN VLAN:
With WAN VLAN:


config switch vlan
config device
option device 'switch0'
option type '8021q'
option vlan '2'
option ifname 'wan'
option ports '0t 1t'
option vid '911' OR '101'
option vid '911' OR '101'
option name 'vlan0'


Without WAN VLAN:
Without WAN VLAN:


config switch vlan
config device
option device 'switch0'
option name 'eth0.2'
option vlan '2'
option macaddr 'aa.bb.cc.dd.ee.ff'

option ports '1 0t'
And for both configurations:

config interface 'wan'
option device 'eth0.2' OR 'vlan0'
option proto 'pppoe'
option username 'xxnn@a.1'
option password 'ItIsASecret'
option ipv6 'auto'


== On new "Distributed Switch Architecture" versions ==
== On new "Distributed Switch Architecture" versions ==