Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] gre tunnel question again
@ 2002-05-17  4:32 Vikas B. Wadhwani
  2002-05-17  7:16 ` Arthur van Leeuwen
  0 siblings, 1 reply; 2+ messages in thread
From: Vikas B. Wadhwani @ 2002-05-17  4:32 UTC (permalink / raw)
  To: lartc

This question adds on to the GRE tunnel query that I
asked earlier.

For the GRE tunnel to work, do I need to configure
tunnels in both directions.

When I configure a tunnel in one direction, I get this
error :

protocol 47 unreachable which is an icmp error
message.

Can I configure a tunnel in one direction, and add a
static route in the other direction and expect it to
work?

Thanks,
Vikas



=="To remain cheerful and have equanimity in all circumstances is the greatest worship of God"

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] gre tunnel question again
  2002-05-17  4:32 [LARTC] gre tunnel question again Vikas B. Wadhwani
@ 2002-05-17  7:16 ` Arthur van Leeuwen
  0 siblings, 0 replies; 2+ messages in thread
From: Arthur van Leeuwen @ 2002-05-17  7:16 UTC (permalink / raw)
  To: lartc

On Thu, 16 May 2002, Vikas B. Wadhwani wrote:

> This question adds on to the GRE tunnel query that I
> asked earlier.
>
> For the GRE tunnel to work, do I need to configure
> tunnels in both directions.

You need to configure the tunnel on both endpoints, as both
endpoints have to cooperate to provide the tunnel.

So, if you have machine A with IP address 172.16.8.1 and machine B with IP
address 172.16.16.1 then you would for example use

 ip tunnel add abtun mode gre remote 172.16.16.1 local 172.16.8.1
 ip addr add 192.168.0.1 peer 192.168.0.2 dev abtun
 ip link set abtun up

on machine A and

 ip tunnel add abtun mode gre remote 172.16.8.1 local 172.16.16.1
 ip addr add 192.168.0.2 peer 192.168.0.1 dev abtun
 ip link set abtun up

on machine B to get the tunnel up and running. Then you should be able to
ping the endpoints on the other side, if the GRE encapsulated packets are
not being firewalled somewhere along the way.

Note that routing is at another level in the protocol stack.

Doei, Arthur.

-- 
  /\    / |      arthurvl@sci.kun.nl      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-17  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-17  4:32 [LARTC] gre tunnel question again Vikas B. Wadhwani
2002-05-17  7:16 ` Arthur van Leeuwen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox