-
Re: Connected route exists for a DUP IPV6 address.
jayh Aug 1, 2018 4:49 PM (in response to noelraxit)1 of 1 people found this helpfulnoelraxit wrote:
Hey Guys,
I have 2 routers connected back to back. R1 and R2.
On R1, I've configured an IPv6 address 4444::2/64.
Now on R2, I've configured the same IPV6 address 4444::2/64.
Don't do that. It won't work. There are over 18 quadrillion addresses in that subnet to choose from.
When I see the show ipv6 interface on R2, it detects the address as duplicate and marks it DUP.
That's because there is a duplicate address.
But when I see the routing table of R2, a connected route for that network exists.
That's normal. The subnet is on a directly connected interface which is physically and logically up. You obviously won't be able to pass traffic between R2 and R1 but if there were a third device on the subnet with a different address it would be reachable. Keep in mind that you can have multiple IPv6 addresses on the same interface. Just because one is a duplicate doesn't shut the interface down.
-
Re: Connected route exists for a DUP IPV6 address.
noelraxit Aug 1, 2018 11:21 PM (in response to jayh)Thanks for writing Jayh,
It is clear that when an IP address is duplicate the traffic will not flow.
Keep in mind that you can have multiple IPv6 addresses on the same interface. Just because one is a duplicate doesn't shut the interface down.
Lets assume we have an IPv6 address from a different subnet, then what is the point to have a connected route of a duplicate IPv6 address in the routing table.
And does the router clears the duplicate IPv6 address after some hold-off time?
I read somewhere about windows OS that, if a duplicate IPv6 address is detected it would be flushed/removed from the interface. However, I'm not sure about this behavior and also if it is applicable on routers!-
Re: Connected route exists for a DUP IPV6 address.
jayh Aug 2, 2018 9:34 AM (in response to noelraxit)noelraxit wrote:
Lets assume we have an IPv6 address from a different subnet, then what is the point to have a connected route of a duplicate IPv6 address in the routing table.
And does the router clears the duplicate IPv6 address after some hold-off time?
I read somewhere about windows OS that, if a duplicate IPv6 address is detected it would be flushed/removed from the interface. However, I'm not sure about this behavior and also if it is applicable on routers!The router has its address manually configured. Duplicate address detection indeed sees the duplicate address but the device can't determine if it is misconfigured or some other host on the subnet is misconfigured. If a router were to shut down its interface because of a duplicate address it would be trivial to DoS the LAN either deliberately or accidentally simply by configuring a machine with the router's address. Hosts such as Windows boxes will disable a duplicate address. Macintosh does this for IPv4 as well. Having a router shut down its LAN interface due to an addressing conflict somewhere on the LAN wouldn't scale at all well.
As far as the local routing table is concerned, the interface is up and connected so the subnet shows as a connected route.
-
Re: Connected route exists for a DUP IPV6 address.
noelraxit Aug 2, 2018 11:16 PM (in response to jayh)Appreciate your time jayh.
Thanks!
-
-
-