Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2013 11:54:46 -0400
From:      Chip Marshall <chip@2bithacker.net>
To:        freebsd-net@freebsd.org
Subject:   gre and MONITOR
Message-ID:  <20130508155446.GB95890@2bithacker.net>

next in thread | raw e-mail | index | archive | help

--s/l3CgOIzMHHjg/5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

It appears the MONITOR flag doesn't work on gre interfaces.

I have a GRE tunnel set up between a FreeBSD 8.2-RELEASE box and a
Juniper router.

Config on the FreeBSD end:

gre0: flags=3D4b051<UP,POINTOPOINT,RUNNING,LINK0,LINK1,MULTICAST,MONITOR> m=
etric 0 mtu 1476
	tunnel inet 10.162.163.133 --> 10.162.163.131
	inet6 fe80::20c:29ff:fe9f:de64%gre0 prefixlen 64 scopeid 0x6
	inet 10.200.0.2 --> 10.200.0.1 netmask 0xfffffffc
	nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV>

Config on the Juniper end:

tunnel {
    source 10.162.163.131;
    destination 10.162.163.133;
}
family inet {
    address 10.200.0.1/30;
}

And from the Juniper, I am able to ping the 10.200.0.2 IP on the
FreeBSD end of the GRE tunnel. As I understand it, this shouldn't
happen with the MONITOR flag there, right?

> ping 10.200.0.2 rapid
PING 10.200.0.2 (10.200.0.2): 56 data bytes
!!!!!
--- 10.200.0.2 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev =3D 0.265/0.297/0.382/0.043 ms

--=20
Chip Marshall <chip@2bithacker.net>
http://2bithacker.net/

--s/l3CgOIzMHHjg/5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (Darwin)

iEYEARECAAYFAlGKdUYACgkQnTUxIUPEgZ4QVQCeKmEMa2iS51nXkp52PARuiCtq
SJUAn0dpF6yVrTSh+dJd6oAtO8ulgT+O
=3HX7
-----END PGP SIGNATURE-----

--s/l3CgOIzMHHjg/5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130508155446.GB95890>