Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 Basics & Questions & General Chatter => Topic started by: jan101 on September 25, 2013, 02:55:43 PM

Title: ipv6 anycast
Post by: jan101 on September 25, 2013, 02:55:43 PM
Can you provide examples of how ipv6 anycast works? Thanks
Title: Re: ipv6 anycast
Post by: broquea on September 25, 2013, 04:56:34 PM
advertise a /48 everywhere, and when one location advertising drops, the other locations are fine and the dropped location uses internal routing (ospf/ibgp) to redirect its local traffic to the correct location.
Title: Re: ipv6 anycast
Post by: jan101 on September 25, 2013, 06:40:27 PM
I am sorry but I am lost. How do you get the anycast address? I thought that routers can have the same anycast address. But when I want to send a packet to a server going through those routers. How do they process the packet from an anycast address standpoint.
Title: Re: ipv6 anycast
Post by: kcochran on September 25, 2013, 07:01:49 PM
Same as any other packet from any other source.  There's nothing 'special' about any anycast address, aside from it existing at multiple points in a network.

Router sees traffic for a destination, and delivers it to where it knows it exists.  As broquea noted, with anycast, that just means there's alternate destinations to handle that traffic, so if one drops, another can pick it up.  Now, this is most often used with UDP based services, as then there's no real 'connection' on the service.  TCP based services would drop as the session information would be lost when one anycast point either dropped or the route from the source found a better anycast destination for that service.
Title: Re: ipv6 anycast
Post by: jan101 on September 25, 2013, 07:04:43 PM
But what mechanism the router uses to see which path to take as you have the same anycast address assigned to some specific routers?
Title: Re: ipv6 anycast
Post by: kcochran on September 25, 2013, 08:19:09 PM
Normal routing metrics.  It may know of multiple instances, but it'll forward onto the one closest based on metrics.