Advertisement
xiebozhi

Updated Gentoo VLAN Config (/etc/conf.d/net)

Nov 17th, 2011
1,375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.41 KB | None | 0 0
  1. #eth0 must be up for the vlan
  2. #modules=( "dhcpcd" )
  3. #config_eth0=( "null" )
  4.  
  5. vlans_eth0="2"
  6. vlan2_name="vlan2" #same as VLAN_PLUS_VID_NO_PAD
  7.  
  8. config_vlan2=( "x.x.x.x netmask 255.255.248.0" )
  9. routes_vlan2=( "default via y.y.y.y" )
  10. dns_servers_vlan2=( "z.z.z.z" "d.d.d.d" )
  11. dns_domain_vlan2="win.winthrop.edu"
  12. dns_search_vlan2="win.winthrop.edu winthrop.edu"
  13.  
  14. vlan_start_eth0="yes"
  15. #rc_need_vlan2="net.eth0"
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement