[plug] default gateway on dhcp client

John Breen locutus at borg.apana.org.au
Mon Mar 4 11:55:25 WST 2002


no, yes, and no.

i believe dhcpd will generally refuse to run if you leave off the
semicolons?

On Mon, 2002-03-04 at 11:48, Michael Hunt wrote:
> I don't know if you have left off the semi colon in your post or if you
> don't have one in you config file. Try adding one to the end and see if that
> helps.
> 
> Otherwise everything else says your doing it correctly and I have a similar
> (Linux gateway-dhcp server/Linux workstation) that this works for,
> 
> Michael Hunt
> 
> > -----Original Message-----
> > From: John [mailto:wombat at borg.apana.org.au]On Behalf Of John Breen
> > Sent: Monday, 4 March 2002 10:25 AM
> > To: plug at plug.linux.org.au
> > Subject: [plug] default gateway on dhcp client
> >
> >
> > i have a dhcp server and a dhcp client on my network.  the client gets
> > its address and all fine, but i find i have to manually add a default
> > gateway after it's done that.  anyone know how to make the dhcp client
> > add a default gateway?
> >
> > the dhcp server config has somewhere in it
> >
> > option routers 192.168.0.1
> >
> > and the client adds this route ok.  what it doesn't do is add a gateway,
> > so i have to enter
> >
> > route add default gw 192.168.0.1
> >
> > after startup.  this is annoying, but atm the only thing i can see to
> > try is to put the command in the /etc/init.d/networking script. (i'm
> > running debian, so that's where it is)
> >
> > anyone got any other ideas?
> >
> > cheers,
> >
> > john breen
> >
> >
> >
> >
> 
> 



More information about the plug mailing list