With upgrade of VMWare Player I suddenly found my Debian Lenny VM not getting IP address. Some DHCP issue maybe, I don't know. So I have to set it manually every boot in Player window, via:

ifconfig eth0 down
ifconfig eth0 192.168.175.128 netmask 255.255.255.0 up

I usually start up VM and then connect to it via SSH, so this procedure bothers me. Sure I can add it to startup script, but is there some special place to enter these values? Like, some config file or so?

link|improve this question

feedback

1 Answer

up vote 3 down vote accepted

I think the values you're looking for are configured in the /etc/network/interfaces file.

See this resource regarding static networking configuration.

link|improve this answer
Okay, will try now. – Kuroki Kaze Mar 17 '10 at 12:41
Works like charm, thanks :) – Kuroki Kaze Mar 17 '10 at 12:45
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.