* [LARTC] GRE tunnel question
@ 2002-05-15 18:22 Vikas B. Wadhwani
0 siblings, 0 replies; 2+ messages in thread
From: Vikas B. Wadhwani @ 2002-05-15 18:22 UTC (permalink / raw)
To: lartc
Hi,
I have set up GRE tunnels accoding to the LARTC
document but its not working.
I have 3 routers connected in the form of a ring.
They have interfaces as follows:
Mars: 172.16.0.2, 172.16.1.1
Mercury: 172.16.0.1, 172.16.2.2
Pluto: 172.16.2.1, 172.16.1.2
Mars can reach 0.0 and 1.0 networks but not 2.0
network.
I set up a tunnel as follows on Mars:
ip tunnel add netb mode gre remote 172.16.0.1 local
172.16.0.2 ttl 255
ip link set netb up
ip addr add 172.16.1.1 dev netb
ip route add 172.16.2.0/24 dev netb
When I ping 172.16.2.1 or 172.16.2.2, I get:
PING 172.16.2.1 (172.16.2.1) from 172.16.1.1 : 56(84)
bytes of data.
From 172.16.1.1: Destination Host Unreachable
From 172.16.1.1: Destination Host Unreachable
Where am I going wrong? Please let me know.
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
* [LARTC] gre tunnel question
@ 2007-04-13 0:41 Robin Cook
0 siblings, 0 replies; 2+ messages in thread
From: Robin Cook @ 2007-04-13 0:41 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 3585 bytes --]
Hello,
I am trying to implement a Broadcast GRE Tunnel that is described at
this link http://linux-ip.net/gl/ip-tunnels/node9.html but it doesnt
seem to be working.
I am seeing the GRE packets for both networks on both sniffers but the
tcpdump i tun0 doesnt show any of the packets from the remote end
getting there.
Can you tell me if I have something misconfigured or if what I am trying
to do is impossible.
Ive listed all the configuration information under the ascii drawing
Basically trying to get routing information from network A to network B
without knowing what the ip address is for remote eth0 is, hence the
multicast address, and keeping the overhead as low as possible.
Thanks.
Router 1 2 Router
+---------+ +--------+ +---+ +---+ +--------+ +---------+
|network A|--| Net-99 |-----|INE|--|INE|-----| Net-77 |--|network B|
+---------+ +--------+ | +---+ +---+ | +--------+ +---------+
eth1 eth0 | PT CT CT PT | eth0 eth1
| |
+-------+ +-------+
|sniffer| |sniffer|
+-------+ +-------+
Net99 eth0: 172.16.1.240/24
Net99 eth1: 99.99.99.99/8
Net77 eth0: 172.16.2.240/24
Net77 eth1: 77.77.77.77/8
INE - Inline Network Encryptor
INE1 PT: 172.16.1.1/24
INE1 CT: 10.0.0.1/24
INE2 PT: 172.16.2.1/24
INE2 CT: 10.0.0.2/24
Router Net99
============
Create Tunnel
-------------
modprobe ip-gre
ip tunnel add tun0 mode gre remote 239.0.0.1 local 172.16.1.240 dev eth0
ip addr add 10.20.1.1/24 dev tun0
ip link set tun0 up
ip link seg gre0 up
========================================================================
zebra.conf
----------
hostname net99
password itac
enable password itac
interface eth0
description To KG-175B 789
ip address 172.16.1.240/24
multicast
interface eth1
description To airborne network
ip address 99.99.99.99/8
multicast
interface tun0
description tunnel for ospf
ip address 10.20.1.1/24
multicast
ip route 0.0.0.0/0 172.16.1.1
========================================================================
ospfd.conf
----------
router ospf
ospf router-id 172.16.1.240
ospf abr-type cisco
redistribute connected
network 10.20.1.0/24 area 0
network 99.0.0.0/8 area 1
area 1 stub
========================================================================
Router Net77
============
Create Tunnel
-------------
modprobe ip-gre
ip tunnel add tun0 mode gre remote 239.0.0.1 local 172.16.2.240 dev eth0
ip addr add 10.20.1.2/24 dev tun0
ip link set tun0 up
ip link set gre0 up
========================================================================
zebra.conf
----------
hostname net77
password itac
enable password itac
interface eth0
description To KG-175E 23969
ip address 172.16.2.240/24
multicast
interface eth1
description To airborne network
ip address 77.77.77.77/8
multicast
interface tun0
description tunnel for ospf
ip address 10.20.1.2/24
multicast
ip route 0.0.0.0/0 172.16.1.1
========================================================================
ospf.conf
---------
router ospf
ospf router-id 172.16.2.240
ospf abr-type cisco
redistribute connected
network 10.20.1.0/24 area 0
network 77.0.0.0/8 area 1
area 1 stub
========================================================================
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-13 0:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-13 0:41 [LARTC] gre tunnel question Robin Cook
-- strict thread matches above, loose matches on Subject: below --
2002-05-15 18:22 [LARTC] GRE " Vikas B. Wadhwani
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.