You don't need a defaultroute for your own subnet.

For your case, and i asume your router routes between to different
subnet's, first route del default, then route add default gw router's-IP

In my case here at home I use my linux box to route all traffic from the
internet, but it doesn't have a defaultroute until pppd makes it, all
clients on my home net use the linux box as the default gateway. Actually
it's the same setup on valleynet, we (ouch!) use a serial connection to
another subnet for our i-net feed....pppd automatically adds the
defaultroute into the table when it makes the connection to the other box.


Dan

At 10:47 PM 3/31/98 -0800, [EMAIL PROTECTED] wrote:
>It comes up, but it sure takes forever.  Over a minute.
>
>Is there something in particular I should be looking for?  SHould it be
>taking so long?

>[EMAIL PROTECTED]
>03/31/98 10:46 PM
>Please respond to [EMAIL PROTECTED]
>
>To:   [EMAIL PROTECTED]
>cc:    (bcc: Joe Ferguson)
>Subject:  Re: Just can't connect (was: sendmail hangs...)
>
>Do a  "netstat -r" and "netstat -nr" and see if you have a default route.
>You
>should see something like:
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags   MSS Window  irtt
>Iface
>192.100.10.192  0.0.0.0         255.255.255.192  U      1500 0          0
>eth0
>127.0.0.0       0.0.0.0         255.0.0.0        U      3584 0          0
>lo
>0.0.0.0         192.100.10.253  0.0.0.0          UG     1500 0          0
>eth0
>If you can't ping other devices on your same subnet, it sounds like you
>don't
>have a default route.
>cheers

<snip> <snip> <snip>


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to