Re: Private Address Routing via Tunnels

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday, 01 February 2004, at 17:09:39 +0000,
Alan Ford wrote:

> My problem is routing from *public* addresses on network A to *private*
> addresses on network B, or vice versa. (Private <-> private is fine).
> 
The routing table on both gateways apply to all traffic that arrives to
them, so if traffic from one gateway's private network can reach the
other remote private network correctly, I think the same should happen
to the public IP ranges from both networks.

The IPIP tunnel should encapsulate whole packets inside newly created
ones, which will be using public IP addressing, in fact the tunnel is
working nice because you can reach from one private network to the other.

You should try to troubleshoot the problem with the usual tools, for
example ping, traceroute, "ip route get", tcpdump, ethereal, telnet, etc.

Try to see the path that take your packets, maybe they are not being
tunneled, maybe there is a route missing from some router, maybe just a
typo prevents it from working.

> Am I right in that assumption? If so, is policy routing the way to go
> there, or is there some other way?
> 
I don't think your setup needs policy routing to work ok, so first check
routing tables and do some tests to see where packets go and die :-)

Greetings.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.1-rc3)
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux