Bzim n00b
Joined: 01 Nov 2016 Posts: 1
|
Posted: Tue Nov 01, 2016 11:50 am Post subject: Gentoo Handbook/Networking - vlan tagging |
|
|
Hello.
I propose to add some more details to the section "VLAN (802.1q support)" in the Gentoo Handbook/Networking.
Using the interface from the example I would have to add the following in '/etc/conf.d/net' to make it work:
config_eth0="0.0.0.0/0"
Furthermore the syntax might be more easy to understand if the vlans are not a progressing number.
This makes more clear, that the digit following the last underscore in 'config_eth0_' is actually the vlan number not an index.
As full example:
config_eth0="0.0.0.0/0"
vlans_eth0="5,8"
config_eth0_5="172.16.3.1 netmask 255.255.254.0"
routes_eth0_5="default via 172.16.3.254"
config_eth0_8="172.16.2.1 netmask 255.255.254.0"
routes_eth0_8="default via 172.16.2.254" |
|