OpenWRT routers: Difference between revisions
Appearance
Content deleted Content added
mNo edit summary Tags: Mobile edit Mobile web edit |
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 |
config device |
||
option |
option type '8021q' |
||
option |
option ifname 'wan' |
||
option |
option vid '911' OR '101' |
||
option |
option name 'vlan0' |
||
Without WAN VLAN: |
Without WAN VLAN: |
||
config |
config device |
||
option |
option name 'eth0.2' |
||
option |
option macaddr 'aa.bb.cc.dd.ee.ff' |
||
| ⚫ | |||
And for both configurations: |
|||
config interface 'wan' |
|||
option device 'eth0.2' OR 'vlan0' |
|||
option proto 'pppoe' |
|||
option username 'xxnn@a.1' |
|||
option password 'ItIsASecret' |
|||
| ⚫ | |||
== On new "Distributed Switch Architecture" versions == |
== On new "Distributed Switch Architecture" versions == |
||