Vlan will not work
I have one ethernetcard. I have one official ip on this and also want a tagged vlan on it. The official ip is working, but the tagged vlan does not work. Can you have both an untagged and a tagged vlan on one card?
The vlan is configured in ifcfg-vlan3 like this: DEVICE=eth0.3 BOOTPROTO=static BROADCAST=192.168.182.255 IPADDR=192.168.182.2 NETMASK=255.255.255.0 NETWORK=192.168.182.0 ONBOOT=yes VLAN=yes However this is not working. Any ideas why? |
You need to change your interface file to ifcfg-eth0.3 ifcfg-vlan3 uses a different syntax
|
this is the syntax for ifcfg-vlanX
Code:
VLAN=yes |
I have tried that, but it didn't work either. However when I tried using a second ethernetcard it worked fine.
|
I have heard that drivers for some cards do not support VLAN's
|
dot1q on Ethc
Hello!
I'm using Debian etch on a Dell PE1850 server with Intel PRO/1000 eth interface (eth0). I have to use some VLANs on this if. 1. I build a kernel supporting 802.1Q 2. I installed the package named vlan 3. I created VLANs (vconfig add eth0 800, ...) But it doesn't work. I've sniffed the eth0 with wireshark but there is no vlan header betweeb Ethernet and IP header. I tried to set the flag to 0 but there was an error: szvd:/proc/net/vlan# vconfig set_flag eth0.800 0 ERROR: trying to set flag on device -:eth0.800:- error: Invalid argument I don't have mode idea.. |
What state is interface eth0 ? Please, post your ifconfig.
|
eth0 is up
Code:
szvd:~# ifconfig eth0 |
I have got Debian Etch too. VLANs is working wonderful.
Code:
cat /proc/net/vlan/config Code:
vconfig set_name_type [name-type] |
All times are GMT -5. The time now is 11:58 AM. |