netdev
[Top] [All Lists]

Re: unregister_netdevice: waiting for tun6to4 to become free.

To: Thomas Graf <tgraf@xxxxxxx>
Subject: Re: unregister_netdevice: waiting for tun6to4 to become free.
From: Andre Tomt <andre@xxxxxxxx>
Date: Thu, 23 Sep 2004 10:07:25 +0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <41527796.4010204@tomt.net>
References: <20040920212453.GA15392@ee.oulu.fi> <414F7CD9.3090008@pobox.com> <414FC92F.6090009@tomt.net> <20040921121332.GR31616@rei.reeler.org> <4151E680.80203@tomt.net> <20040922211942.GA1674@postel.suug.ch> <41523670.1090603@tomt.net> <41523EC5.20805@tomt.net> <41527796.4010204@tomt.net>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (X11/20040918)
Andre Tomt wrote:
(CC'ed to netdev)

<snip>

I can taste the bug now :-)

Me and Thomas Graf have been discussing this a bit off-list; so for those on netdev, this is my current setup:

server A sets up a sit tunnel to server B. server B has a sit tunnel to Provider. All communication between A, B and Provider is going over ethernet on the physical layer.

server B is the one getting stuck in "waiting for <device> to become free.." when ifdown'ing (ip tunnel del) the interface to Provider.


If I boot with net.ipv6.conf.default.forward = 1 in sysctl.conf - but then after the boot do echo 1 > /proc/sys/net/ipv6/conf/all/forward (to actually get it running)


we'll crash and burn when taking down the interface.

Only setting /proc/sys/net/ipv6/conf/all/forward = 1, but never touch default, it goes down cleanly.

I have the ipv6/conf/default/forwarding set in sysctl.conf on all the routers, and it seems zebra sets the ipv6/conf/all/forwarding later on.


Possibly important note:

if I set up both conf.all and conf.default (order does not matter) before the tunnel devices are created, everything works as expected.

eg. in sysctl.conf:
net.ipv6.conf.default.forwarding=1
net.ipv6.conf.all.forwarding=1

if default is set first, then tunnels created, followed by setting "all"; everything breaks down on ifdown.

pretty neat :)

<Prev in Thread] Current Thread [Next in Thread>