Hello,

I finally got dial-on-demand with ppp-2.3.5 working - on  my machine. The
problem is that I'm using IP masquerading on our LAN, and that's far from
functional. In fact, as soon as I start pppd with my demand configuration,
nobody is able to connect to the Linux box anymore: No ping, no telnet, no
nothing.

Here's what my ppp/options file looks like:
>-------SNIP-------<
lock
defaultroute
noipdefault
modem
/dev/ttyS1
57600
crtscts
debug
passive
asyncmap 0
name "fiedler"
ipcp-accept-local
ipcp-accept-remote
0.0.0.0:10.10.10.10
demand
connect "/usr/sbin/chat -v -f /etc/ppp/pppscript"
>-------SNIP-------<

After booting the Linux box fresh, before starting pppd, the routing table
looks like this:
>-------SNIP-------<
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        7 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        1 lo
>-------SNIP-------<

After starting pppd with the above configuration file, it looks like that:
>-------SNIP-------<
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.10.10.10     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        8 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        1 lo
0.0.0.0         10.10.10.10     0.0.0.0         UG    0      0        0 ppp0
>-------SNIP-------<
At this stage, nothing works on the LAN.

After connecting to the net (usually by issung a 'ping www.somewhere.net'
on the Linux machine), it looks like this:
>-------SNIP-------<
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
207.207.199.27  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0       11 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        1 lo
0.0.0.0         207.207.199.27  0.0.0.0         UG    0      0        5 ppp0
>-------SNIP-------<

I guess I have to find a smart replacement for the '0.0.0.0:10.10.10.10'
line in my options file. I already tried the address of the Linux box and
the broadcast address - but nothing seemed to work.
Could someone please help me out here?

TIA,
Juergen


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to