Workaround for IPv6 Link-Local pre-202106

154 views
Skip to first unread message

shih...@gmail.com

unread,
Mar 18, 2022, 1:49:31 PM3/18/22
to sonicproject
Hi All,

For folks running pre-202106, how do you get IPv6 routing to work with global next hops?

What I see is when FRR populates the routes, it uses IPv6 link local addresses as next hops, which SONiC orchagent proceeds to ignore and the HW never gets programmed.  Thus, IPv6 routing never happens.

What I've tried so far to try to use IPv6 global next-hops:
1) In FRR apply: "set ipv6 next-hop prefer-global"
2) In /etc/sysctl.conf add: "net.ipv6.conf.default.addr_gen_mode = 0"

Neither appears to work.  Any suggestions?

Prince Sunny

unread,
Mar 18, 2022, 9:18:29 PM3/18/22
to shih...@gmail.com, sonicproject

This is a limitation in the older version with link-local nexthops.

 

Did you try applying ‘set ipv6 next-hop prefer-global’ in both sides?

 

..Prince

--
You received this message because you are subscribed to the Google Groups "sonicproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonicproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonicproject/2b215a99-03e9-492d-b6a9-ad4ca5d7e81an%40googlegroups.com.

Jeff Chen

unread,
Mar 18, 2022, 9:22:00 PM3/18/22
to Prince Sunny, sonicproject
Hi Prince,

Yes, we applied on both sides.  But only some of the routes end up with global next hops.  Do we need to apply this to every switch and router on our network?
Reply all
Reply to author
Forward
0 new messages