2
I created a Virtual Machine (Linux Fedora) using Oracle VM VirtualBox . The ip address changes every now and then. I want to make it static in the VM.
Update : I was able to setup a static ip address for the VM that can be accessible from the host but now I lost internet connection in the linux VM .
Any ideas?
Thanks
1this is more of a linux question.. just allocate the poor linux a static ip. – None – 2012-07-30T22:22:05.550
how can I do that? I tried to change eth0 and it did not work. – None – 2012-07-30T22:27:36.887
or do you mean the external ip allocated to the vm? you can do that by editing the "network card" from the VM device options. – None – 2012-07-30T22:31:26.497
can you be more specific. I can't see that option – None – 2012-07-30T22:46:26.183
well i dont have virtualbox installed currently , but somewhere there in the gui you can configure the virtual network card and somehow it was possible to use different modes of operation like using the host ip, using a natted ip, using a local ip , or getting one via dhcp and so-on. – None – 2012-07-30T22:48:28.300
well thanks for you help but it's not that easy. thanks anyway – None – 2012-07-30T23:34:26.083
yeah that's pretty easy - just configure DHCP server and than configure fixed ip leases based on MAC Addresses ;) – hovanessyan – 2012-07-30T23:48:49.610
I did that it worked for a bit then when I restarted the VM other IP was attributed on DHCP Server ... – Ricardo Parro – 2012-07-31T00:02:37.767