2.4.21+ - IPv6 over IPv4 tunneling b0rked
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello!
Quoted 1 line
Alexey, please add some sanity to this discussion.
It is about anycast addresses, I maybe not competent here. I have no idea what is purpose of all-routers anycast.
However, my modest opinion is here:
IN NO WAY ANYCAST ADDRESSES MAY BE USED AS NEXTHOP ADDRESSES. NEXTHOP ADDRESS IS THE ADDRESS WHICH IS EXPECTED TO BE SOURCE OF REDIRECT MESSAGES ET AL. ANYCAST ADDRESSES ARE INVALID AS SOURCE, HENCE...
Period.
Alexey
Quoted 10 lines · On Tue, 15 Jul 2003 [email protected] wrote:
Quoted 1 line
Alexey, please add some sanity to this discussion.
It is about anycast addresses, I maybe not competent here. I have no idea what is purpose of all-routers anycast.
However, my modest opinion is here:
IN NO WAY ANYCAST ADDRESSES MAY BE USED AS NEXTHOP ADDRESSES. NEXTHOP ADDRESS IS THE ADDRESS WHICH IS EXPECTED TO BE SOURCE OF REDIRECT MESSAGES ET AL. ANYCAST ADDRESSES ARE INVALID AS SOURCE, HENCE...
Modestly, I disagree.
You just can't get away from the requirement of having be able to "resolve" next-hops. I.e., the requirement that the users/protocols will give you non-final nexthop information which you have to "resolve" to get the final nexthop (e.g. a global address -> a link-local address obtained using Neighbor Discovery).
You want to avoid that: simple IPv4 routers can, but IPv6 in particular, as it implements different scopes which are used extensively especially with Neighbor Discovery, can't really live without it.
I'm not sure about the level of complexity resolvable next-hops cause, but it shouldn't be huge. The tricky part where proprietary vendors often break are the cases when the "global nexthop" changes but the mapping to the resolved nexthop is not updated.
Signature · 3 lines
Pekka Savola "You each name yourselves king, yet the Netcore Oy kingdom bleeds." Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
Hello!
Quoted 4 lines
"resolve" next-hops. I.e., the requirement that the users/protocols will give you non-final nexthop information which you have to "resolve" to get the final nexthop (e.g. a global address -> a link-local address obtained using Neighbor Discovery).
No way to resolve exists, unless it already embedded to corresponding protocol. F.e. global address and its link-local equivalent could be transferred as attributes of BGP4+, global address is used to validate nexthop attribute and as soon as it happens to be on-link, its link-local counterpart is used.
If you have a global address out of context and want to use it as nexthop, you are in troubles. You have no way to get a unique router identifier, it is just not defined. So, you have to use global one (and kernel has to allow this), and surely will screw up the network, unless some policy constraints make the configuration legal.
Well, actually, we inevitably arrive to conclusion that all the idea about scoped addresses is just a garbage, which results in nothing but inconveniences and innumerous inconsistencies. I remember some people predicted that it will be dropped to start of real Ipv6 deployment. Well, it is still not night.
Alexey
Quoted 7 lines · On Tue, 15 Jul 2003 [email protected] wrote:
Quoted 4 lines
"resolve" next-hops. I.e., the requirement that the users/protocols will give you non-final nexthop information which you have to "resolve" to get the final nexthop (e.g. a global address -> a link-local address obtained using Neighbor Discovery).
No way to resolve exists, unless it already embedded to corresponding protocol.
Assume you're a host on a link with prefix 3FFE:FFFF:A:B::/64. The router is the one with interface ID one.
What happens when you do "ping6 3FFE:FFFF:A:B::1" ? Seems to resolve a link-local address for the router just fine.
Signature · 3 lines
Pekka Savola "You each name yourselves king, yet the Netcore Oy kingdom bleeds." Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
Hello!
Quoted 2 lines
Assume you're a host on a link with prefix 3FFE:FFFF:A:B::/64. The router is the one with interface ID one.
Not going to work. Host autoconfiguration conventions have nothing to do with real addressing. Proceeding in this way you will denounce neighbour discovery, what the hell to do this when hw address can be recovered from EUI64 token? :-)
Quoted 1 line
What happens when you do "ping6 3FFE:FFFF:A:B::1" ?
Hey, you have lost track, rewind several mails ago. Of course, ping and any other protocols will work, how can it not work? :-)
Alexey
Quoted 7 lines · On Wed, 16 Jul 2003 [email protected] wrote:
Quoted 2 lines
Assume you're a host on a link with prefix 3FFE:FFFF:A:B::/64. The router is the one with interface ID one.
Not going to work. Host autoconfiguration conventions have nothing to do with real addressing. Proceeding in this way you will denounce neighbour discovery, what the hell to do this when hw address can be recovered from EUI64 token? :-)
Did you miss the word "Assume" ?
Quoted 3 lines
Quoted 1 line
What happens when you do "ping6 3FFE:FFFF:A:B::1" ?
Hey, you have lost track, rewind several mails ago.
Nope. I'm just pointing out the general concept.
Quoted 2 lines
Of course, ping and
any other protocols will work, how can it not work? :-)
It has been made shown to work on other platforms, so why not Linux?
Signature · 3 lines
Pekka Savola "You each name yourselves king, yet the Netcore Oy kingdom bleeds." Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
Hello!
Quoted 10 lines
Quoted 3 lines
Quoted 1 line
What happens when you do "ping6 3FFE:FFFF:A:B::1" ?
Hey, you have lost track, rewind several mails ago.
Nope. I'm just pointing out the general concept.
Quoted 2 lines
Of course, ping and
any other protocols will work, how can it not work? :-)It has been made shown to work on other platforms, so why not Linux?
ping did, does and will work and I do not understand what you want to say or ask. Do you want to know how it works?
Well, IPv6 stack looks up the address in routing tables, finds the route, sees that it is on-link, sends NDISC, receiver replies, we create a frame and send the echo request. To continue? :-)
Alexey
Quoted 8 lines · On Thu, 17 Jul 2003 [email protected] wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
What happens when you do "ping6 3FFE:FFFF:A:B::1" ?
ping did, does and will work and I do not understand what you want to say or ask. Do you want to know how it works?
Well, IPv6 stack looks up the address in routing tables, finds the route, sees that it is on-link, sends NDISC, receiver replies, we create a frame and send the echo request. To continue? :-)
(Sorry, it seems I've caused a lot of confusion in some parts of this thread by typoeing link-local address when I used link-layer address.. sorry)
So, assume you have 3FFE:FFFF:A:B::/64 prefix on link. On a host on that link, you've manually configured the next-hop to be the router on that link, 3FFE:FFFF:A:B::1.
The procedure to obtain the knowledge on where to send packets whose next-hop is 3FFE:FFFF:A:B::1 seems quite simple, similar to ping6.
As to obtaining the link-*local* address, there are several procedures none of which I would recomment. Checking the source address of a ND packet (e.g. in the ping6 example above), or using a protocol like ICMP name information queries (draft-ietf-ipngwg-icmp-name-lookups-10.txt).
Signature · 3 lines
Pekka Savola "You each name yourselves king, yet the Netcore Oy kingdom bleeds." Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings