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

Re: No DHCPOFFERS received



On Mon, 2002-10-14 at 15:45, Cuno Sonnemans wrote:
> Mark Janssen heeft geschreven:
> >Change /etc/network/interfaces, and change the config there (see man
> >interfaces)
> >
> >It should look something like this:
> >
> >interface eth0 inet static
> >	address x.x.x.x
> >	network x.x.x.x
> >	netmask 255.255.255.0
> >
> mmm, what should I fill in at the x.x.x.x, I'am a newbie you know !!

That's for you to decide... I assume the network is connected to your
cable modem. You need to make sure the network addresses on the cable
modem, and the pc(s) that need to connect to it are in the same network
range:

Example: modem: 10.0.0.138 (like adsl in .nl)
pc: 10.0.0.150

interface eth0 inet static
	address 10.0.0.150
	network 10.0.0.0
	netmask 255.255.255.0

Network should be the same as the address, only with a 0 in the end.
Netmask should be 255.255.255.0. (This is not the whole truth, before
people start correcting me, but it will do in this case).

For more info, check the networking howto's.

Network ranges you can safely use at home include:
10.x.y.z (fill in whatever you want for x and y, your network has
anything in z)
192.168.x.y (fill in whatever for x, your hosts use y)


-- 
Mark Janssen -- maniac(at)maniac.nl -- GnuPG Key Id: 357D2178
Unix / Linux, Open-Source and Internet Consultant @ SyConOS IT
Maniac.nl Unix-God.Net|Org MarkJanssen.org|nl SyConOS.com|nl



Reply to: