demand dialing vs. the other demand dialing

demand dialing vs. the other demand dialing

Post by Alan Cur » Wed, 03 Mar 1999 04:00:00



Has anyone successfully used the pppd "demand" option, or is it considered a
joke and diald the True Way?

Does "pppd demand" randomly eat all your existing routes, effectively turing
off the ethernet device, or am I seeing things?
--
Alan Curry    |Declaration of   | _../\. ./\.._     ____.    ____.

--------------+save some time): |  \__/   \__/     \___:    \___:
 Linux,vim,trn,GPL,zsh,qmail,^H | "Screw you guys, I'm going home" -- Cartman

 
 
 

demand dialing vs. the other demand dialing

Post by Steven Syke » Thu, 04 Mar 1999 04:00:00




> Has anyone successfully used the pppd "demand" option, or is it considered a
> joke and diald the True Way?

> Does "pppd demand" randomly eat all your existing routes, effectively turing
> off the ethernet device, or am I seeing things?

I think you're seeing things cos it works fine for me! I'm using 2.3.35
of pppd with demand enabled.

Cheers,

--
Steven

Newsletter editor and Webmaster of WACC - Wellington Acorn Computer Club
WACC pages: http://www.paradise.net.nz/~pbrowne/WACC/
Phone: (03) 358-5601 or (025) 908-448
My pages: http://www.paradise.net.nz/~acorn/

... We all live in a yellow subroutine.

 
 
 

demand dialing vs. the other demand dialing

Post by Alan Cur » Thu, 04 Mar 1999 04:00:00






>> Does "pppd demand" randomly eat all your existing routes, effectively turing
>> off the ethernet device, or am I seeing things?

>I think you're seeing things cos it works fine for me! I'm using 2.3.35
>of pppd with demand enabled.

OK, here's what happens: at boot time, the loopback and ethernet devices are
ifconfiged and routed. A blanket masq rule is added with ipfwadm. The local
network works. Other local machines can be pinged. Then comes the
"pppd demand defaultroute" (which lots of other options too but those are the
big ones) and pings across the ethernet stop working. The local route is
still in the routing table, but nothing makes it through. killing pppd causes
the local net to start working again.

If I send a ping out to the world to force pppd to dial, it works, and after
the connection is established, the ethernet starts working again. But that's
not helpful because I want the masqueraded boxes to be able to trigger the
initial dialing.

It sure looks like pppd eats all routes while it's waiting for a demand dial.
--
Alan Curry    |Declaration of   | _../\. ./\.._     ____.    ____.

--------------+save some time): |  \__/   \__/     \___:    \___:
 Linux,vim,trn,GPL,zsh,qmail,^H | "Screw you guys, I'm going home" -- Cartman

 
 
 

demand dialing vs. the other demand dialing

Post by Scott Alft » Fri, 05 Mar 1999 04:00:00




>OK, here's what happens: at boot time, the loopback and ethernet devices are
>ifconfiged and routed. A blanket masq rule is added with ipfwadm. The local
>network works. Other local machines can be pinged. Then comes the
>"pppd demand defaultroute" (which lots of other options too but those are the
>big ones) and pings across the ethernet stop working. The local route is
>still in the routing table, but nothing makes it through. killing pppd causes
>the local net to start working again.

Are you using private IP addresses (192.168.x.y) for your LAN?  If you're
not, it could cause some weird problems.  I have my three machines set up as
192.168.100.1 (a K6-200 running Linux, ip-masq, and diald), 192.168.100.2 (a
K6-2-300 running Win98 connected by Fast Ethernet), and 192.168.100.3 (an
Apple IIGS connected by PPP to a serial port on the Linux box), and
communication between any of the three works whether the dial-up 56K link is
up or down.  Traffic on your local network shouldn't be affected by the
dial-up link.

  _/_
 / v \
(IIGS(  Scott Alfter (salfter at (bitte keine Spam) delphi dot com)
 \_^_/  http://people.delphi.com/salfter

 
 
 

demand dialing vs. the other demand dialing

Post by Alan Cur » Sat, 06 Mar 1999 04:00:00





>Are you using private IP addresses (192.168.x.y) for your LAN?  If you're
>not, it could cause some weird problems.  I have my three machines set up as
>192.168.100.1 (a K6-200 running Linux, ip-masq, and diald), 192.168.100.2 (a

                                                     ^^^^^
Did you read the original post? I'm trying to use the pppd "demand" option.
This is not diald. I suspect that is what is causing it to*up. Hearing
examples from a diald user is not helping, except to push me toward diald,
but for that to happen I'd like to hear someone say "Yes I had this problem
with pppd demand and switching to diald fixed it."

Quote:>K6-2-300 running Win98 connected by Fast Ethernet), and 192.168.100.3 (an
>Apple IIGS connected by PPP to a serial port on the Linux box), and
>communication between any of the three works whether the dial-up 56K link is
>up or down.  Traffic on your local network shouldn't be affected by the
>dial-up link.

Of course it shouldn't. But it is.

--
Alan Curry    |Declaration of   | _../\. ./\.._     ____.    ____.

--------------+save some time): |  \__/   \__/     \___:    \___:
 Linux,vim,trn,GPL,zsh,qmail,^H | "Screw you guys, I'm going home" -- Cartman

 
 
 

1. Dial on demand ALWAYS DIAL! HELP!

I've got this slakware 7.0 comp set up with pppd 2.3.10 with
dial-on-demand as a gateway for my LAN

But I've got this HUGE problem..

Always when I bot my linux Red Hat 6.0 comp, it makes dial-on-demand
dial! Just by booting! And it doesn't matter if a turn ppp-off to stop
it from dialing. When I start pppd :[IP of my ISPs DNS]  on my slak box
again, it immediately starts dialing! After like 11-12 minutes it
suddenly disconnects (as I write this) "due to lack of activity" (but I
configured dial-on-demand to disconnect after 3 minutes...)

This is what tcpdump keeps saying non-stop when it is online. If offline
(with the help off ppp-off) there is a IP address instead of the server
name.
01:15:16.004950 mycomp.mydomain.com.1024 > j.root-servers.net.domain:
3866 NS? . (17)
01:15:24.004956 mycomp.mydomain.com.1024 > m.root-servers.net.domain:
3866 NS? . (17)
01:15:32.004949 mycomp.mydomain.com.1024 > E.ROOT-SERVERS.NET.domain:
3866 NS? . (17)
etc...

During boot, the gateway starts dialing somewhere between modules are
initalized and shortly after the interfaces (lo and eth0) are
configured. Everything goes rather fast during boot so I can't really
tell what makes the pppd deamon dial.

Whatever it is I want to stop it..

Any sugestions? comments?

Thanx!

/Martin

Please e-mail me if possible. My newsreader will not take more than 100
new msgs... (it is a drag to reconfigure it)

2. SCSI tape, input/output error

3. Dial on Demand and Dial-In

4. browsermatch in Apache question

5. Dial on Demand keeps Dialing

6. Forcing mail to use emacs

7. pppd demand; dialing and dialing

8. Linux vs. iBook 700MHz?

9. PPPD demand keeps dialing and dialing

10. ISDN Dial-On-Demand: Can't Stop dial with arp packets...

11. PPP problems - "Dial on Demand" won't dial

12. linux 2.018/kerneld/PPP dial on demand: 'network unreachable' then starts dialling

13. demand dialing PPPD always dials upon start