VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
5 Replies Last post: Jun 27, 2009 7:52 AM by relegated  

Debian guest NIC IP keeps changing posted: Jun 26, 2009 1:35 PM

Click to view relegated's profile Novice 8 posts since
Jun 26, 2009

I have a Debian 5 guest running on ESXi 3.5 and for some reason, at random it changes its IP from what I defined it as (192.168.0.201) to 192.168.0.107 for some reason. I don't know if this is due to a misconfiguration in the guest, something to do with the VMware NIC, or what. I'm not sure exactly where to start in terms of finding the root cause, can anyone give me some suggestions. Not sure exactly where to check to see maybe if I have Debian misconfigured or maybe there are two NICs there or something.

Anytime this occurs I do /etc/init.d/networking restart and it switches back ot the correct IP address.

Re: Debian guest NIC IP keeps changing

1. Jun 26, 2009 2:34 PM in response to: relegated
Click to view athlon_crazy's profile Expert 524 posts since
Oct 28, 2007
It's happened previously on one of my Linux guest machines when I forgot to turn off dhcp client service on this machine. Make sure permanently turn off this service.


vcbMC-1.0.6 Beta
vcbMC-1.0.7 Lite
http://www.no-x.org

Re: Debian guest NIC IP keeps changing

3. Jun 26, 2009 2:52 PM in response to: relegated
Click to view athlon_crazy's profile Expert 524 posts since
Oct 28, 2007

check your /etc/network/interfaces (debian always check this file when reboot)

make sure it's something like this "iface eth0 inet static"

or you can kill using /etc/rc.d/rc.local

killall dhcp or dhcpcd or dhcp-client

vcbMC-1.0.6 Beta
vcbMC-1.0.7 Lite
http://www.no-x.org

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities