07-31-2013 09:27 PM - edited 03-01-2019 05:41 PM
Dear All,
Can someone explan the ipv6 anycost address in details with example becuase i am little confused with this term.
08-01-2013 02:23 AM
Do you mean anycast?
An anycast address has the same format as a unicast address, however on a network different hosts can have the same address on their interfaces, these interfaces MUST be configured as anycast.
As unicast can be thought of as one-to-one, multicast as one-to-many, anycast is ono-to-one-of-many. What this means is a packet sent to an anycast address will be routed to the closest (as in routing cost) host.
cheers,
Seb.
08-01-2013 02:42 AM
Dear Rupik,
Thanks for the reply, please can u further elaborate the sentence "on a network different hosts can have the same address on their interfaces".
08-01-2013 04:26 AM
Differnet hosts on the same subet can have the same IPv6 unicast address assigned to their interfaces; typically a loopback interface.
08-05-2013 10:40 AM
anycast is a router concept; of the available pool of unicast destinations for a particular address, some upstream router will eventually pick the "nearest" one by some criterion, and the unicast packet ends up at that specific host. Different clients from different originating LAN's could end up at different destinations if they take different paths through the routers.
In general, anycast is used with hosts which are on different LAN's, no two on-link with each other. A typical use is to increase redundancy for DNS servers. The soon to be deprecated IPv6 6to4 relays also share anycast address 192.88.99.1/24 on the v4 side. Anycast is not a v6-specific concept; it can be done with both v4 and v6.
Having the same IPv6 unicast address assigned to multiple interfaces would tend to result in duplicate address detection failures, either on-host or on-link.
-- Jim Leinweber, WI State Lab of Hygiene
08-06-2013 01:04 AM
Hi Jim,
When using the 'anycast' keyword on an IPv6 address declaration:
ipv6 address ipv6-address/prefix-length anycast
...DAD checks on that interface are not carried out, allowing for duplicate addresses to exist on the same subnet.
cheers,
Seb.
08-25-2013 12:41 PM
Any-cost address means that some enterprises will soon be willing to pay any high price for a new IPv4 block.
08-25-2013 07:20 PM
Good one Peter
08-25-2013 10:17 PM
Take a look at Section 2.6 of RFC 4291.
An anycast address is best thought of as a single address that will get you to the nearest server offering a specified service. For example, one of the DNS root servers, F Root, is in fact about over 50 servers in locations worldwide (http://www.isc.org/f-root/). However, for the purposes of DNS access (not for maintanence; they each have an individual address for purposes that require them to be individual machines), they each use the same two addresses: F-root answers queries over IPv4 on 192.5.5.241, and over IPv6 on 2001:500:2f::. When you send a DNS request to one of those two addresses, it goes to whichever of the two happens to be online at the time and, from a routing perspective, nearest to you.
08-25-2013 10:30 PM
Dear All,
Thanks for your help. It make sense.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide