From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Cook Date: Fri, 13 Apr 2007 00:41:45 +0000 Subject: [LARTC] gre tunnel question Message-Id: <1176424905.31855.27.camel@localhost> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1731794498==" List-Id: To: lartc@vger.kernel.org --===============1731794498== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-5SGQv8Sicz315iBAw+So" --=-5SGQv8Sicz315iBAw+So Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 =20 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. =20 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Router Net77 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=-5SGQv8Sicz315iBAw+So Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iQIVAwUARh7RyUR0KI3mhyXmAQI1ag/9HTzuJqsV/Q6uu3wZmEaUwxJsvjit53Yz B/DrcvlC7/8B50f2hNTFnLXRsehMTtREvZFkfk7UYzyDfHIO29z69jHNyrWXHoZC 8VI0cd/BTgLBXCgE6L1XiE8GUPqZKur9Uf5I8MPpMkCrqeue59QvTnIP2P+7kppG rafKB25s+ejKMbbY11ZlsuS7m0g6XiAYBVcZbgA8q1O2J3fh+pTGb9QvV3hZjbPz ZqhSHnPE18ZtOiEGHfuV5CYqgC+ooIZJ0MH86P9WnsJafFYR3D6Tsa563ngyfsVi xiqJIqpkrlx5jfypYaqnF20aX6Bi4wItA2J2HmqfFWwooAUo1r2HekpeWs4yoAEt Pc6SoZuSmbb73ATWqf6uFmwCDrt1KQgiNEO13GejH3IEoONyS4mO4zAhKChZOi43 KHhJQqlhHxgzdlqeVbeFkM2QjRP6FcNZX28gUUA8MiuXN/ptR5vQmCkMMAJWBBIG 6581JukxpRwyH4FCKMCrXgY/Rbc4/IOGL1KaKW2O3C8Im9Jr247FTZiu33Y345hy lhfvWhlbF1Pfgg1Y2HMEdb4eAmY0wq4ZLH5cnE6nOYB19r3LRBeC6s/yNpuaBbWh Hfpz5qPIguNwu/SXibVjOXNWa+kMK7bq+NaDN9mKKMUOY8AgYQ49IkMbdA6uFAQ4 rGxLVpoF7pg= =1QBr -----END PGP SIGNATURE----- --=-5SGQv8Sicz315iBAw+So-- --===============1731794498== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1731794498==--