[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dhcpcd and multiple IPv6 gateways on one interface
On Tue, Sep 12, 2017 at 10:37 AM, Roy Bixler <rcbixler%nyx.net@localhost> wrote:
> I'm pretty sure that our network does not use Cisco as the router. I
> think that the admin. uses some kind of a Linux distribution which he
> then sets up with an OSPF daemon and so forth.
I'll say it another way: Once you put an IPv6 address onto some
devices, Cisco in particular, they "just decide" to become a router
and do router advertisements. This is probably the case on your
> Fair enough. I've tried to do a little research myself and my
> understanding of Linux is that it sets up the multiple IPv6 default
> routes on the same interface when it gets advertisements from
> different routers which have the same preference. Some folks may say
> that's not recommended, but I could see using it if load balancing is
> a consideration. Otherwise, I would think it would be unnecessary.
> Why not just set one router to have a higher preference? Then I'd
> imagine failover would occur if that router went down. My only
> experience with setting up a network is with a small SOHO LAN, so I
> may easily be missing something.
> The routing table looks like this:
> % ip -f inet6 r
> <line for route to local network>
> fe80::/64 dev br0 proto kernel metric 256
> default via fe80::nnn:nnnn:nnnn:2e47 dev br0 proto ra metric 1024 expires 1783sec hoplimit 64
> default via fe80::nnn:nnnn:nnnn:2d5b dev br0 proto ra metric 1024 expires 1783sec hoplimit 64
> default via fe80::nnn:nnnn:nnnn:2df3 dev br0 proto ra metric 1024 expires 1783sec hoplimit 64
> So there are 3 default IPv6 routes on the same interface.
So really, you have 2 issues here:
1. Who is sending out router advertisements? You can probably find
that out easily enough since the MAC is embedded in these link local
addresses. Might want to find out if those machines should be doing
that. Probably not.
2. How does a machine properly handle this situation? Linux seems to
just put in equal cost routes for all of them, so either they are load
balancing or they have some other selection criteria. Based on the
behavior of machines doing router advertisements, I would hope that
reachability is being done somehow, but maybe this is wishful
thinking. (Again, unresearched.)
Main Index |
Thread Index |