Sunday, March 20, 2016

FreeBSD Virtual Machine running jails and VIMAGE: Promiscuous mode

This one I got in the FreeNAS documentation: after setting up the VIMAGE jail in the FreeBSD version 10.1 running on top of VMware ESXi host, I was not able to connect to the internet from the jail. Using the FreeBSD VM host was normal, the internet connection was there. I've tried the below commands:

ping -c 2 google.com
nc -z -w 2 google.com 80

Later on I found this little comment on the FreeNAS documentation:

(...)If you are using VMware, make sure that the vswitch is set to “promiscuous mode”.

That's what I did, and voilá! Problem solved!


References:
https://doc.freenas.org/9.3/freenas_jails.html
https://forums.freenas.org/index.php?threads/no-internet-from-within-jail.38688/

No comments:

Post a Comment