[PLUG] Browser won't browse

Jeme A Brelin jeme at brelin.net
Sun Apr 7 01:03:00 UTC 2002


On Sat, 6 Apr 2002, Richard Steffens wrote:
> > `route -n` should look something, if not exactly, like this:
> > 
> > Destination     Gateway         Genmask       Flags Metric Ref Use Iface
> > 192.168.0.0     0.0.0.0         255.255.255.0 U     0      0     0 eth0
> > 0.0.0.0         192.168.0.1     0.0.0.0       UG    0      0     0 eth0
> 
> This looks promising. Here's what I have:
> 
> Destination   Gateway   Genmask         Flags Metric Ref Use Iface
> 192.168.0.0   0.0.0.0   255.255.255.0   U     0      0     0 eth0
> 127.0.0.0     0.0.0.0   255.0.0.0       U     0      0     0 lo
> 
> Looks like a bit of configuration is wrong. What do I change to affect
> the second line?

Your second line is fine, that's just a route to the loopback device.

You need a NEW line that signifies a route to the outside world.

You can do this manually by adding a route as route.  The syntax is as
follows:
route add default gw 192.168.0.1

After adding that route, you'll have the following output from route -n:

Destination   Gateway     Genmask         Flags Metric Ref Use Iface
192.168.0.0   0.0.0.0     255.255.255.0   U     0      0     0 eth0
127.0.0.0     0.0.0.0     255.0.0.0       U     0      0     0 lo
0.0.0.0       192.168.0.1 0.0.0.0         UG    0      0     0 eth0

J.
-- 
   -----------------
     Jeme A Brelin
    jeme at brelin.net
   -----------------
 [cc] counter-copyright
 http://www.openlaw.org





More information about the PLUG mailing list