leroy on Tue, 29 Jan 2002 22:56:43 -0500 |
make sure you're running this command as the root user. if you are and it's still not finding the route command, you'll have to include the full path of route which would probably be /sbin/. so you would type: /sbin/route add -net 0.0.0.0/0 gw 192.168.0.1 stephen -- i hate crackerbarrel On Tue, 29 Jan 2002, Bill Patterson wrote: > 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 > > ______________________________________________________________________ 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
|
|