I try to have a static ip adress on an host.
I execute the following commands :
$ ip address eth0 10.4.1.15 netmask 255.255.255.0 $ route add default gw 10.4.1.5
But later my IP address changes on
10.4.1.241 unless I have commented the request command in
dhcplient.conf and I have put into
/etc/network/interfaces the following:
iface eth0 inet static address 10.4.1.14 netmask 255.255.255.0 gateway 10.4.1.5
Please help me I don't understand why my ip changes ?
Thanks in advance.