All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Kichukov <hijacker@oldum.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] routing in tunnel mode
Date: Tue, 23 Jan 2007 12:14:32 +0000	[thread overview]
Message-ID: <45B5FC28.5080708@oldum.net> (raw)
In-Reply-To: <20070122192113.GE20873@e-smith.com>

Hello there, it does not matter what type of network you are trying to 
reach, the Network unreachable error message suggests, that the router 
does not know on which interface(physical) to forward the packets with 
destination -net !

Before the lane you wrote, try this:
route add -net xx.xx.xxx.xxx dev YOURDEVICE

YOURDEVICE will be the device that the network is connected to the 
router via. If it is a sit tunnel, then YOURDEVICE = sit0.

HTH,
-Nikolay Kichukov

Michael P. Soulier wrote:
> Hello,
> 
> Looking here
> 
> http://www.ipsec-howto.org/x299.html
> 
> I've set up a vpn in transport mode with two linux boxes. I'm now trying to
> set it up in tunnel mode. After using the example keys, trying to ping, it
> doesn't work because the route network isn't routable. 
> 
> This mention is in the howto
> 
> "If you tunnel is not working, please check your routing. Your hosts need to
> know that they should send the packets for the opposite network to you vpn
> gateway. The easiest setup would be using your vpn gateway as default
> gateway."
> 
> But how does one set up a route like that, since the network is multiple hops
> away, the route command isn't going to accept it?
> 
> [root@vmware-espresso1 ~]# route add -net 172.16.113.0 netmask 255.255.255.0
> gw 10.33.15.145
> SIOCADDRT: Network is unreachable
> 
> Some help please. 
> 
> Mike
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2007-01-23 12:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-22 19:21 [LARTC] routing in tunnel mode Michael P. Soulier
2007-01-23 12:14 ` Nikolay Kichukov [this message]
2007-01-23 15:15 ` Michael P. Soulier

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=45B5FC28.5080708@oldum.net \
    --to=hijacker@oldum.net \
    --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.