From: Robin Cook <rcook@wyrms.net>
To: lartc@vger.kernel.org
Subject: [LARTC] gre tunnel question
Date: Fri, 13 Apr 2007 00:41:45 +0000 [thread overview]
Message-ID: <1176424905.31855.27.camel@localhost> (raw)
[-- 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
next reply other threads:[~2007-04-13 0:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-13 0:41 Robin Cook [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-05-15 18:22 [LARTC] GRE tunnel question Vikas B. Wadhwani
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=1176424905.31855.27.camel@localhost \
--to=rcook@wyrms.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox