fedora/centos/virtualbox IP problems
Hi, my main box runs F16 and I set up a Centos 6 VM using VirtualBox 4.2.6. My router is addressed as 10.1.1.1. When I first connect to the VM I get an IP address allocated by DHCP and I can ping the host (10.1.1.51). I want to give this box a static IP address though (10.1.1.71).
So I modify the ifcfg-eth0 as described in the attachment. I stop NetworkManager and restart network. Now though, I can not ping the host. I get an eror message "host unreacheable".
Here is the /sbin/ifconfig data for the host:
A couple of things to note:
Any thoughts appreciated. Cheers
When running virtualization SW in bridge mode for a virtualization guest to have it's own static IP the only thing to do commonly is to configure the LAN router to link the MAC address to an IP address so that when the virtualization guest asks for a DHCP lease, sending its unique MAC address, it will contain all the necessary network configuration. And while NetworkManager isn't required for it (all you need is a bare ethernet device configuration file, DHCP client and configuration file) you could configure it to just use DHCP and be done with it.
thanks unspawn. I am tinkering with virtualisation. DHCP will do
|All times are GMT -5. The time now is 09:20 AM.|