> I set /etc/network/interfaces as follows : > auto lo > iface lo inet loopback > allow-hotplug eth0 > iface eth0 inet static > address 192.168.0.7 > netmask 255.255.255.0 > network 192.168.0.0 > broadcaset 192.168.0.255 > gateway 192.168.0.1 > dns-nameservers 192.168.0.1 > dns-search kornet > > > Sometimes ip address is set to 192.168.0.7. > But somtimes ip address is set to 169.254.171.33 > which is not set by me, and I don't konw why that address > is set to my ip address. > I want to set my ipaddress 192.168.0.7 always.
Try changing allow-hotplug eth0 to auto eth0 That seems more reliable (subjectively). Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org