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

Re: Switching from dynamic IP to static IP



 --- Tong <mlist4suntong@yahoo.com> wrote: 
> Hi, 
> 
> My IP get changed by my router from time to time,
> and there is no way to
> assign a fixed IP from the router side. 
> 
> So I need to switch from dhcp to static IP. 
 
> However, I found that the file
> /etc/sysconfig/network does not exist in
> Debian. What files should I change in Debian?
> Thanks.

/etc/network/interfaces

change 'dhcp' to 'static'

then add

address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx

:)

--
Matt


	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com



Reply to: