Thanks Mark for this suggestion. However, if you look at the netstat output
I included in my first post, you can see on the Diald gateway the last line
is routing default traffic to the tap0 interface. But, since it worth to try, I
tried your suggestion and made the change in order to have the G flag
up in the routing table without any success.
It still working when I do, for example, a ping on the gateway itself to the
outside world, but it still doesn't when I do the same thing (the ping,
of course) on a client.
Any other suggestions and/or hints? Any tools I can use to diagnosis
this problem?
Regards,
Daniel
Le lun, 17 avr 2000, vous avez �crit :
> What happens if you 'route add default gw 192.168.0.1' on the gateway so that tap0
>is the gateway interface?
>
> Daniel Savard wrote:
>
> > I am having diald working properly while connection is initiated from the
> > machine on which diald resides.
> >
> > However, when I am trying to bring up the link automatically from a client
> > request, it won't work as expected.
> >
> > Here are the routing tables for the client, the diald gateway before a
> > connection is made and after I bought up the connection from the gateway itself.
> >
> > Also included is the syslog output in the messages file. I am using RedHat 6.1,
>but I don't think it matters much...
> >
> > BTW, after the link is up, everything works fine for the client to access the
> > external network using the ppp link.
> >
> > Any hints or help will be greatly appreciated to solve this issue.
> >
> > --------------------------------------------------------
> > Routing table on the diald gateway while the link is down:
> >
> > Kernel IP routing table
> > Destination Gateway Genmask Flags MSS Window irtt Iface
> > 192.168.0.1 * 255.255.255.255 UH 0 0 0 tap0
> > 10.1.1.2 * 255.255.255.255 UH 0 0 0 eth0
> > 10.1.1.0 * 255.255.255.0 U 0 0 0 eth0
> > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> > default * 0.0.0.0 U 0 0 0 tap0
> >
> > Routing table on the diald gateway while the link is up:
> >
> > Kernel IP routing table
> > Destination Gateway Genmask Flags MSS Window irtt Iface
> > 207.253.206.6 * 255.255.255.255 UH 0 0 0 ppp0
> > 10.1.1.2 * 255.255.255.255 UH 0 0 0 eth0
> > 10.1.1.0 * 255.255.255.0 U 0 0 0 eth0
> > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> > default * 0.0.0.0 U 0 0 0 ppp0
> > default * 0.0.0.0 U 0 0 0 ppp0
> >
> > ---------------------------------------------------------------
> > Routing table on the client:
> >
> > Kernel IP routing table
> > Destination Gateway Genmask Flags MSS Window irtt Iface
> > 10.1.1.1 * 255.255.255.255 UH 0 0 0 eth0
> > 10.1.1.0 * 255.255.255.0 U 0 0 0 eth0
> > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> > default yukawa.cids.ca 0.0.0.0 UG 0 0 0 eth0
> >
> > syslog output:
> >
> > *****************************************************************************
> > Apr 16 13:55:44 yukawa diald[11093]: Using fifo /etc/diald/diald.ctl
> > Apr 16 13:55:44 yukawa diald[11093]: Proxy device established on interface tap0
> > Apr 16 13:55:45 yukawa diald[11093]: Diald initial setup completed.
> > Apr 16 13:56:00 yukawa diald[11093]: Trigger: udp 192.168.0.2/1024
>205.151.222.250/53
> > Apr 16 13:56:00 yukawa diald[11093]: Calling site 192.168.0.1
> > Apr 16 13:56:01 yukawa connect: Initializing Modem
> > Apr 16 13:56:02 yukawa connect: Dialing 5145992743
> > Apr 16 13:56:30 yukawa connect: chat: Apr 16 13:56:30 CONNECT
>45333/ARQ/V90/LAPM/V42BIS
> > Apr 16 13:56:30 yukawa connect: Loggin in
> > Apr 16 13:56:32 yukawa connect: Starting Comm Protocol
> > Apr 16 13:56:32 yukawa diald[11093]: connector: /etc/diald/videotron: [: PPP:
>binary operator expected
> > Apr 16 13:56:32 yukawa connect: Protocol started
> > Apr 16 13:56:32 yukawa diald[11093]: Connected to site 192.168.0.1
> > Apr 16 13:56:32 yukawa diald[11093]: Running pppd (pid = 11111).
> > Apr 16 13:56:35 yukawa modprobe: can't locate module char-major-108
> > Apr 16 13:56:36 yukawa pppd[11111]: pppd 2.3.10 started by root, uid 0
> > Apr 16 13:56:36 yukawa pppd[11111]: Using interface ppp0
> > Apr 16 13:56:36 yukawa pppd[11111]: Connect: ppp0 <--> /dev/ttyS1
> > Apr 16 13:56:39 yukawa pppd[11111]: local IP address 207.253.206.227
> > Apr 16 13:56:39 yukawa pppd[11111]: remote IP address 207.253.206.6
> > Apr 16 13:56:40 yukawa diald[11093]: New addresses: local 207.253.206.227, remote
>207.253.206.6, broadcast 0.0.0.0
> >
>************************************************************************************************************************************
> >
> > --
> > Daniel Savard
> > CIDS Inc.
> >
> > Courriel: [EMAIL PROTECTED]
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> > the body of a message to [EMAIL PROTECTED]
--
Daniel Savard
CIDS Inc.
Courriel: [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]