Hi,
I have recently set up a new server running Ubuntu 6.06 LTS, with the intention of consolidating our development systems on to a single machine. I configured several VLANS on the host machine and then tried to get vmware vmnet devices to bridge the vlans, however whenever I try it fails and the following output is printed to dmesg:
\[17181342.416000] bridge-vlan101: enabling the bridge
\[17181342.416000] bridge-vlan101: can't bridge with vlan101, bad header length 18
\[17181342.416000] bridge-vlan101: interface vlan101 is not a valid Ethernet interface
\[17181342.416000] bridge-vlan101: can't bridge with vlan101, bad header length 18
THe VLANS are all functioning correctly on the host machine, yet vmware server refuses to bridge them. Below is an example of my /etc/network/interfaces configuration for the vlan101 device:
auto eth0
iface eth0 inet static
address 213.133.65.142
netmask 255.255.255.240
gateway 213.133.65.131
\# see the "vlan-interfaces" man page for more info
\# on vlan configuration
\# vlan 101
auto vlan101
iface vlan101 inet static
vlan-raw-device eth0
address 192.168.112.40
netmask 255.255.255.0
gateway 192.168.112.1
I have tried also manually configuring the device from the command line using vconfig and found that VMware Server will bind to the vlan \*if* you do not bring the interface up, but it still doesn't work, because when you then try to power up the virtual machine it complains the ethernet device will not work until you bring the device up and prints the following to dmesg:
\[17180230.404000] bridge-vlan101: peer interface vlan101 not found, will wait for it to come up
\[17180230.408000] bridge-vlan101: attached
I checked the knowledge base and found the following:
which basically describes what I have already done, yet I still can not get this working! I really need to get VLAN's working on this server, as it is in our co-location facility and needs the virtual machines to be on different networks. If anyone has encountered this before and has any solutions that would be really helpful