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

Re: Routing problem




At 09:56 PM 10/21/98 -0600, you wrote:
>Your routers.txt didn't appear to make it through; all mine says is "in
>windoze 95, output of netstat -r".

  Doh, let me throw them in now:

In windoze 95 (output of 'netstat -r'):

Active Routes:

  Network Address          Netmask  Gateway Address        Interface  Metric
          0.0.0.0          0.0.0.0  208.158.152.131  208.158.152.131       1
        127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1       1
    208.158.152.0    255.255.255.0  208.158.152.131  208.158.152.131       1
    208.158.152.0    255.255.255.0   208.158.152.90   208.158.152.90       2
   208.158.152.90  255.255.255.255        127.0.0.1        127.0.0.1       1
  208.158.152.131  255.255.255.255        127.0.0.1        127.0.0.1       1
  208.158.152.255  255.255.255.255   208.158.152.90   208.158.152.90       1
        224.0.0.0        224.0.0.0   208.158.152.90   208.158.152.90       1
        224.0.0.0        224.0.0.0  208.158.152.131  208.158.152.131       1
  255.255.255.255  255.255.255.255  208.158.152.131  208.158.152.131       1


In Linux 2.0.35 (output of 'route') after I've dialed up:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
ppp-server2.cro *               255.255.255.255 UH    0      0        0 ppp0
208.158.152.0   *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        1 lo
default         ppp-server2.cro 0.0.0.0         UG    0      0        5 ppp0

>As far as I can tell from the hints in your message, you seem to have a
>local LAN with multiple subnets, as well as a modem.  Here's how I would
>set this up:

  Well, kinda.  my network card is not in use at the moment (i use it
occasionally or I'd take it out) so the only connection to the internet or
other computers for that matter is over the modem.

>First, set a route to the local subnet:
>
>  route add -net 208.158.152.0 dev eth0

>Does this help?  If not, try to describe the network you're on better. 
>Also, what distribution of Linux are you using?

  Actually this helped a great deal in me understanding routing a bit
better, the routing table entry:

208.158.152.0   *               255.255.255.0   U     0      0        0 eth0

was/is the culprit, as anything for my local subnet was getting sent to my
network card.  Sigh, I always seem to realize my mistakes AFTER I've asked
for help heh.  Ah well, thanks 8)

- Shadow  (who tries every month to get off work to go to luci  honest!  8)  )


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.