[ovs-discuss] Tap interface strange state in openvswitch bridge

Eugene Prokopiev enp at itx.ru
Sat Jan 12 11:52:36 UTC 2019


Hi,

I tried to use openvswitch 2.10.1 on CentOS 7.6 as simple bridge with
this configuration:

# ovs-vsctl show
871cc572-c509-45ca-878e-d6c47a366334
    Bridge "ovsbr0"
        Port "tap0"
            Interface "tap0"
        Port "ovsbr0"
            Interface "ovsbr0"
                type: internal
        Port "enp2s0f1"
            Interface "enp2s0f1"
    ovs_version: "2.10.1"

Interfaces enp2s0f1 and ovsbr0 are up:

# ip link show enp2s0f1
5: enp2s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq
master ovs-system state UP mode DEFAULT group default qlen 1000
    link/ether 10:1f:74:31:ec:24 brd ff:ff:ff:ff:ff:ff

# ip link show ovsbr0
10: ovsbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 10:1f:74:31:ec:24 brd ff:ff:ff:ff:ff:ff

I see network packets on enp2s0f1 and ovsbr0 both with tcpdump, but
see nothing on tap0, which has strange state:

# ip link show tap0
11: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
pfifo_fast master ovs-system state DOWN mode DEFAULT group default
qlen 1000
    link/ether 02:11:42:60:63:d8 brd ff:ff:ff:ff:ff:ff

Nothing happens after ip link set tap0 up

What is wrong in my configuration?

-- 
WBR,
Eugene Prokopiev


More information about the discuss mailing list