GitHub user joolli edited a comment on the discussion: Host based routing - 
EVPN-VXLAN to the host - Single VXLAN Device (SVD)

So these are the commands that would be needed to be executed for the VM to be 
a part of the VNI:

## Created on host startup
ip link add dev br0 type bridge
ip link set dev br0 type bridge vlan_filtering 1
ip link add dev vxlan0 type vxlan external local [LOOPBACK ADDR] dstport 4789 
nolearning
ip link set dev vxlan0 master br0
bridge link set dev vxlan0 vlan_tunnel on

## Created by CloudStack on new network creation (I assume, accessed the GUI 
yet)
bridge vlan add dev vxlan0 vid 330
bridge vlan add dev vxlan0 vid 330 tunnel_info id 10330
* This would be taken care of by the modifyvxlan.sh script.

## To make the VM a part of the VLAN (thus the VNI)
ip link set dev vnet7 master br0
bridge vlan add vid 330 dev vnet7 pvid untagged
bridge vlan del vid 1 dev vnet7

GitHub link: 
https://github.com/apache/cloudstack/discussions/10786#discussioncomment-12992054

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to