-
Notifications
You must be signed in to change notification settings - Fork 3
02. OpenStack VLAN 설치 network node 확인
Ian Y. Choi edited this page Jun 7, 2015
·
1 revision
[root@study-network ~]# ovs-vsctl show
e768b209-59b7-4b9f-b0c5-71adcfeb9b2b
Bridge br-ex
Port "eth3"
Interface "eth3"
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port br-ex
Interface br-ex
type: internal
Bridge br-int
fail_mode: secure
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port "int-br-eth2"
Interface "int-br-eth2"
type: patch
options: {peer="phy-br-eth2"}
Port "qr-43256000-e9"
tag: 1
Interface "qr-43256000-e9"
type: internal
Port "tap525a919c-0b"
tag: 1
Interface "tap525a919c-0b"
type: internal
Port "qg-f10df851-e0"
tag: 2
Interface "qg-f10df851-e0"
type: internal
Port br-int
Interface br-int
type: internal
Bridge "br-eth2"
Port "eth2"
Interface "eth2"
Port "br-eth2"
Interface "br-eth2"
type: internal
Port "phy-br-eth2"
Interface "phy-br-eth2"
type: patch
options: {peer="int-br-eth2"}
ovs_version: "2.3.1"
[root@study-network ~]# ovs-ofctl dump-flows br-eth2
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=707.391s, table=0, n_packets=36, n_bytes=3674, idle_age=231, priority=1 actions=NORMAL
cookie=0x0, duration=559.279s, table=0, n_packets=3, n_bytes=230, idle_age=551, priority=4,in_port=2,dl_vlan=1 actions=mod_vlan_vid:1001,NORMAL
cookie=0x0, duration=556.710s, table=0, n_packets=5, n_bytes=402, idle_age=548, priority=4,in_port=2,dl_vlan=2 actions=mod_vlan_vid:1000,NORMAL
cookie=0x0, duration=706.923s, table=0, n_packets=23, n_bytes=1954, idle_age=556, priority=2,in_port=2 actions=drop
[root@study-network ~]# ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=724.838s, table=0, n_packets=31, n_bytes=2586, idle_age=565, priority=1 actions=NORMAL
cookie=0x0, duration=573.172s, table=0, n_packets=0, n_bytes=0, idle_age=573, priority=3,in_port=2,dl_vlan=1000 actions=mod_vlan_vid:2,NORMAL
cookie=0x0, duration=575.661s, table=0, n_packets=0, n_bytes=0, idle_age=575, priority=3,in_port=2,dl_vlan=1001 actions=mod_vlan_vid:1,NORMAL
cookie=0x0, duration=724.187s, table=0, n_packets=38, n_bytes=4067, idle_age=2, priority=2,in_port=1 actions=drop
cookie=0x0, duration=723.481s, table=0, n_packets=35, n_bytes=3614, idle_age=247, priority=2,in_port=2 actions=drop
cookie=0x0, duration=724.790s, table=23, n_packets=0, n_bytes=0, idle_age=724, priority=0 actions=drop
[root@study-network ~]# ip netns
qdhcp-9cb1e020-a9ec-44c4-8263-1ad52a944e8d
qrouter-a387bdb7-1691-4710-90bb-3a50ca427b8f
[root@study-network ~]# ip netns exec qdhcp-9cb1e020-a9ec-44c4-8263-1ad52a944e8d ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 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
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
13: tap525a919c-0b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:af:99:80 brd ff:ff:ff:ff:ff:ff
inet 172.16.1.2/24 brd 172.16.1.255 scope global tap525a919c-0b
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:feaf:9980/64 scope link
valid_lft forever preferred_lft forever
[root@study-network ~]# ip netns exec qrouter-a387bdb7-1691-4710-90bb-3a50ca427b8f ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 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
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
14: qr-43256000-e9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:42:ca:77 brd ff:ff:ff:ff:ff:ff
inet 172.16.1.1/24 brd 172.16.1.255 scope global qr-43256000-e9
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe42:ca77/64 scope link
valid_lft forever preferred_lft forever
15: qg-f10df851-e0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:be:83:22 brd ff:ff:ff:ff:ff:ff
inet 192.168.33.101/24 brd 192.168.33.255 scope global qg-f10df851-e0
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:febe:8322/64 scope link
valid_lft forever preferred_lft forever