Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Handbook/Networking - vlan tagging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback
View previous topic :: View next topic  
Author Message
Bzim
n00b
n00b


Joined: 01 Nov 2016
Posts: 1

PostPosted: Tue Nov 01, 2016 11:50 am    Post subject: Gentoo Handbook/Networking - vlan tagging Reply with quote

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"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum