Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@nethost network-scripts]# ip netns ls
- qrouter-7573b61c-1cb2-43bc-8296-421e319d2bd0
- qdhcp-f8bdf250-d08f-467a-a073-003ea3165c5d
- [root@nethost network-scripts]# ip netns exec qdhcp-f8bdf250-d08f-467a-a073-003ea3165c5d ifconfig
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- inet6 ::1 prefixlen 128 scopeid 0x10<host>
- loop txqueuelen 0 (Local Loopback)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- tap270c51fa-76: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 10.0.0.101 netmask 255.255.255.0 broadcast 10.0.0.255
- inet6 fe80::f816:3eff:fee8:3cd7 prefixlen 64 scopeid 0x20<link>
- ether fa:16:3e:e8:3c:d7 txqueuelen 0 (Ethernet)
- RX packets 11 bytes 724 (724.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 8 bytes 648 (648.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- [root@nethost network-scripts]#
- ip netns exec qrouter-7573b61c-1cb2-43bc-8296-421e319d2bd0 ifconfig
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- inet6 ::1 prefixlen 128 scopeid 0x10<host>
- loop txqueuelen 0 (Local Loopback)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- qg-8d652de9-58: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 10.2.57.68 netmask 255.255.255.0 broadcast 10.2.57.255
- inet6 fe80::f816:3eff:fe4e:b045 prefixlen 64 scopeid 0x20<link>
- ether fa:16:3e:4e:b0:45 txqueuelen 0 (Ethernet)
- RX packets 12 bytes 1080 (1.0 KiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 13 bytes 990 (990.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- qr-1a0e7fd7-63: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
- inet6 fe80::f816:3eff:feac:4843 prefixlen 64 scopeid 0x20<link>
- ether fa:16:3e:ac:48:43 txqueuelen 0 (Ethernet)
- RX packets 24 bytes 1972 (1.9 KiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 10 bytes 864 (864.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- [root@nethost network-scripts]# ovs-vsctl show
- a2345917-b56c-4413-8ea3-2d383c8cbc92
- Bridge br-ex
- Port br-ex
- Interface br-ex
- type: internal
- Port "eth4"
- Interface "eth4"
- Port phy-br-ex
- Interface phy-br-ex
- type: patch
- options: {peer=int-br-ex}
- 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-0a00001f"
- Interface "gre-0a00001f"
- type: gre
- options: {df_default="true", in_key=flow, local_ip="10.0.0.2", out_key=flow, remote_ip="10.0.0.31"}
- Bridge br-vlan
- Port "eth1"
- Interface "eth1"
- Port phy-br-vlan
- Interface phy-br-vlan
- type: patch
- options: {peer=int-br-vlan}
- Port br-vlan
- Interface br-vlan
- type: internal
- Bridge br-int
- fail_mode: secure
- Port int-br-ex
- Interface int-br-ex
- type: patch
- options: {peer=phy-br-ex}
- Port br-int
- Interface br-int
- type: internal
- Port int-br-vlan
- Interface int-br-vlan
- type: patch
- options: {peer=phy-br-vlan}
- Port "tap270c51fa-76"
- tag: 1
- Interface "tap270c51fa-76"
- type: internal
- Port "qr-1a0e7fd7-63"
- tag: 1
- Interface "qr-1a0e7fd7-63"
- type: internal
- Port "qg-8d652de9-58"
- tag: 2
- Interface "qg-8d652de9-58"
- type: internal
- ovs_version: "2.1.3"
- [root@nethost network-scripts]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement