Skip to content

Instantly share code, notes, and snippets.

@peoplemerge
Last active August 29, 2015 13:56
Show Gist options
  • Save peoplemerge/8910449 to your computer and use it in GitHub Desktop.
Save peoplemerge/8910449 to your computer and use it in GitHub Desktop.
(slonikis-cloud) ubuntu@apollo:~/tripleo-incubator$ neutron port-list
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------+
| 8e6f5ad4-3686-42f8-880e-99020f4940f9 | | fa:16:3e:88:b8:53 | {"subnet_id": "8fb8bd9f-66c9-47c7-8963-721412bfd859", "ip_address": "192.0.2.2"} |
| c87527cf-cb73-49ee-b383-49b521675e73 | | 00:16:c6:b9:8f:b2 | {"subnet_id": "8fb8bd9f-66c9-47c7-8963-721412bfd859", "ip_address": "192.0.2.3"} |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------+
After correcting MAC addy:
$ neutron port-list
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------+
| 0d4ed47f-06dd-48a2-8f39-d33d196e5df5 | | 00:1f:c6:b9:8f:b2 | {"subnet_id": "8fb8bd9f-66c9-47c7-8963-721412bfd859", "ip_address": "192.0.2.3"} |
| 8e6f5ad4-3686-42f8-880e-99020f4940f9 | | fa:16:3e:88:b8:53 | {"subnet_id": "8fb8bd9f-66c9-47c7-8963-721412bfd859", "ip_address": "192.0.2.2"} |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------+
root@ubuntu:~# ifconfig
br-ctlplane Link encap:Ethernet HWaddr 9a:93:de:df:9e:45
inet addr:192.0.2.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::88e2:8eff:feec:5089/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:595 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:64310 (64.3 KB) TX bytes:648 (648.0 B)
br-int Link encap:Ethernet HWaddr ce:25:a5:4d:83:4f
inet6 addr: fe80::e083:98ff:fe71:c4c6/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:574 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:60125 (60.1 KB) TX bytes:648 (648.0 B)
eth0 Link encap:Ethernet HWaddr 52:54:00:7c:5d:82
inet addr:192.168.122.203 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe7c:5d82/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1351429 errors:0 dropped:0 overruns:0 frame:0
TX packets:81007 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2014564003 (2.0 GB) TX bytes:16388631 (16.3 MB)
eth1 Link encap:Ethernet HWaddr 52:54:00:6c:d3:c6
inet6 addr: fe80::5054:ff:fe6c:d3c6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:591 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:63990 (63.9 KB) TX bytes:1526 (1.5 KB)
int-br-ctlplane Link encap:Ethernet HWaddr 9e:b4:ff:5b:9c:7f
inet6 addr: fe80::9cb4:ffff:fe5b:9c7f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:573 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60035 (60.0 KB) TX bytes:1386 (1.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:2369261 errors:0 dropped:0 overruns:0 frame:0
TX packets:2369261 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3551172605 (3.5 GB) TX bytes:3551172605 (3.5 GB)
phy-br-ctlplane Link encap:Ethernet HWaddr 3e:54:6d:d4:aa:d5
inet6 addr: fe80::3c54:6dff:fed4:aad5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:573 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1386 (1.3 KB) TX bytes:60035 (60.0 KB)
root@ubuntu:~# ovs-vsctl show
03877e5d-3a45-4e83-8dcc-2ab480809388
Bridge br-int
Port int-br-ctlplane
Interface int-br-ctlplane
Port "tap8e6f5ad4-36"
tag: 1
Interface "tap8e6f5ad4-36"
type: internal
Port br-int
Interface br-int
type: internal
Bridge br-ctlplane
Port br-ctlplane
Interface br-ctlplane
type: internal
Port phy-br-ctlplane
Interface phy-br-ctlplane
Port "eth1"
Interface "eth1"
ovs_version: "1.10.2"
on host:
(slonikis-cloud) ubuntu@apollo:~/tripleo-incubator$ sudo ovs-vsctl show
[sudo] password for ubuntu:
e76907ec-c03d-409a-b327-6a66bfa07425
Bridge brbm
Port "vnet1"
Interface "vnet1"
Port brbm
Interface brbm
type: internal
ovs_version: "1.10.2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment