Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2016 01:24:09 -0500
From:      Zaphod Beeblebrox <zbeeble@gmail.com>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: quagga misinterpreting route.
Message-ID:  <CACpH0MdnP1oJK3sD=hw8VQhVKXKnZDMfh8wEZQ2jEagNzYybNQ@mail.gmail.com>
In-Reply-To: <CACpH0MemfJqFVZxc4Rg_qbzcqgM5fRjojxKeoD4wTAY9KBOu6g@mail.gmail.com>
References:  <CACpH0MemfJqFVZxc4Rg_qbzcqgM5fRjojxKeoD4wTAY9KBOu6g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
After upgrading to 10.3p12 and messing about a bit, I found something else
strange.  On another mpd router, the ipv6 route was showing up as being on
an unused port (bce1, in this case).  I have the port connected to the
switch (so it's up) but I'm not using it.  So... I ifconfig'd down bce0.
Then, quagga claims:

my.other.router.ca# sh ipv6 route 1001:abcd:1::1
Routing entry for 1001:abcd:1::/64
  Known via "kernel", distance 0, metric 0, tag 0, vrf 0, best, fib
  >* fe80::212:3fff:fe41:72fd, via lo0

... which is somewhat ridiculous.


On Sun, Nov 13, 2016 at 12:51 AM, Zaphod Beeblebrox <zbeeble@gmail.com>
wrote:

> I have an if-up mpd5 rule that says:
>
> route -n6 add $route -iface $interface
>
> where $route is something like 1001:abcd:1::/64 and $interface is
> something like ng2.
>
> When I go into quagga, I see:
>
> my.router.ca# sh ipv6 route 1001:abcd:1::1
> Routing entry for 1001:abcd:1::/64
>   Known via "kernel", distance 0, metric 0, tag 0, vrf 0, best, fib
>   >* fe80::212:3fff:fe41:72fd, via bge0
>
> ... now there's two things wrong with this.  It's not a kernel route and
> it's not via bge0.  This leads the ospf6 advertisement of this route to be:
>
> my.router.ca# sh ipv6 ospf6 route 1001:abcd:1::1
> Destination: ::/0
> Destination type: Network
> Installed Time: 00:13:29 ago
>   Changed Time: 00:13:29 ago
> Lock: 2 Flags: BA--
> Memory: prev: 0x0 this: 0x7026f0 next: 0x704dd0
> Associated Area: 0.0.0.0
> Path Type: External-1
> LS Origin: AS-External Id: 0.0.0.0 Adv: 1.2.3.4
> Options: --|-|-|--|-|--
> Router Bits: --------
> Prefix Options: xxx
> Metric Type: 1
> Metric: 20 (0)
> Nexthop:
>   fe80::21a:64ff:fe79:3348 bge0.401
>
> ... which leads other ospf6 routers on the network to not see the route at
> all (invalid?)
>
>



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