Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1624398
| From | Matthias Schiffer <mschiffer@universe-factory.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next v2 6/6] vxlan: allow multiple VXLANs with same VNI for IPv6 link-local addresses |
| Date | 2017-04-16 17:20 +0200 |
| Message-ID | <twU82-5dS-5@gated-at.bofh.it> (permalink) |
| References | <twcA1-3pr-3@gated-at.bofh.it> <twcA2-3pr-23@gated-at.bofh.it> <twdmq-3Wz-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On 04/14/2017 07:38 PM, Stephen Hemminger wrote: > On Fri, 14 Apr 2017 18:44:46 +0200 > Matthias Schiffer <mschiffer@universe-factory.net> wrote: > >> As link-local addresses are only valid for a single interface, we can allow >> to use the same VNI for multiple independent VXLANs, as long as the used >> interfaces are distinct. This way, VXLANs can always be used as a drop-in >> replacement for VLANs with greater ID space. >> >> This also extends VNI lookup to respect the ifindex when link-local IPv6 >> addresses are used, so using the same VNI on multiple interfaces can >> actually work. >> >> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> > > Why does this have to be IPv6 specific? I'm not familar with IPv4 link-local addresses and how route lookup works for them. vxlan_get_route() sets flowi4_oif to the outgoing interface; does __ip_route_output_key_hash() do the right thing for link-local addresses when such addresses are used on multiple interfaces? I see some special casing for multicast destinations, but none for link-local ones. > > What about the case where VXLAN is not bound to an interface? > If that is used then that could be a problem. > With patch 4/6, link-local IPv6 addresses can't be configured without an interface anymore. Matthias
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next v2 6/6] vxlan: allow multiple VXLANs with same VNI for IPv6 link-local addresses Matthias Schiffer <mschiffer@universe-factory.net> - 2017-04-14 18:50 +0200
Re: [PATCH net-next v2 6/6] vxlan: allow multiple VXLANs with same VNI for IPv6 link-local addresses Stephen Hemminger <stephen@networkplumber.org> - 2017-04-14 19:40 +0200
Re: [PATCH net-next v2 6/6] vxlan: allow multiple VXLANs with same VNI for IPv6 link-local addresses Matthias Schiffer <mschiffer@universe-factory.net> - 2017-04-16 17:20 +0200
csiph-web