回复:[FROG] How to test ipv6 anycast address with frr routing?
yanhc519
yanhc519 at aliyun.com
Sat Feb 27 06:46:59 UTC 2021
Hi, Chriztoffer. Thanks for your reply.
I noticed Cisco router has to specify anycast command when config an anycast address as follows(https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipv6_basic/configuration/xe-3se/5700/ip6-anycast-add-xe.html):
ipv6 address ipv6-prefix/prefix-length anycast
So when I using FRR routing suite, should I specify the address is an anycast address with some specific command or just specify two same address on two different interfaces?
Actually I have tested the ipv6 anycast using a commercial H3C router (whose anycast address configuration command is similar to Cisco). I used 3 routers to form a triangular topology with R1 on the top and R2 on the bottom-left and R3 on the bottom-right. R1/2/3 connects to PC1/2/3, respectively. I config R2 and R2 with unicast address 4001::1 (with command: ipv6 address 4001::1/64 anycast). Then I ping 4001::1 from PC1 with just PC2 connected and PC3 unconnected as well as with just PC3 connnected and PC2 unconnected. In both scenario, the ping can get reply.
After that, my plan is to replace R2 and R3 with an open source router running such as FRR. However, I cannot find the corresponding config command similar to what I used on the commercial router (which is ipv6 address 4001::1/64 anycast). That's what confused me.
So back to the question at the start of this email: when I using FRR routing suite, should I specify the address is an anycast address with some specific command or just specify two same address on two different interfaces?
York
------------------------------------------------------------------
发件人:Chriztoffer Hansen <ch at ntrv.dk>
发送时间:2021年2月27日(星期六) 11:13
收件人:yanhc519 <yanhc519 at aliyun.com>
抄 送:frog at lists.frrouting.org <frog at lists.frrouting.org>
主 题:Re: [FROG] How to test ipv6 anycast address with frr routing?
On Sat, 27 Feb 2021 at 01:09, yan via frog <frog at lists.frrouting.org> wrote:
> does frr routing support ipv6 anycast address configuration?
Anycast routing in the essence of things is "just" announcing the same
prefix from multiple locations.
> How could I test ipv6 anycast address with frr routing?
In the simplest of set-ups, configure multiple hosts to originate the
same prefix (e.g. /32, /128) That would be anycast at the most basic
level.
(What services you will want to host from the anycast IP(s) is at your
own descretion.)
> Is there a tutorial about this?
The official docs https://docs.frrouting.org does not contain such a
tutorial. Thou I suspect more than one blogpost, conference talk has
been given on the topic over the years (not being FRRouting specific).
But most always this will be a generalized one. Skipping any in-depth
(SW specific) tutorial content. And "just" explaining the concept.
--
Chriztoffer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20210227/8654060a/attachment.htm>
More information about the frog
mailing list