X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fnetwork.txt;h=69dbaa60ba8f492c0875060b09b583173921fa48;hb=0531c4961b7217ff236c22d29744112d133327f0;hp=5610e1d6dae484e7eb6e272e46fd876a192cb5ae;hpb=e2b4e6a9873d6e53d5b51e527b58ea3a1aa60532;p=openwrt-10.03%2F.git diff --git a/docs/network.txt b/docs/network.txt index 5610e1d6d..69dbaa60b 100644 --- a/docs/network.txt +++ b/docs/network.txt @@ -45,6 +45,35 @@ PPP based protocols (pppoe, pptp, ...) accept these options: "," to the keepalive value demand: Use Dial on Demand (value specifies the maximum idle time) + + (pptp) + server: The remote pptp server IP For all protocol types, you can also specify the MTU by using the "mtu" option. + + + + Setting up the switch (currently broadcom only) + + +The switch configuration is set by adding a 'switch' config section. +Example: + + config switch eth0 + option vlan0 "1 2 3 4 5*" + option vlan1 "0 5" + +On Broadcom hardware the section name needs to be eth0, as the switch driver +does not detect the switch on any other physical device. +Every vlan option needs to have the name vlan where is the VLAN number +as used in the switch driver. +As value it takes a list of ports with these optional suffixes: + + '*': Set the default VLAN (PVID) of the Port to the current VLAN + 'u': Force the port to be untagged + 't': Force the port to be tagged + +The CPU port defaults to tagged, all other ports to untagged. +On Broadcom hardware the CPU port is always 5. The other ports may vary with +different hardware.