LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Ip always changing in hosts images (https://www.linuxquestions.org/questions/linux-networking-3/ip-always-changing-in-hosts-images-881818/)

xeon123 05-20-2011 10:01 AM

Ip always changing in hosts images
 
Hi,

I've 3 hosts images installed in virtualbox, that every time I reboot an image, the ip address change.

The 3 images are ubuntu.

I would like to configure these images in a way that, every time I reboot the images, I can access them by the name, and not by the ip.

How can I do that?

acid_kewpie 05-20-2011 10:21 AM

you'd need to have some form of dynamic DNS, which is not going to be fun. Either the DHCP server (is it DHCP??) needs to update the DNS server, or the client needs to. That's not nice I'd be sure there is a better solution.

xeon123 05-20-2011 10:41 AM

I solved by defining static ips in all hosts images.

Thanks anyway.


All times are GMT -5. The time now is 08:17 AM.