Skip to content

Instantly share code, notes, and snippets.

@sombrafam
Created February 23, 2017 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sombrafam/559ab8993165f92d1a53c5799f39aeb3 to your computer and use it in GitHub Desktop.
Save sombrafam/559ab8993165f92d1a53c5799f39aeb3 to your computer and use it in GitHub Desktop.
ps aux | grep qemu
root 20187 0.0 0.0 12944 1092 pts/4 S+ 17:32 0:00 grep --color=auto qemu
root@virtual-blade2:/home/ubuntu# ifconfig -a
br-ens3 Link encap:Ethernet HWaddr 52:54:00:34:10:a2
inet addr:192.168.51.80 Bcast:192.168.51.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe34:10a2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68085 errors:0 dropped:0 overruns:0 frame:0
TX packets:73755 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7742888 (7.7 MB) TX bytes:13074348 (13.0 MB)
br-ex Link encap:Ethernet HWaddr e6:8a:81:be:86:42
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:2228 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-int Link encap:Ethernet HWaddr 52:4a:e0:14:65:43
BROADCAST MULTICAST MTU:1458 Metric:1
RX packets:0 errors:0 dropped:2307 overruns:0 frame:0
TX packets:0 errors:6 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-tun Link encap:Ethernet HWaddr ea:0b:96:82:9d:40
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:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ens3 Link encap:Ethernet HWaddr 52:54:00:34:10:a2
inet6 addr: fe80::5054:ff:fe34:10a2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:929740 errors:0 dropped:0 overruns:0 frame:0
TX packets:764008 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:241570853 (241.5 MB) TX bytes:311111931 (311.1 MB)
ens4 Link encap:Ethernet HWaddr 52:54:00:a0:14:b5
inet6 addr: fe80::5054:ff:fea0:14b5/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:2338 errors:0 dropped:0 overruns:0 frame:0
TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:245438 (245.4 KB) TX bytes:6965 (6.9 KB)
gre0 Link encap:UNSPEC HWaddr 00-00-00-00-35-34-3A-30-00-00-00-00-00-00-00-00
NOARP MTU:1476 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:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
gre_sys Link encap:Ethernet HWaddr 82:10:5b:89:2b:ce
inet6 addr: fe80::8010:5bff:fe89:2bce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:65490 Metric:1
RX packets:384 errors:0 dropped:0 overruns:0 frame:0
TX packets:262 errors:0 dropped:8 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38031 (38.0 KB) TX bytes:25411 (25.4 KB)
gretap0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1462 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:137413 errors:0 dropped:0 overruns:0 frame:0
TX packets:137413 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:14056742 (14.0 MB) TX bytes:14056742 (14.0 MB)
lxdbr0 Link encap:Ethernet HWaddr 7a:76:74:83:92:49
inet addr:10.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::7876:74ff:fe83:9249/64 Scope:Link
UP BROADCAST RUNNING MULTICAST 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:1000
RX bytes:0 (0.0 B) TX bytes:570 (570.0 B)
ovs-system Link encap:Ethernet HWaddr 5e:52:60:46:cb:b0
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:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
tap4912a3f1-28 Link encap:Ethernet HWaddr 7e:f5:d7:f0:4e:95
UP BROADCAST RUNNING MULTICAST MTU:1458 Metric:1
RX packets:265 errors:0 dropped:0 overruns:0 frame:0
TX packets:388 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27626 (27.6 KB) TX bytes:38120 (38.1 KB)
tapbab3ee14-6f Link encap:Ethernet HWaddr ee:4d:cb:36:c8:8a
UP BROADCAST RUNNING MULTICAST MTU:1458 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2965 (2.9 KB) TX bytes:4881 (4.8 KB)
tapbdf04cc0-03 Link encap:Ethernet HWaddr 0e:de:51:af:2f:db
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2502 (2.5 KB) TX bytes:0 (0.0 B)
veth24FWUS Link encap:Ethernet HWaddr fe:2f:7f:24:32:f9
inet6 addr: fe80::fc2f:7fff:fe24:32f9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:314540 errors:0 dropped:0 overruns:0 frame:0
TX packets:372720 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:87576482 (87.5 MB) TX bytes:92469549 (92.4 MB)
vethMQN7E8 Link encap:Ethernet HWaddr fe:17:56:c6:08:0b
inet6 addr: fe80::fc17:56ff:fec6:80b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:399745 errors:0 dropped:0 overruns:0 frame:0
TX packets:503815 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:207161577 (207.1 MB) TX bytes:138040034 (138.0 MB)
vethY777PP Link encap:Ethernet HWaddr fe:cc:e7:eb:c2:92
inet6 addr: fe80::fccc:e7ff:feeb:c292/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88304 errors:0 dropped:0 overruns:0 frame:0
TX packets:97276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19060649 (19.0 MB) TX bytes:18197122 (18.1 MB)
root@virtual-blade2:/home/ubuntu# brctl show
bridge name bridge id STP enabled interfaces
br-ens3 8000.5254003410a2 no ens3
veth24FWUS
vethMQN7E8
vethY777PP
lxdbr0 8000.000000000000 no
root@virtual-blade2:/home/ubuntu# ovs-vsctl show
1aea9dcd-5a27-4f5a-a450-22c529b1b6b2
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 int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port "tapbdf04cc0-03"
tag: 3
Interface "tapbdf04cc0-03"
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "tapbab3ee14-6f"
tag: 4
Interface "tapbab3ee14-6f"
Port br-int
Interface br-int
type: internal
Port "tap4912a3f1-28"
tag: 4
Interface "tap4912a3f1-28"
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "gre-c0a83353"
Interface "gre-c0a83353"
type: gre
options: {df_default="true", in_key=flow, local_ip="192.168.51.80", out_key=flow, remote_ip="192.168.51.83"}
Port br-tun
Interface br-tun
type: internal
Port "gre-c0a83351"
Interface "gre-c0a83351"
type: gre
options: {df_default="true", in_key=flow, local_ip="192.168.51.80", out_key=flow, remote_ip="192.168.51.81"}
Bridge br-ex
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port "ens4"
Interface "ens4"
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port br-ex
Interface br-ex
type: internal
ovs_version: "2.6.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment