Connecting legacy vlan with vxlan

selund

Renowned Member
May 18, 2010
27
4
68
Hello, I'm trying to migrate from vlan to vxlan, and I'm trying to figure out how to best bridge between a vxlan and a vlan. My initial thought was to use a linux vm and just bridge between two interfaces. While this will work, I'm wondering if there is a better way to do this? I know that it's possible to put a vlan interface into a vxlan bridge on a host, but the issue with that is redundancy. If one node goes down for some reason I've just lost what's bridging between multilple vlan to vxlans. Are there a "correct" way to do this?
 
Hi,

I woud avoid to mix in the same bridge 2 interfaces with different L2 MTU(vlan and vxlan headers use different sizes). So you will have mtu fragmentation from one interface to the other interface. Also you must use clamp to mtu at the ip level.

If you take care about this factors, it will be work.

If you ask me, I will use only vxlan or only vlans. Not both at the same time. Vxlan is ok if you need to use more then 4094 vlans, and consume more cpu compared with vlan. Also note, that vxlan use udp, so, if your network is not ok(low latency), then, your vxlans will not perform very well.

Good luck / Bafta !