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:
So, how do i fix this | force a macaddress for an OVSIntPort?
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
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: