Openvswitch untagged with tagged vlan doesn't work











up vote
0
down vote

favorite












I have set up openvswitch with openstack but when i add untagged network it doesn't work



# 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


But when I run VM the dhcp request cannot goes out from physical interface



# 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


as the tagged vlans pass successfully










share|improve this question









New contributor




bel var is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    I have set up openvswitch with openstack but when i add untagged network it doesn't work



    # 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


    But when I run VM the dhcp request cannot goes out from physical interface



    # 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


    as the tagged vlans pass successfully










    share|improve this question









    New contributor




    bel var is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have set up openvswitch with openstack but when i add untagged network it doesn't work



      # 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


      But when I run VM the dhcp request cannot goes out from physical interface



      # 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


      as the tagged vlans pass successfully










      share|improve this question









      New contributor




      bel var is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have set up openvswitch with openstack but when i add untagged network it doesn't work



      # 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


      But when I run VM the dhcp request cannot goes out from physical interface



      # 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


      as the tagged vlans pass successfully







      linux networking vlan






      share|improve this question









      New contributor




      bel var is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      bel var is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Nov 28 at 7:08









      Rui F Ribeiro

      38.3k1476127




      38.3k1476127






      New contributor




      bel var is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 28 at 7:03









      bel var

      1




      1




      New contributor




      bel var is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      bel var is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      bel var is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          bel var is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484591%2fopenvswitch-untagged-with-tagged-vlan-doesnt-work%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          bel var is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          bel var is a new contributor. Be nice, and check out our Code of Conduct.













          bel var is a new contributor. Be nice, and check out our Code of Conduct.












          bel var is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484591%2fopenvswitch-untagged-with-tagged-vlan-doesnt-work%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          サソリ

          広島県道265号伴広島線

          Setup Asymptote in Texstudio