Bill Patterson on Tue, 29 Jan 2002 22:35:33 -0500


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

[PLUG] dhcp->static


On Sun, 2002-01-27 at 18:12, Bill Patterson wrote:
> Now that I've converted a dhcp to static, the box can no longer get to
> the Internet!  It can get to other machines on my own private net, but
> can't go through the DI704 gateway.  Any thoughts?

>Michael F. Robbins wrote:

>Make sure the default route is set to the IP address of the DI704 box.=20
>This is definately somewhere in linuxconf if that's what you are using.=20
>Anyway, to do it manually:

>route add -net 0.0.0.0/0 gw <ip.of.di.704>


But then I tried it

route add -ent 0.0.0.0/0 gw 192.168.0.1

and was told:
"bash: route: command not found"


I also tried putting a "gateway=192.168.0.1" statement into the ifcfg-eth0
file without success either, but perhaps I put that into the wrong file?

More help please?  Thanks.

Bill




______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug