Hi, I am setting up a kvm/qemu/libvirt host (debian buster 10.5) with two ethernet interfaces: eno1 for the host traffic and eno2 for the VM traffic. eno2 is connected to a trunk switch port carrying the VLANs 4,7,221 and 800.
So i put this in /etc/network/interfaces: ========================= allow-ovs br0 iface br0 inet static ovs_type OVSBridge ovs_ports eno2 allow-br0 eno2 iface eno2 inet manual ovs_bridge br0 ovs_type OVSPort ovs_options tag=4,7,221,800 ========================== this gives me ========================== ovs-vsctl show 0946b4ce-fb87-4fb5-84fd-c9fec7d7dbd5 Bridge "br0" Port "vnet1" tag: 800 Interface "vnet1" Port "br0" Interface "br0" type: internal Port "vnet0" tag: 800 Interface "vnet0" ovs_version: "2.12.0" =========================== the vnet0 and vnet1 are virtual machines. btw, this is the XML of the respective network: =========================== <network connections='2'> <name>guest-network</name> <uuid>c6c325fb-cd95-4d1a-971a-dc241c2c853e</uuid> <forward mode='bridge'/> <bridge name='br0'/> <virtualport type='openvswitch'/> <portgroup name='vlan-4'> <vlan> <tag id='4'/> </vlan> </portgroup> <portgroup name='vlan-7'> <vlan> <tag id='7'/> </vlan> </portgroup> <portgroup name='vlan-800'> <vlan> <tag id='800'/> </vlan> </portgroup> <portgroup name='vlan-all'> <vlan trunk='yes'> <tag id='4'/> <tag id='7'/> <tag id='221'/> <tag id='800'/> </vlan> </portgroup> </network> ============================ if i do ========================== ip link set eno2 up ========================== i get ========================== ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 34:48:ed:f0:a9:e8 brd ff:ff:ff:ff:ff:ff inet 195.37.235.117/26 brd 195.37.235.127 scope global eno1 valid_lft forever preferred_lft forever inet6 fe80::3648:edff:fef0:a9e8/64 scope link valid_lft forever preferred_lft forever 3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 34:48:ed:f0:a9:e9 brd ff:ff:ff:ff:ff:ff inet6 fe80::3648:edff:fef0:a9e9/64 scope link valid_lft forever preferred_lft forever 4: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 36:97:3a:8e:fd:fb brd ff:ff:ff:ff:ff:ff 5: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether 36:66:8b:eb:9a:42 brd ff:ff:ff:ff:ff:ff inet6 fe80::3466:8bff:feeb:9a42/64 scope link valid_lft forever preferred_lft forever 6: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UNKNOWN group default qlen 1000 link/ether fe:ad:be:ef:02:02 brd ff:ff:ff:ff:ff:ff inet6 fe80::fcad:beff:feef:202/64 scope link valid_lft forever preferred_lft forever 7: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UNKNOWN group default qlen 1000 link/ether fe:ad:be:ef:01:01 brd ff:ff:ff:ff:ff:ff inet6 fe80::fcad:beff:feef:101/64 scope link valid_lft forever preferred_lft forever ========================================== Why doesn't eno2 show up no br0? how do i tell /etc/network/interfaces that eno2 should be UP? is the notation for the VLANs correct for eno2 in /etc/network/interfaces?
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss