debian lenny : problem modifying static ip

Posted by supertiti on Server Fault See other posts from Server Fault or by supertiti
Published on 2010-12-22T10:09:10Z Indexed on 2010/12/22 10:55 UTC
Read the original article Hit count: 190

Filed under:
|
|

hello all,

i'm trying to change a static ip assigned to a debian VM. I modified the /etc/network/interfaces file but my debian doesn't seem to like the new settings

currently the machine's ip is set to 192.168.1.136 and i want the machine's ip to be set to 192.168.1.8

here's my modified /etc/network/interfaces :

auto lo
iface lo inet loopback

allow-hotplug eth0

auto eth0
iface eth0 inet static
address 192.168.1.8
gateway 192.168.1.1
netmask 255.255.255.0

© Server Fault or respective owner

Related posts about linux

Related posts about debian