All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Luis Domingo Lopez <lartc@24x7linux.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Private Address Routing via Tunnels
Date: Sun, 01 Feb 2004 22:10:43 +0000	[thread overview]
Message-ID: <20040201221043.GB8937@localhost> (raw)
In-Reply-To: <20040201170938.GC87073@newred.gradwell.net>

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@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2004-02-01 22:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-01 17:09 [LARTC] Private Address Routing via Tunnels Alan Ford
2004-02-01 22:10 ` Jose Luis Domingo Lopez [this message]
2004-02-02 11:26 ` Alan Ford
2004-02-03  0:19 ` Jose Luis Domingo Lopez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040201221043.GB8937@localhost \
    --to=lartc@24x7linux.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.