Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 netmask 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?

share|improve this question
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.

share|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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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