Openvswitch untagged com vlan marcado não funciona

0

Eu configurei o openvswitch com o openstack, mas quando eu adiciono uma rede sem tag, não funciona

# ovs-vsctl show
27676949-d259-46b8-95e7-0e29e586cb19
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "qvoce1bb758-c1"
            tag: 4
            Interface "qvoce1bb758-c1"
        Port "qvo2a768f32-86"
            tag: 2
            Interface "qvo2a768f32-86"
        Port "qvo3e82fce0-0e"
            tag: 2
            Interface "qvo3e82fce0-0e"
        Port "qvo05110b02-21"
            tag: 3
            Interface "qvo05110b02-21"
        Port br-int
            Interface br-int
                type: internal
        Port int-br-provider
            Interface int-br-provider
                type: patch
                options: {peer=phy-br-provider}
        Port "qvo2ca38c2f-d6"
            tag: 1
            Interface "qvo2ca38c2f-d6"
    Bridge br-provider
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "enp7s4f1"
            tag: 20
            trunks: [103, 151]
            Interface "enp7s4f1"
        Port phy-br-provider
            Interface phy-br-provider
                type: patch
                options: {peer=int-br-provider}
        Port br-provider
            Interface br-provider
                type: internal
    ovs_version: "2.9.0"

# ovs-vsctl list port enp7s4f1
_uuid               : c55d232b-86eb-4540-8804-791ca711c99e
bond_active_slave   : []
bond_downdelay      : 0
bond_fake_iface     : false
bond_mode           : []
bond_updelay        : 0
cvlans              : []
external_ids        : {}
fake_bridge         : false
interfaces          : [2f10a43a-c767-4fe8-b903-8391e597468a]
lacp                : []
mac                 : []
name                : "enp7s4f1"
other_config        : {}
protected           : false
qos                 : []
rstp_statistics     : {}
rstp_status         : {}
statistics          : {}
status              : {}
tag                 : 20
trunks              : [103, 151]
vlan_mode           : native-untagged

Mas quando eu executo VM, a solicitação dhcp não pode sair da interface física

# tcpdump -i br-provider port 67 or port 68 -e -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-provider, link-type EN10MB (Ethernet), capture size 262144 bytes
09:06:27.866529 fa:16:3e:ba:b1:66 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from fa:16:3e:ba:b1:66, length 300
^C
1 packet captured
1 packet received by filter
0 packets dropped by kernel


# tcpdump -i enp7s4f1 port 67 or port 68 -e -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp7s4f1, link-type EN10MB (Ethernet), capture size 262144 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel

como as vlans marcadas passam com sucesso

    
por bel var 28.11.2018 / 08:03

0 respostas