stephenrlouie / PXE-Boot-VM

A Vagrant file to set up a PXE boot. (DHCP, TFTP, Apache, Provisioner = Virtualbox)
25 stars 7 forks source link

NAT Network Internet Accessibility for nodes #1

Closed stephenrlouie closed 8 years ago

stephenrlouie commented 8 years ago

On a virtualbox NAT. Won't have internet access

danehans commented 8 years ago

@stephenrlouie so I understand this corrrectly, using a vbox nat network does not allow the gem managed nodes to hit the Internet?

stephenrlouie commented 8 years ago

It doesn't always allow the gem managed nodes to hit the internet. I cannot find where or why some machines cannot wget www.google.com.

The interface comes up and gets an IP. Its odd because they can often resolve the domain name to an IP, just not connect to the server.

I tried a bridged adapter but that did not seem to fix anything either.

danehans commented 8 years ago

OK. I think this is the highest priority fix for all the vagrant stuff you've been doing. Try leveraging community resources for support if you get nowhere in the next day.

stephenrlouie commented 8 years ago

Was setting a default route on the internal network and the NAT. Updated the dhcpd.conf to not provide an option-router, now the NAT is the only default route.

Commit