Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

root@(none):~# neutron router-port-list demo-router +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ | 0cda519a-a010-4fd2-81bd-f69c3a84c2b8 | | fa:16:3e:88:af:45 | {"subnet_id": "818b20de-552b-4fb0-ae90-d228c29a2f7a", "ip_address": "10.0.1.1"} | | e5947b7b-c429-4ee3-82a6-2daef0801cd9 | | fa:16:3e:bf:1d:9e | {"subnet_id": "546ca5c1-eba9-4d08-9132-0346b445ddfc", "ip_address": "137.78.38.240"} | +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ root@(none):~#

root@(none):~# neutron router-port-list demo-router +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ | 0cda519a-a010-4fd2-81bd-f69c3a84c2b8 | | fa:16:3e:88:af:45 | {"subnet_id": "818b20de-552b-4fb0-ae90-d228c29a2f7a", "ip_address": "10.0.1.1"} | | e5947b7b-c429-4ee3-82a6-2daef0801cd9 | | fa:16:3e:bf:1d:9e | {"subnet_id": "546ca5c1-eba9-4d08-9132-0346b445ddfc", "ip_address": "137.78.38.240"} | +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ root@(none):~#

root@(none):~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:23:54:9c:37:24
inet addr:137.78.38.177 Bcast:137.78.38.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:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:18 Memory:fdfa0000-fdfc0000

root@(none):~#

root@(none):~# neutron router-port-list demo-router demo-router

+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                            |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| 0cda519a-a010-4fd2-81bd-f69c3a84c2b8 |      | fa:16:3e:88:af:45 | {"subnet_id": "818b20de-552b-4fb0-ae90-d228c29a2f7a", "ip_address": "10.0.1.1"}      |
| e5947b7b-c429-4ee3-82a6-2daef0801cd9 |      | fa:16:3e:bf:1d:9e | {"subnet_id": "546ca5c1-eba9-4d08-9132-0346b445ddfc", "ip_address": "137.78.38.240"} |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
root@(none):~# 

root@(none):~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:23:54:9c:37:24
inet addr:137.78.38.177 Bcast:137.78.38.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:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:18 Memory:fdfa0000-fdfc0000

Memory:fdfa0000-fdfc0000

root@(none):~#