Neutron命令测试5
jolin@jolin:/$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.98.1 0.0.0.0 UG 0 0 0 br-ex
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 br-ex
192.168.98.0 0.0.0.0 255.255.255.0 U 0 0 0 br-ex
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
jolin@jolin:/$ sudo ovs-vsctl show
665bb710-983b-496f-a4db-59830da2abd2
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-int
fail_mode: secure
Port "qr-e0fc09be-c3"
tag: 5
Interface "qr-e0fc09be-c3"
type: internal
Port "qvo53bf445e-9b"
tag: 5
Interface "qvo53bf445e-9b"
Port "tapb2f440bb-af"
tag: 5
Interface "tapb2f440bb-af"
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "tapfbe8577a-27"
tag: 4095
Interface "tapfbe8577a-27"
type: internal
Port br-int
Interface br-int
type: internal
Bridge br-ex
Port "eth0"
Interface "eth0"
Port "qg-247f31fd-50"
Interface "qg-247f31fd-50"
type: internal
Port br-ex
Interface br-ex
type: internal
ovs_version: "2.0.2"
jolin@jolin:/$ ifconfig
br-ex Link encap:Ethernet HWaddr 00:0c:29:f6:f4:72
inet addr:192.168.98.85 Bcast:192.168.98.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fef6:f472/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:79864 errors:0 dropped:73 overruns:0 frame:0
TX packets:53525 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12162840 (12.1 MB) TX bytes:17217346 (17.2 MB)
br-int Link encap:Ethernet HWaddr 56:d4:65:62:e6:47
inet6 addr: fe80::c0ef:b7ff:fe3c:892e/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:87574 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7677283 (7.6 MB) TX bytes:808 (808.0 B)
br-tun Link encap:Ethernet HWaddr d2:90:ce:5f:88:42
inet6 addr: fe80::28c3:cff:fe29:a714/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:738 (738.0 B)
eth0 Link encap:Ethernet HWaddr 00:0c:29:f6:f4:72
inet6 addr: fe80::20c:29ff:fef6:f472/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:841 errors:0 dropped:0 overruns:0 frame:0
TX packets:790 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:74718 (74.7 KB) TX bytes:792363 (792.3 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13905187 errors:0 dropped:0 overruns:0 frame:0
TX packets:13905187 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3707703034 (3.7 GB) TX bytes:3707703034 (3.7 GB)
qbr53bf445e-9b Link encap:Ethernet HWaddr b6:cc:5d:6e:53:9a
inet6 addr: fe80::2caf:6bff:fe2c:f3a4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:502 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:91010 (91.0 KB) TX bytes:8364 (8.3 KB)
qvb53bf445e-9b Link encap:Ethernet HWaddr b6:cc:5d:6e:53:9a
inet6 addr: fe80::b4cc:5dff:fe6e:539a/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:662 errors:0 dropped:0 overruns:0 frame:0
TX packets:763 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:117380 (117.3 KB) TX bytes:124709 (124.7 KB)
qvo53bf445e-9b Link encap:Ethernet HWaddr 2e:6b:30:b1:6c:c2
inet6 addr: fe80::2c6b:30ff:feb1:6cc2/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:763 errors:0 dropped:0 overruns:0 frame:0
TX packets:662 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:124709 (124.7 KB) TX bytes:117380 (117.3 KB)
tap53bf445e-9b Link encap:Ethernet HWaddr fe:16:3e:6e:de:07
inet6 addr: fe80::fc16:3eff:fe6e:de07/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:217 errors:0 dropped:0 overruns:0 frame:0
TX packets:260 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:20753 (20.7 KB) TX bytes:32905 (32.9 KB)
virbr0 Link encap:Ethernet HWaddr fa:c5:5c:d1:2f:82
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)