This builds vconfig, which is used for configuring VLAN/802.1g networking. The kernel must be configured to support this as well; support has been in the main kernel tree since 2.4.14.
Created attachment 4806 [details] ebulid for vlan-1.6
Created attachment 4807 [details, diff] Makefile fixes fix CFLAGS
Minor oops: change the dobin in the ebuild to dosbin
*** Bug 5371 has been marked as a duplicate of this bug. ***
*** Bug 9809 has been marked as a duplicate of this bug. ***
Created attachment 5140 [details] vlan-1.6.ebuild I combined the best of our two ebuilds for vlan. Hope this is helpful.
Created attachment 5141 [details] Updated /etc/init.d/net.eth0 with VLAN support Here's an updated version of net.eth0 for starting up the network with vlans. My /etc/conf.d/net looks like this: # bring up interface with no IP iface_eth0="up" # VLANs on this interface iface_eth0_vlans="20 100 500" # VLAN-specific configuration (passed to ifconfig) iface_eth0_500="dhcp" iface_eth0_20="172.16.1.12 broadcast 172.16.1.255 netmask 255.255.255.0" iface_eth0_100="172.16.0.7 broadcast 172.16.0.255 netmask 255.255.255.0"
db fix