Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@network 135185ea-a416-463b-a331-e9930551d42e]# ip netns
- qdhcp-135185ea-a416-463b-a331-e9930551d42e
- qrouter-2f35b6f0-eaae-4059-8920-1335bf659339
- [root@network 135185ea-a416-463b-a331-e9930551d42e]# ip netns exec qdhcp-135185ea-a416-463b-a331-e9930551d42e ifconfig
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:27 errors:0 dropped:0 overruns:0 frame:0
- TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:15552 (15.1 KiB) TX bytes:15552 (15.1 KiB)
- tap59ace705-bf Link encap:Ethernet HWaddr FA:16:3E:41:83:15
- inet addr:125.125.0.2 Bcast:125.125.0.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 b) TX bytes:90 (90.0 b)
- [root@network]# ip a
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
- link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
- inet 127.0.0.1/8 scope host lo
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 00:50:56:b9:33:c0 brd ff:ff:ff:ff:ff:ff
- inet 10.0.0.21/24 brd 10.0.0.255 scope global eth0
- 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 00:50:56:b9:e2:66 brd ff:ff:ff:ff:ff:ff
- inet 10.0.1.21/24 brd 10.0.1.255 scope global eth1
- 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 00:50:56:b9:28:78 brd ff:ff:ff:ff:ff:ff
- 5: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
- link/ether 0e:a9:d4:69:2b:5a brd ff:ff:ff:ff:ff:ff
- 6: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether 00:50:56:b9:28:78 brd ff:ff:ff:ff:ff:ff
- 9: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether 92:b3:97:d3:f7:40 brd ff:ff:ff:ff:ff:ff
- 13: br-tun: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether 12:a3:b1:78:26:4b brd ff:ff:ff:ff:ff:ff
- [root@compute1# ip a
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
- link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
- inet 127.0.0.1/8 scope host lo
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 00:50:56:a5:53:92 brd ff:ff:ff:ff:ff:ff
- inet 10.0.0.31/24 brd 10.0.0.255 scope global eth0
- 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
- link/ether 00:50:56:a5:21:17 brd ff:ff:ff:ff:ff:ff
- inet 10.0.1.31/24 brd 10.0.1.255 scope global eth1
- 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 00:50:56:a5:80:7e brd ff:ff:ff:ff:ff:ff
- inet 192.168.1.182/24 brd 192.168.1.255 scope global eth2
- 5: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
- link/ether 3a:60:68:74:05:0e brd ff:ff:ff:ff:ff:ff
- 6: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether 32:c1:90:71:b7:4e brd ff:ff:ff:ff:ff:ff
- 8: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether 52:54:00:8e:e6:06 brd ff:ff:ff:ff:ff:ff
- inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
- 9: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 500
- link/ether 52:54:00:8e:e6:06 brd ff:ff:ff:ff:ff:ff
- 12: br-tun: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether 62:6b:0b:3b:57:46 brd ff:ff:ff:ff:ff:ff
- 100: qbr16606914-07: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether 26:b6:1f:bc:3f:44 brd ff:ff:ff:ff:ff:ff
- 101: qvo16606914-07: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 62:c5:5a:7d:eb:cb brd ff:ff:ff:ff:ff:ff
- 102: qvb16606914-07: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 26:b6:1f:bc:3f:44 brd ff:ff:ff:ff:ff:ff
- 103: tap16606914-07: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
- link/ether fe:16:3e:d4:e9:a1 brd ff:ff:ff:ff:ff:ff
- 104: qbre29cc150-f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether 32:f6:3b:1f:51:d8 brd ff:ff:ff:ff:ff:ff
- 105: qvoe29cc150-f3: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether b6:bb:55:6e:0e:93 brd ff:ff:ff:ff:ff:ff
- 106: qvbe29cc150-f3: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 32:f6:3b:1f:51:d8 brd ff:ff:ff:ff:ff:ff
- 107: tape29cc150-f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
- link/ether fe:16:3e:8f:39:4d brd ff:ff:ff:ff:ff:ff
- 108: qbr36bbaa63-24: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether 8a:20:67:87:40:c4 brd ff:ff:ff:ff:ff:ff
- 109: qvo36bbaa63-24: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether a6:a9:06:7f:98:2e brd ff:ff:ff:ff:ff:ff
- 110: qvb36bbaa63-24: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 8a:20:67:87:40:c4 brd ff:ff:ff:ff:ff:ff
- 111: tap36bbaa63-24: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
- link/ether fe:16:3e:b1:a6:ed brd ff:ff:ff:ff:ff:ff
- [root@network neutron]# ovs-vsctl show
- 4fb97892-454c-47d5-9bf9-441c772d4605
- Bridge br-tun
- Port patch-int
- Interface patch-int
- type: patch
- options: {peer=patch-tun}
- Port br-tun
- Interface br-tun
- type: internal
- Port "gre-0a00011f"
- Interface "gre-0a00011f"
- type: gre
- options: {in_key=flow, local_ip="10.0.1.21", out_key=flow, remote_ip="10.0.1.31"}
- Bridge br-int
- fail_mode: secure
- Port br-int
- Interface br-int
- type: internal
- Port patch-tun
- Interface patch-tun
- type: patch
- options: {peer=patch-int}
- Port "tap59ace705-bf"
- tag: 4095
- Interface "tap59ace705-bf"
- type: internal
- Port "qr-8edf09fb-64"
- tag: 1
- Interface "qr-8edf09fb-64"
- type: internal
- Bridge br-ex
- Port "eth2"
- Interface "eth2"
- Port br-ex
- Interface br-ex
- type: internal
- Port "qg-35ecd29a-78"
- Interface "qg-35ecd29a-78"
- type: internal
- ovs_version: "1.11.0"
- [root@network neutron]#
- [root@compute1 neutron]# ovs-vsctl show
- 836f8047-b974-4e46-a30a-a60da7987d4a
- Bridge br-tun
- Port "gre-0a000115"
- Interface "gre-0a000115"
- type: gre
- options: {in_key=flow, local_ip="10.0.1.31", out_key=flow, remote_ip="10.0.1.21"}
- Port br-tun
- Interface br-tun
- type: internal
- Port patch-int
- Interface patch-int
- type: patch
- options: {peer=patch-tun}
- Bridge br-int
- fail_mode: secure
- Port patch-tun
- Interface patch-tun
- type: patch
- options: {peer=patch-int}
- Port "qvo16606914-07"
- tag: 11
- Interface "qvo16606914-07"
- Port br-int
- Interface br-int
- type: internal
- Port "qvoe29cc150-f3"
- tag: 11
- Interface "qvoe29cc150-f3"
- Port "qvo36bbaa63-24"
- tag: 11
- Interface "qvo36bbaa63-24"
- Port "qvo90d721a4-66"
- tag: 1
- Interface "qvo90d721a4-66"
- ovs_version: "1.11.0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement