Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2006 00:07:33 -0400
From:      David Gilbert <dgilbert@dclg.ca>
To:        freebsd-hackers@freebsd.org
Subject:   curious 6.1 GRE behaviour.
Message-ID:  <17560.50693.145833.875903@canoe.dclg.ca>

next in thread | raw e-mail | index | archive | help
I was using some GRE tunnels on 6.1-RELEASE recently.  The odd thing
I'm finding is that the initial creation of the tunnel using
cloned_interfaces and ifconfig_gre0="<blah>" results in the gre0
interface being created without the "running" bit set.

tcpdump on the interface or even "ifconfig gre0 up" starts it.

This is also odd because the "UP" flag is set.  Ie:
[1:2:301]root@pbx:~> ifconfig
[...]
gre0: flags=9011<UP,POINTOPOINT,LINK0,MULTICAST> mtu 1476
        tunnel inet x.x.x.x --> y.y.y.y
        inet6 fe80::240:63ff:fee2:eae9%gre0 prefixlen 64 scopeid 0x5 
        inet a.a.a.a --> b.b.b.b netmask 0xfffffffe 
[1:2:302]root@pbx:~> ifconfig gre0 up
[1:3:303]root@pbx:~> ifconfig
[...]
gre0: flags=9051<UP,POINTOPOINT,RUNNING,LINK0,MULTICAST> mtu 1476
        tunnel inet x.x.x.x --> y.y.y.y
        inet6 fe80::240:63ff:fee2:eae9%gre0 prefixlen 64 scopeid 0x5 
        inet a.a.a.a --> b.b.b.b netmask 0xfffffffe 

Dave.



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