OpenVSwitch in an ENV with fixed MACs

MaxR

New Member
Jan 21, 2018
4
0
1
28
Hi, im currently trying to setup OPenVSWicth on a Server hosted at online.net
For this, i want to tag all incomming traffic from the publically exposed interface to VLAN 100 and use a OVSIntPort fo access the Host itself.
For this to work i need to assign a fixed MAC to the OVSIntPort so that it gets its IP via DHCP from the network and is allowed to send stuff over it.
Im not sure how to do that.

My current progress is this, what obviously wont work because of the wrong MAC:
auto vmbr0
allow-ovs vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports eno1 external

allow-vmbr0 external
iface external inet dhcp
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=100
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif


auto eno1
allow-vmbr0 eno1
iface eno1 inet manual
ovs_type OVSPort
ovs_bridge vmbr0
ovs_options tag=100 vlan_mode=native-untagged

So, how do i fix this | force a macaddress for an OVSIntPort?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!