From: Guy Van Den Bergh <guy.vandenbergh@pandora.be>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Tunnel problem
Date: Mon, 19 Mar 2001 00:04:12 +0000 [thread overview]
Message-ID: <marc-lartc-98496047522946@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98488235413926@msgid-missing>
I think you also need a route to the tunnel remote address, via the
interface connected to the public internet. If your box does not know a
route to the tunnel remote end, it cannot setup the tunnel. As long as
you have a default route straight into the internet, connecting to the
remote end is no problem, but if you redirect this default route over
the tunnel, your router does not know anymore how to reach the tunnel
remote end.
If this is not working either, then I am out of suggestions...
Good luck!
Guy
David A. Bandel wrote:
> Guy Van Den Bergh wrote:
>
>> Have you brought the tunnel device up?
>> try: ip link set dev <tunneldevice> up
>>
>
> [snip]
>
> this is the _exact_ set of commands I used (comments in parens):
>
> ip tunnel add netmain mode gre remote 209.127.xxx.xxx local
> 200.46.xxx.xxx ttl 225 (note, I actually put ip numbers, not xxx in the
> command)
>
> ip link set netmain up (and it shows as up with ifconfig, ip tunnel
> show, etc. -- if I set it down, the error I get has to do with the
> device or route not up)
>
> ip addr add 10.0.3.0 dev netmain
>
> ip route add 0/0 dev netmain (and here I get, depending on what else
> I've done, a route that doesn't work, or an error, usually network not
> reachable)
>
> Final line in the route -n command looks like:
> 0.0.0.0 0.0.0.0 0.0.0.0 UG 1 0 0 netmain
>
> note the second 0.0.0.0 -- that's wrong. And I can't ping, traceroute,
> or otherwise get anywhere.
>
> Ciao,
>
> David A. Bandel
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
prev parent reply other threads:[~2001-03-19 0:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-18 2:23 [LARTC] Tunnel problem David A. Bandel
2001-03-18 2:41 ` Guy Van Den Bergh
2001-03-18 15:03 ` Guy Van Den Bergh
2001-03-18 20:17 ` David A. Bandel
2001-03-19 0:04 ` Guy Van Den Bergh [this message]
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=marc-lartc-98496047522946@msgid-missing \
--to=guy.vandenbergh@pandora.be \
--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.