Skip to contentSkip to conversation

IPv6: use anycast addresses as source addresses in echo reply

PATCH François-Xavier Le Bail 2 participants 2 messages Jan 7, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Hannes Frederic Sowa
Quoted 2 lines

But if an echo request arrive on an interface
which do not listen at this LL anycast, is a reply can occur ?

I thought quite the opposite with anycast + forwarding enabled, that  we would process the packet.

yes, for a global scope anycast.
But a routers must not forward any packets with link-local source or destination addresses to other links, thus also ll anycast.

BR
François-Xavier

#1 lore raw
Quoted 10 lines · François-Xavier Le Bail
Quoted 5 lines · Hannes Frederic Sowa
Quoted 2 lines

But if an echo request arrive on an interface
which do not listen at this LL anycast, is a reply can occur ?

I thought quite the opposite with anycast + forwarding enabled, that  we would process the packet.

yes, for a global scope anycast.
But a routers must not forward any packets with link-local source or destination addresses to other links, thus also ll anycast.

Of course, but in this case I hesitated because I haven't dealt a lot with anycast recently in routing code and it seemed like RTF_ANYCAST is exclusive-or with RTF_LOCAL. So I was really unsure if this protection was really in place. We already had some illegal forwarding/input paths in the past. ;)

Greetings,

Hannes