Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


vlan for linux

Author:black - Wed Jul 25 10:46:32 2007

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
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk