Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 09:21:32 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        yanegomi@gmail.com
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: Restarting interfaces and routing table stickiness
Message-ID:  <20120913.092132.1572055980229833778.hrs@allbsd.org>
In-Reply-To: <CAGH67wSemVK2FtGHgHX2tMicHd7fEs27M6_RCxdKiJxFPveRCQ@mail.gmail.com>
References:  <CAGH67wSemVK2FtGHgHX2tMicHd7fEs27M6_RCxdKiJxFPveRCQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Thu_Sep_13_09_21_32_2012_633)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Garrett Cooper <yanegomi@gmail.com> wrote
  in <CAGH67wSemVK2FtGHgHX2tMicHd7fEs27M6_RCxdKiJxFPveRCQ@mail.gmail.com>:

ya> Hi -net!
ya>     I've been doing some IPv6 testing lately, and one of the issues
ya> that I've run into in the past (since at least 7.0-CURRENT) is that if
ya> I do `service netif restart <foo>`, e.g. `service netif restart`
ya> multiple times, and have addresses statically configured in rc.conf,
ya> more often than not the routing table doesn't properly get flushed and
ya> my addresses become unreachable (even after I call `service routing
ya> restart`). Recently, I ran into an issue with 9.1-RC1 where had to
ya> kill ntpd before it would allow me to reach one of the addresses I had
ya> assigned on a test server (server has a total of 4 physical NICs and 1
ya> vlan'ed interface). The only surefire method to get things back to a
ya> sane state is to reboot the box (of course, please keep in mind that
ya> I'm using the netif rc script and not using other commands like route
ya> flush, route delete, etc).
ya>     This behavior can be simply triggered like so on 8.x and below like so:
ya>
ya>     /etc/rc.d/network_ipv6 restart
ya>     /etc/rc.d/network_ipv6 restart

 Do you have a procedure which can reproduce the problem on 9.x and/or
 output with rc_debug="YES"?  I guess the cause was that
 initialization of the routing table and interface configuration are
 separated, and it ended up being some incomplete configuration when
 restarting.

-- Hiroki

----Security_Multipart(Thu_Sep_13_09_21_32_2012_633)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEABECAAYFAlBRJwwACgkQTyzT2CeTzy0CTgCg2sndjXOqtGE+sgqEyt8DVTk2
GsYAoMLQh4kcFx52IgFHw1b+IaYwqhFu
=qG1m
-----END PGP SIGNATURE-----

----Security_Multipart(Thu_Sep_13_09_21_32_2012_633)----



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