esxi and freebsd vlans

Sebastiaan van Erk sebster at sebster.com
Mon Apr 20 16:03:19 UTC 2009


Hi,

I ran into the ESXi limit of 4 NICs per VM, so I figured I would work 
around this using FreeBSD's vlan devices.

I made 2 test installs with the following interface configuration:

test1:
ifconfig em0 inet 10.10.10.1 netmask 255.255.255.0
ifconfig vlan create
ifconfig vlan0 inet 192.168.1.1 netmask 255.255.255.0 vlan 22 vlandev em0

test2:
ifconfig em0 inet 10.10.10.2 netmask 255.255.255.0
ifconfig vlan create
ifconfig vlan0 inet 192.168.1.2 netmask 255.255.255.0 vlan 22 vlandev em0

I can ping the other machine using the 10.10.10.x IP address no problem, 
but the 192.168.1.x addresses don't work. I've tried setting the vlan id 
on the vSwitch to none and to 22, but in neither of the two cases does 
it work.

Does anybody have FreeBSD vlan's working on ESXi or know how to get it 
working?

Many thanks,
Sebastiaan van Erk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3328 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090420/4df79c32/smime.bin


More information about the freebsd-questions mailing list