Differences
This shows you the differences between two versions of the page.
|
doc:uci:network:switch [2012/11/11 12:13] xennex clarified vlan id 0 |
doc:uci:network:switch [2012/12/20 13:46] (current) macer |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Switch Documentation ====== | ====== Switch Documentation ====== | ||
| - | FIXME: This version of the page assumes you know what this is and why you want it. (Someone please add info or another page and a link). | + | FIXME: This page assumes you know what this is and why you want it. (Someone please add info or another page and a link). |
| - | If your device has more than 1 port, it may contain a special connection between the diffrent ports called **switch**. Most likely the internals may look like in the following picture | + | If your device has more than 1 LAN port, it may contain a special connection between the different ports called **switch**. Most likely the internals may look like in the following picture |
| {{:oldwiki:openwrtdocs:asus-internals-default.png}} | {{:oldwiki:openwrtdocs:asus-internals-default.png}} | ||
| Line 98: | Line 98: | ||
| config 'interface' 'wan' | config 'interface' 'wan' | ||
| - | option 'ifname' 'eth0' | + | option 'ifname' 'eth0.2' |
| - | option 'proto' 'dhcp' | + | option 'proto' 'pppoe' |
| + | option 'username' 'szabozsolt-em' | ||
| + | option 'password' 'M3IuWBt4' | ||
| </code> | </code> | ||
| Of course, if you only had a five port switch on eth0 (and no other interfaces), you might make the ''wan'' interface ''eth0.1'' and and the lan ''eth0.0'' with appropriately matching ''switch'', ''switch_vlan'' and ''switch_port'' sections. | Of course, if you only had a five port switch on eth0 (and no other interfaces), you might make the ''wan'' interface ''eth0.1'' and and the lan ''eth0.0'' with appropriately matching ''switch'', ''switch_vlan'' and ''switch_port'' sections. | ||
doc/uci/network/switch.1352632418.txt.bz2 · Last modified: 2012/11/11 12:13 by xennex
