[pve-devel] [PATCH pve-docs 0/1] vxlan l3 routing

Dietmar Maurer dietmar at proxmox.com
Fri Dec 14 07:51:15 CET 2018


I suggest to always use the zone id as prefix for vlan/vxlan
devices. Its simply to implement and avid problems in future.

Although most people will only have only one zone? 

> On December 13, 2018 at 11:46 AM Alexandre DERUMIER <aderumier at odiso.com> wrote:
> 
> 
> looking at kernel code in this patch
> https://lore.kernel.org/patchwork/patch/768867/
> 
> 
> +		if (tmp->cfg.vni != conf->vni)
> +			continue;
> +		if ((tmp->default_dst.remote_ip.sa.sa_family == AF_INET6 ||
> +		     tmp->cfg.saddr.sa.sa_family == AF_INET6) != use_ipv6)
> +			continue;
> +		if (tmp->cfg.dst_port != vxlan->cfg.dst_port)
> +			continue;
> 
> it's only possible with a different dstport.
> 
> /bin/ip  link add dev vxlan20 type vxlan id 20 dstport 4789
> /bin/ip  link add dev vxlan21 type vxlan id 20 dstport 4790




More information about the pve-devel mailing list