set an ip address for a vxlan bridge

clash

Member
Feb 12, 2024
3
0
6
Hi there,

I create a simple vxlan zone and within a vnet wan1. After applying I see a bridge wan1. I need to add an ip address to it. Unfortunately that is not possible at the moment. Is there a workarround?
 
If you mean an IP on the PVE host side, I would not edit the generated `wan1` bridge directly; SDN will overwrite that again. Add it as a subnet/gateway in Datacenter -> SDN -> VNets/Subnets, then Apply SDN and check `ip addr show wan1` plus the generated file under `/etc/network/interfaces.d/`. If the VNet is only meant as L2 transport for guests, the bridge itself normally does not need an address.
 
  • Like
Reactions: UdoB
Ive created a subnet (10.10.10.0/24, gw. 10.10.10.1) for Vnet wan1. After applying I cannot find an ip address
assigned to the bridge.
I was search in /etc/network recursivley.

Maybe there is another routing table or namespace where the ip is assigned?
Any suggestions?
 
Currently you can only override this manually in /etc/network/interfaces by creating an entry for the VXLAN interface there - ifupdown2 automatically merges it:

Code:
iface vxlan123 inet static
    address 192.0.2.0/24