Routing Problem with pppd default route option.

Routing Problem with pppd default route option.

Post by Patrick Grave » Wed, 19 Aug 1998 04:00:00



I have a problem with pppd using a default route on the linux box that I
am using as a ip masquerading box for my local area network.  It's
really more of an inconvience.  If I don't have a connection established
to my isp, a substantial delay occurs when I try to establish a ftp or
telnet connection between 2 linux boxes on my local area network (both
these boxes have a route for the local network and a default route to
the ip-masquerading box).

I know this has something to do with routing, because if i have pppd set
up for demand dialing, my masquerading box dials out when i try to
connect between these two LOCAL machines.

Any ideas on how I can get rid of this problem (other than keeping my
link up all the time) would be greatly appreciated.

J. Patrick Graves

 
 
 

Routing Problem with pppd default route option.

Post by Clifford Ki » Wed, 19 Aug 1998 04:00:00


Hi-

Given that I don't know beans about masquerading, I would first make
sure that the local IPs are in the /ect/hosts file on both boxes.

Then I would look in /etc/hosts.conf and make sure there was a line
  order hosts, bind
and not
  order bind, hosts
which might cause this kind of problem.

===


>I have a problem with pppd using a default route on the linux box that I
>am using as a ip masquerading box for my local area network.  It's
>really more of an inconvience.  If I don't have a connection established
>to my isp, a substantial delay occurs when I try to establish a ftp or
>telnet connection between 2 linux boxes on my local area network (both
>these boxes have a route for the local network and a default route to
>the ip-masquerading box).

--
Clifford Kite                                              Not a guru. (tm)


 
 
 

Routing Problem with pppd default route option.

Post by Patrick Grave » Sun, 23 Aug 1998 04:00:00


Resolved my problem.

Running tcpdump on the gateway machine showed that a message tagged with
rip-resp was was causing the delay.  Assuming that the rip was Rouoting
Internet Protocol, I looked closer at gated and found that my gated.conf
file was a empty file (i.e. it han no rules in it).  After copying
/etc/gated.conf.sample to /etc/gated.conf, my problem went away.  ARP still
causes my connection to go up, but won't hang a request to a local machine.

jpg

 
 
 

1. routed kills default route from pppd

Hello out there,

I have an Ultra 1 with Solaris 9 (12/02). I'm trying to make it a DSL
router. pppd sets a default route to the dynamic IP it gets from the ISP
during dialup.
But after a few minutes the default route vanishes.
Since in.routed gives some strange messages on the console (saying file
exists or the like), I killed it before running pppd and now the default
route stays alive.
So in.routed really seems to kill the default route. I tried to put all
possilbe "no*" options into /etc/gateways but it did not help.

Now the question is:

How can I configure in.routed to leave to default route alone?
Do I need in.routed on a DSL router?

Many thanks in advance,
Lothar

--



2. setting up nn w/ NNTP

3. pppd not setting up default route in routing table

4. End user testing of various patches...

5. diald routing problem, no default route for ppp0 with correct gateway

6. Xterm escape sequence

7. 2 internet access and default route routing problem

8. New Oracle Sun computer with a small OS

9. NEWBIE: Routing problem with extra default route

10. route problem: route forgot to specify route netmask.

11. Routing problem with source-based routing and routing packets back to sender machine.

12. defunct routes (was Re: multiple default routes appear in solaris 2.5.1)

13. routed adds wrong default route