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

Re: /etc/network/interfaces help please



On Mon, Apr 09, 2001 at 05:51:17PM +0100, Rory Campbell-Lange wrote:
> I need to set my static IP address on startup to x.y.z.141. 
> My router is on x.y.z.1
> My network is on x.y.z.0
> 
> I'm confused about what I should be writing in the interfaces file.
> ifup gives the error: 
>     "/etc/network/interfaces: too many parameters for iface line"
>     
> for the line below.
> 
> iface eth0 inet static address 194.159.148.141 netmask 255.255.255.0 
> 
> Please help!

need to break that into separate lines--

	iface eth0 inet static
		address 192.168.1.1
		netmask 255.255.0.0
		network 192.168.1.0
		broadcast 192.168.1.255
		# gateway xx.yy.zz.qq

man interfaces

-- 
does a brain cell think?

will@serensoft.com
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!



Reply to: