Messages in this thread | | | Subject | Re: weird routing - 2.0.36 bug? | Date | Sat, 15 May 1999 21:26:56 +0300 | From | Olaf Titz <> |
| |
In article <Pine.GSO.3.96.990514122750.17102B-100000@ext1> you write: > None of the HOWTOs and O'Reilly guides indicate that this problem is even > possible. :) This is on kernel 2.0.36. Maybe a routing bug?
(the other message you included by mistake indicates that ppp over ssh is recommended in an O'Reilly book. Horror. Do you get decent performance out of that, or rather frequent hangs? If the latter, switch to CIPE. ;-)
> Destination Gateway Genmask Flags Metric Ref Use Iface > 10.0.1.254 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:0 > 207.15.208.16 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > 192.168.0.8 0.0.0.0 255.255.255.255 UH 0 0 2 ppp2 > 10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 182 eth0 > 10.10.10.0 192.168.0.8 255.255.255.0 UG 0 0 4 ppp2 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 62 lo > 0.0.0.0 207.15.208.16 0.0.0.0 UG 0 0 824 ppp0
Why do you assign a transit address to the ppp device? And why the alias device? That looks fishy to me. It should be enough to do this:
Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.1.254 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 10.10.10.254 0.0.0.0 255.255.255.255 UH 0 0 2 ppp2 207.15.208.16 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 182 eth0 10.10.10.0 10.10.10.254 255.255.255.0 UG 0 0 4 ppp2 0.0.0.0 207.15.208.16 0.0.0.0 UG 0 0 824 ppp0
where .254 is the address of the VPN router on both the ethernet and the VPN device. I.e. it looks like this
ISP ISP ^ ^ | | |ppp0,207.* 207.*,ppp0| router1--------------ppp2,10.0.1.254<<<>>>>10.10.10.254,ppp2----router2 |eth0,10.0.1.254 tunnel 10.10.10.254|eth0 | | v v local network local network 10.0.1/24 10.10.10/24
Olaf
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |