[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to fix ipaddress



On Thu,07.Jan.10, 09:47:56, J.H.Kim wrote:
> Hi, everyone
> 
> I want to use network in my office locally.
> Not connected to internet, I wish to do network in my office only.
> The network cable is connected with cross-cable to another computer.
> 
> 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
		  ^^^^^
Typing error or do you actually have this in the file? Anyway, network 
and broadcast are not really needed because they can be calculated from 
the address+netmask.

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

What Debian version are you running? There used to be a zeroconf
(or similar) package doing this. You might also try to purge 
network-manager and/or avahi-daemon.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: