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
linux networking vlan
New contributor
add a comment |
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
linux networking vlan
New contributor
add a comment |
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
linux networking vlan
New contributor
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
linux networking vlan
New contributor
New contributor
edited Nov 28 at 7:08
Rui F Ribeiro
38.3k1476127
38.3k1476127
New contributor
asked Nov 28 at 7:03
bel var
1
1
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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