Anycast

Anycast

Anycast is a network addressing and routing scheme whereby data is routed to the "nearest" or "best" destination as viewed by the routing topology.

The term is intended to echo the terms unicast, broadcast and multicast.

* In "unicast", there is a one-to-one association between network address and network endpoint: each destination address uniquely identifies a single receiver endpoint.
* In "broadcast" and "multicast", there is a one-to-many association between network addresses and network endpoints: each destination address identifies a set of receiver endpoints, to which all information is replicated.
* In "anycast", there is also a one-to-many association between network addresses and network endpoints: each destination address identifies a set of receiver endpoints, but only one of them is chosen at any given time to receive information from any given sender.

On the Internet, anycast is usually implemented by using BGP to simultaneously announce the same destination IP address range from many different places on the Internet. This results in packets addressed to destination addresses in this range being routed to the "nearest" point on the net announcing the given destination IP address.

In the past, Anycast was suited to connectionless protocols (generally built on UDP), rather than connection-oriented protocols such as TCP that keep their own state. However, there are many cases where TCP Anycast is now used, including on carrier networks such as Prolexic.

With TCP Anycast, there are cases where the receiver selected for any given source may change from time to time as optimal routes change, silently breaking any conversations that may be in progress at the time. These conditions are typically referred to as a "pop switch". To correct for this issue, there have been proprietary advancements within custom IP stacks which allow for healing of stateful protocols where it is required. However, without any technology to heal pop switches, systems like GeoDNS are more appropriate.

For this reason, anycast is generally used as a way to provide high availability and load balancing for stateless services such as access to replicated data; for example, DNS service is a distributed service over multiple geographically dispersed servers.

Use of anycast to implement DNS

A number of the Internet root nameservers are implemented as large numbers of clusters of machines using anycast. The C, F, I, J, K, L and M servers exist in multiple locations on different continents, using anycast announcements to provide a decentralized service. As a result, most of the physical (rather than nominal) root servers are now outside the United States. RFC 3258 documents how anycast is used to provide authoritative DNS services. Akamai, [http://www.autonomica.se Autonomica] * [http://www.communitydns.eu/ Community DNS] , UltraDNS (now known as Neustar Ultra Services), Netriplex, DNSMadeEasy, EasyDNS, [http://www.dynect.com Dynect] and many other authoritative name service providers have all switched to an IP anycasted environment to increase query performance and redundancy. The use of the IP anycast network helps provide for a highly resilient DNS service. Additionally, the recursive DNS service OpenDNS use anycast to distribute the load across their network. [http://www.opendns.com/how/faster/global-footprint/]

Use of anycast to implement IPv6 transition

There is a 6to4 (IPv6 transition protocol) anycast default gateway available with the IP address 192.88.99.1. (See RFC 3068 for details.) This allows multiple providers to implement 6to4 gateways without hosts needing to know each individual provider's gateway addresses.

Security of anycast

Anycast allows any operator whose routing information is accepted by an intermediate router to hijack any packets intended for the anycast address. While this at first sight appears insecure, it is no different from the routing of ordinary IP packets, and no more or less secure. As with conventional IP routing, careful filtering of who is and is not allowed to propagate route announcements is crucial to prevent man-in-the-middle or blackhole attacks.

Reliability of anycast

Anycast is normally highly reliable, as it can provide automatic failover. Anycast applications typically feature external "heartbeat" monitoring of the server's function, and withdraw the route announcement if the server fails.In some cases this is done by the actual servers announcing the anycast prefix to the router over OSPF or another IGP protocol. If the servers die, the router will automatically withdraw the announcement.

"Heartbeat" functionality is important because, if the announcement continues for a failed server, the server will act as a "black hole" for nearby clients; this failure mode is the most serious mode of failure for an anycast system. Even in this event, this kind of failure will only cause a total failure for clients that are closer to this server than any other, and will not cause a global failure.

Denial of Service attacks and anycast

Anycast on the Internet can help to distribute DDoS attacks and reduce their effectiveness.Fact|date=August 2008 As traffic is routed to the closest node, a process over which the attacker has no control, the DDoS traffic flow will be distributed amongst the closest nodes. This often means that not all nodes will be affected. This is often an important reason to deploy anycast addressing.Fact|date=August 2008

The effectiveness of this technique to divert attacks is questionable, however, because unicast addresses (used for maintenance) can be easy to obtain, at least on IPv6. RFC 2373 defines that "An anycast address must not be used as the source address of an IPv6 packet." Therefore, pinging an anycast address will return the unicast address of the closest node, since the reply must come from a unicast address. An attacker can then attack individual nodes from any location, bypassing anycast addressing methods. This same method works on some, but not all, IPv4 anycast addresses [http://ieeexplore.ieee.org/iel5/4236/21386/00991450.pdf] .

Local vs Global

In some situations of anycast deployment on the Internet there is a difference between local and global nodes. Local nodes are often more intended to provide benefit for the direct local community. Local node announcements are often announced with the no-export BGP community to prevent peers from announcing them to their peers (i.e. the announcement is kept in the local area). Where both local and global nodes are deployed, the announcements from global nodes are often AS prepended (i.e. the AS is added a few more times) to make the path longer so that a local node announcement is preferred over a global node announcement.

Both F and K root name servers currently use local and global nodes.

External links

* [http://aharp.ittns.northwestern.edu/papers/k5-anycast/index.html Anycast Addressing on the Internet]
* [http://www.ietf.org/rfc/rfc3258.txt Distributing Authoritative Name Servers via Shared Unicast Addresses] , IETF RFC describing the distribution of authoritative DNS servers using anycast.
* [http://www.ietf.org/rfc/rfc4786.txt Operation of Anycast Services] , IETF RFC offering advice on how to deploy services using anycast.
* [http://www.isc.org/index.pl?/pubs/tn/?tn=isc-tn-2003-1.html Hierarchical Anycast for Global Service Distribution] , ISC document on anycast
* [http://ripe.net/info/ncc/presentations/anycast-kroot.pdf Effect of anycast on K-root] , presentation by Lorenzo Colitti (RIPE NCC) at DNS-OARC in July 2005
* [http://www.ripe.net/ripe/meetings/ripe-52/presentations/ripe52-plenary-kroot-anycast.pdf The Impact of anycast on Root DNS Servers: The Case of K-root] , presentation by Lorenzo Colitti (RIPE NCC) at [http://www.ripe.net/ripe/meetings/ripe-52/ RIPE 52] in April 2006
* [http://icann.org/announcements/announcement-08mar07.htm Icann DNS Attack Fact Sheet] Report by ICANN on how the Anycast technology contributed to the resistance against the ddos-attack on the DNS-RootServers on 6 February 2007


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Anycast — Saltar a navegación, búsqueda Anycast es una forma de direccionamiento en la que la información es enrutada al destino mejor desde el punto de vista de la topología de la red. En la red internet, una dirección IP se puede anunciar desde varios… …   Wikipedia Español

  • Anycast — Схемы маршрутизации …   Википедия

  • Anycast — Types de routage anycast broadcast …   Wikipédia en Français

  • Anycast — Kommunikationsformen / Routing Schemata Unicast Broadcast Anycast …   Deutsch Wikipedia

  • anycast — noun A network addressing and routing scheme whereby data is routed to the nearest or best destination as viewed by the routing topology …   Wiktionary

  • anycast — ● ►en adj. ►NET Communication en IPv6 entre un seul émetteur et le plus proche membre d un groupe de récepteurs. L idée est de pouvoir mettre à jour les tables de routages à partir d un hôte. Cousin de multicast et opposé à unicast …   Dictionnaire d'informatique francophone

  • Sony Anycast — The Sony Anycast is a portable video switcher that runs a firmware version of the Linux OS. It provides 6 video inputs of varying sources (SD, HD via DV, S video, or composite inputs.) It also provides Real media based streaming output.The… …   Wikipedia

  • IPv6 address — An Internet Protocol Version 6 address (IPv6 address) is a numerical label that is used to identify a network interface of a computer or other network node participating in an IPv6 enabled computer network. IP addresses serve the purpose of… …   Wikipedia

  • DNS Root Nameserver — globale Anycast Instanz des K Root Servers im AMS IX Root Nameserver, oft auch nur Root Server genannt, publizieren verlässlich die Root Zone des Domain Name Systems (DNS) im Internet. Diese Datei besteht aus ca. 2.500 Einträgen und ist die… …   Deutsch Wikipedia

  • Root Nameserver — globale Anycast Instanz des K Root Servers im AMS IX Root Nameserver, oft auch nur Root Server genannt, publizieren verlässlich die Root Zone des Domain Name Systems (DNS) im Internet. Diese Datei besteht aus ca. 2.500 Einträgen und ist die… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”