vlan for linux

recompile your kernel if needed, or load module '8021q'

install vconfig:

emerge -av vconfig
apt-get install vlan
yum install vconfig

After install and reboot, the dmesg should show this:

        802.1Q VLAN Support v0.10  Ben Greear <greearb@candelatech.com>
        vlan Initialization complete.

Now, bring eth0 up with no untagged adress:

   ifconfig eth0 0.0.0.0 up

add the wlan with tag id 2

   vconfig add eth0 2

now you should be able to config the vlan interface

   ifconfig eth0.2 192.168.0.1
Dette indlæg blev udgivet i Knowledge Base, Linux, Old Base. Bogmærk permalinket.

Skriv et svar