On Wed, 10 May 2000, Rajiv Ghai wrote:

> I am trying to set up the following configuration
> ppp0---->linuxbox1--(192.168.0.31 eth0)---->(192.168.0.30
> eth0)--->linuxbox2----->ppp0---->internet
> 
> Now after connecting to Linux Box1 via  ppp0 I have gave the route -n
> command and got the following results:
> Linuxbox1
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.0.31    0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> 192.168.0.30    0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> 192.168.0.21    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         192.168.0.31    0.0.0.0         UG    0      0        0 eth0
> -----------------------------
> I can ping 192.168.0.31 but not 192.168.0.30 

At first, it's a better idea to use different IP networks (or at least
subnets) for different links (i.e. one net/subnet for eth, one for ppp).
Right now you're using the same network (192.168.0.0/24) for both
interfaces.

> When I connect to Linuxbox2 using ppp1 (not shown above) and do a route -n,
> I get the following results: 
> Linuxbox2
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.0.31    0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> 192.168.0.30    0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> 192.168.0.1     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 192.168.0.21    0.0.0.0         255.255.255.255 UH    0      0        0 ppp1
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
> 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 ppp0 

This is screwed up. :)

Question, even before we continue: you mentioned one PPP connection per
server, but here you have two PPP links. What's this other link for??

Regards,
Ivan


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

Reply via email to