Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: ipv6 anycast  (Read 5132 times)

jan101

  • Newbie
  • *
  • Posts: 22
ipv6 anycast
« on: September 25, 2013, 02:55:43 PM »

Can you provide examples of how ipv6 anycast works? Thanks
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1751
Re: ipv6 anycast
« Reply #1 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.
Logged

jan101

  • Newbie
  • *
  • Posts: 22
Re: ipv6 anycast
« Reply #2 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.
Logged

kcochran

  • Sr. Network Engineer, Hurricane Electric
  • Administrator
  • Sr. Member
  • *****
  • Posts: 425
Re: ipv6 anycast
« Reply #3 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.
Logged

jan101

  • Newbie
  • *
  • Posts: 22
Re: ipv6 anycast
« Reply #4 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?
Logged

kcochran

  • Sr. Network Engineer, Hurricane Electric
  • Administrator
  • Sr. Member
  • *****
  • Posts: 425
Re: ipv6 anycast
« Reply #5 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.
Logged