Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ifconfig -a:

[root@openstack2-newton ~]# ifconfig -a br-ex: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 10.133.152.180 netmask 255.255.255.0 broadcast 10.133.152.255 inet6 fe80::21a:4aff:fe16:188 prefixlen 64 scopeid 0x20<link> ether 00:1a:4a:16:01:88 txqueuelen 0 (Ethernet) RX packets 1041739 bytes 99342827 (94.7 MiB) RX errors 0 dropped 11 overruns 0 frame 0 TX packets 670241 bytes 134080834 (127.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-int: flags=4163<up,broadcast,running,multicast> mtu 1450 inet6 fe80::80c8:39ff:fe73:eb4a prefixlen 64 scopeid 0x20<link> ether 82:c8:39:73:eb:4a txqueuelen 0 (Ethernet) RX packets 10 bytes 864 (864.0 B) RX errors 0 dropped 78 overruns 0 frame 0 TX packets 8 bytes 648 (648.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-tun: flags=4098<broadcast,multicast> mtu 1500 ether fe:22:ca:f2:a0:4e txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<up,broadcast,running,multicast> mtu 1500 inet6 fe80::21a:4aff:fe16:188 prefixlen 64 scopeid 0x20<link> ether 00:1a:4a:16:01:88 txqueuelen 1000 (Ethernet) RX packets 1779521 bytes 146540823 (139.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 676678 bytes 134384981 (128.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 439996949 bytes 50342249841 (46.8 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 439996949 bytes 50342249841 (46.8 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ovs-system: flags=4098<broadcast,multicast> mtu 1500 ether 2e:43:74:f3:2b:a2 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@openstack2-newton ~]#

=========== ovs-vsctl show

[root@openstack2-newton ~]# ovs-vsctl show 1482349d-2fd9-4b08-8a20-0ec211c47e2c 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 "tapf510847e-a7" tag: 1 Interface "tapf510847e-a7" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "tap74964913-ed" tag: 2 Interface "tap74964913-ed" type: internal Port "qr-282741ca-2d" tag: 2 Interface "qr-282741ca-2d" type: internal Port br-int Interface br-int type: internal Bridge br-ex Port "qg-121bb6e3-4a" Interface "qg-121bb6e3-4a" type: internal Port br-ex Interface br-ex type: internal Port "qg-2991055a-c4" Interface "qg-2991055a-c4" type: internal Port "eth0" Interface "eth0" 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 br-tun Interface br-tun type: internal ovs_version: "2.5.0" [root@va-openstack2-newton ~]#

Ifconfig -a:

[root@openstack2-newton ~]# ifconfig -a br-ex: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 10.133.152.180 netmask 255.255.255.0 broadcast 10.133.152.255 inet6 fe80::21a:4aff:fe16:188 prefixlen 64 scopeid 0x20<link> ether 00:1a:4a:16:01:88 txqueuelen 0 (Ethernet) RX packets 1041739 bytes 99342827 (94.7 MiB) RX errors 0 dropped 11 overruns 0 frame 0 TX packets 670241 bytes 134080834 (127.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-int: flags=4163<up,broadcast,running,multicast> mtu 1450 inet6 fe80::80c8:39ff:fe73:eb4a prefixlen 64 scopeid 0x20<link> ether 82:c8:39:73:eb:4a txqueuelen 0 (Ethernet) RX packets 10 bytes 864 (864.0 B) RX errors 0 dropped 78 overruns 0 frame 0 TX packets 8 bytes 648 (648.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-tun: flags=4098<broadcast,multicast> mtu 1500 ether fe:22:ca:f2:a0:4e txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<up,broadcast,running,multicast> mtu 1500 inet6 fe80::21a:4aff:fe16:188 prefixlen 64 scopeid 0x20<link> ether 00:1a:4a:16:01:88 txqueuelen 1000 (Ethernet) RX packets 1779521 bytes 146540823 (139.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 676678 bytes 134384981 (128.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 439996949 bytes 50342249841 (46.8 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 439996949 bytes 50342249841 (46.8 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ovs-system: flags=4098<broadcast,multicast> mtu 1500 ether 2e:43:74:f3:2b:a2 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@openstack2-newton ~]#

=========== ovs-vsctl show

[root@openstack2-newton ~]# ovs-vsctl show 1482349d-2fd9-4b08-8a20-0ec211c47e2c 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 "tapf510847e-a7" tag: 1 Interface "tapf510847e-a7" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "tap74964913-ed" tag: 2 Interface "tap74964913-ed" type: internal Port "qr-282741ca-2d" tag: 2 Interface "qr-282741ca-2d" type: internal Port br-int Interface br-int type: internal Bridge br-ex Port "qg-121bb6e3-4a" Interface "qg-121bb6e3-4a" type: internal Port br-ex Interface br-ex type: internal Port "qg-2991055a-c4" Interface "qg-2991055a-c4" type: internal Port "eth0" Interface "eth0" 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 br-tun Interface br-tun type: internal ovs_version: "2.5.0" [root@va-openstack2-newton ~]#

Ifconfig -a:

[root@openstack2-newton ~]# ifconfig -a br-ex: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 10.133.152.180 netmask 255.255.255.0 broadcast 10.133.152.255 inet6 fe80::21a:4aff:fe16:188 prefixlen 64 scopeid 0x20<link> ether 00:1a:4a:16:01:88 txqueuelen 0 (Ethernet) RX packets 1041739 bytes 99342827 (94.7 MiB) RX errors 0 dropped 11 overruns 0 frame 0 TX packets 670241 bytes 134080834 (127.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-int: flags=4163<up,broadcast,running,multicast> mtu 1450 inet6 fe80::80c8:39ff:fe73:eb4a prefixlen 64 scopeid 0x20<link> ether 82:c8:39:73:eb:4a txqueuelen 0 (Ethernet) RX packets 10 bytes 864 (864.0 B) RX errors 0 dropped 78 overruns 0 frame 0 TX packets 8 bytes 648 (648.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-tun: flags=4098<broadcast,multicast> mtu 1500 ether fe:22:ca:f2:a0:4e txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<up,broadcast,running,multicast> mtu 1500 inet6 fe80::21a:4aff:fe16:188 prefixlen 64 scopeid 0x20<link> ether 00:1a:4a:16:01:88 txqueuelen 1000 (Ethernet) RX packets 1779521 bytes 146540823 (139.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 676678 bytes 134384981 (128.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 439996949 bytes 50342249841 (46.8 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 439996949 bytes 50342249841 (46.8 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ovs-system: flags=4098<broadcast,multicast> mtu 1500 ether 2e:43:74:f3:2b:a2 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@openstack2-newton ~]#

=========== ovs-vsctl show

[root@openstack2-newton ~]# ovs-vsctl show 1482349d-2fd9-4b08-8a20-0ec211c47e2c 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 "tapf510847e-a7" tag: 1 Interface "tapf510847e-a7" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "tap74964913-ed" tag: 2 Interface "tap74964913-ed" type: internal Port "qr-282741ca-2d" tag: 2 Interface "qr-282741ca-2d" type: internal Port br-int Interface br-int type: internal Bridge br-ex Port "qg-121bb6e3-4a" Interface "qg-121bb6e3-4a" type: internal Port br-ex Interface br-ex type: internal Port "qg-2991055a-c4" Interface "qg-2991055a-c4" type: internal Port "eth0" Interface "eth0" 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 br-tun Interface br-tun type: internal ovs_version: "2.5.0" [root@va-openstack2-newton ~]#

neutron router-list

==================

root@va-openstack2-newton ~(keystone_admin)]# neutron router-list +--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+ | id | name | external_gateway_info | distributed | ha | +--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+ | b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c | router-pub | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat": | False | False | | | | true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c- | | | | | | 11325a5be9de", "ip_address": "10.133.152.156"}]} | | | | f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6 | route | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat": | False | False | | | | true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c- | | | | | | 11325a5be9de", "ip_address": "10.133.152.168"}]} | | | +--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+ [root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list route
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | 282741ca-2de6-47f7-83c7-9179aa8e992a | | fa:16:3e:22:c7:b8 | {"subnet_id": "983f4761-4350-4b12-96d4-7ee93f292175", "ip_address": "192.168.12.254"} | | 2991055a-c420-4a88-8335-48cb84cc4b49 | | fa:16:3e:2d:ec:88 | {"subnet_id": "3d5bdb49-3481-4249-a31c-11325a5be9de", "ip_address": "10.133.152.168"} | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ [root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list route-pub Unable to find router with name or id 'route-pub' [root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list router-pub +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | 121bb6e3-4a45-4ba0-8535-e5150e302724 | | fa:16:3e:8a:c0:7b | {"subnet_id": "3d5bdb49-3481-4249-a31c-11325a5be9de", "ip_address": "10.133.152.156"} | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ [root@va-openstack2-newton ~(keystone_admin)]#

Ifconfig -a:

[root@openstack2-newton ~]# ifconfig -a br-ex: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 10.133.152.180 netmask 255.255.255.0 broadcast 10.133.152.255 inet6 fe80::21a:4aff:fe16:188 prefixlen 64 scopeid 0x20<link> ether 00:1a:4a:16:01:88 txqueuelen 0 (Ethernet) RX packets 1041739 bytes 99342827 (94.7 MiB) RX errors 0 dropped 11 overruns 0 frame 0 TX packets 670241 bytes 134080834 (127.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-int: flags=4163<up,broadcast,running,multicast> mtu 1450 inet6 fe80::80c8:39ff:fe73:eb4a prefixlen 64 scopeid 0x20<link> ether 82:c8:39:73:eb:4a txqueuelen 0 (Ethernet) RX packets 10 bytes 864 (864.0 B) RX errors 0 dropped 78 overruns 0 frame 0 TX packets 8 bytes 648 (648.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-tun: flags=4098<broadcast,multicast> mtu 1500 ether fe:22:ca:f2:a0:4e txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<up,broadcast,running,multicast> mtu 1500 inet6 fe80::21a:4aff:fe16:188 prefixlen 64 scopeid 0x20<link> ether 00:1a:4a:16:01:88 txqueuelen 1000 (Ethernet) RX packets 1779521 bytes 146540823 (139.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 676678 bytes 134384981 (128.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 439996949 bytes 50342249841 (46.8 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 439996949 bytes 50342249841 (46.8 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ovs-system: flags=4098<broadcast,multicast> mtu 1500 ether 2e:43:74:f3:2b:a2 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@openstack2-newton ~]#

=========== ovs-vsctl show

[root@openstack2-newton ~]# ovs-vsctl show 1482349d-2fd9-4b08-8a20-0ec211c47e2c 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 "tapf510847e-a7" tag: 1 Interface "tapf510847e-a7" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "tap74964913-ed" tag: 2 Interface "tap74964913-ed" type: internal Port "qr-282741ca-2d" tag: 2 Interface "qr-282741ca-2d" type: internal Port br-int Interface br-int type: internal Bridge br-ex Port "qg-121bb6e3-4a" Interface "qg-121bb6e3-4a" type: internal Port br-ex Interface br-ex type: internal Port "qg-2991055a-c4" Interface "qg-2991055a-c4" type: internal Port "eth0" Interface "eth0" 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 br-tun Interface br-tun type: internal ovs_version: "2.5.0" [root@va-openstack2-newton ~]#

neutron router-list

==================

root@va-openstack2-newton ~(keystone_admin)]# neutron router-list +--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+ | id | name | external_gateway_info | distributed | ha | +--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+ | b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c | router-pub | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat": | False | False | | | | true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c- | | | | | | 11325a5be9de", "ip_address": "10.133.152.156"}]} | | | | f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6 | route | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat": | False | False | | | | true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c- | | | | | | 11325a5be9de", "ip_address": "10.133.152.168"}]} | | | +--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+ [root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list route
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | 282741ca-2de6-47f7-83c7-9179aa8e992a | | fa:16:3e:22:c7:b8 | {"subnet_id": "983f4761-4350-4b12-96d4-7ee93f292175", "ip_address": "192.168.12.254"} | | 2991055a-c420-4a88-8335-48cb84cc4b49 | | fa:16:3e:2d:ec:88 | {"subnet_id": "3d5bdb49-3481-4249-a31c-11325a5be9de", "ip_address": "10.133.152.168"} | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ [root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list route-pub Unable to find router with name or id 'route-pub' [root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list router-pub +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | 121bb6e3-4a45-4ba0-8535-e5150e302724 | | fa:16:3e:8a:c0:7b | {"subnet_id": "3d5bdb49-3481-4249-a31c-11325a5be9de", "ip_address": "10.133.152.156"} | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ [root@va-openstack2-newton ~(keystone_admin)]#

===================================

[root@va-openstack2-newton ~(keystone_admin)]# neutron router-show f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6

+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | Field | Value | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | nova | | created_at | 2016-11-11T20:30:01Z | | description | | | distributed | False | | external_gateway_info | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c- | | | 11325a5be9de", "ip_address": "10.133.152.168"}]} | | flavor_id | | | ha | False | | id | f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6 | | name | route | | project_id | 39b92916c25b468bbaf3044c1af93f4e | | revision_number | 13 | | routes | | | status | ACTIVE | | tenant_id | 39b92916c25b468bbaf3044c1af93f4e | | updated_at | 2016-11-21T15:21:33Z | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ [root@va-openstack2-newton ~(keystone_admin)]#

Ifconfig -a:

[root@openstack2-newton ~]# ifconfig -a
br-ex: flags=4163<up,broadcast,running,multicast> flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.133.152.180  netmask 255.255.255.0  broadcast 10.133.152.255
        inet6 fe80::21a:4aff:fe16:188  prefixlen 64  scopeid 0x20<link>
        ether 00:1a:4a:16:01:88  txqueuelen 0  (Ethernet)
        RX packets 1041739  bytes 99342827 (94.7 MiB)
        RX errors 0  dropped 11  overruns 0  frame 0
        TX packets 670241  bytes 134080834 (127.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

0

br-int: flags=4163<up,broadcast,running,multicast> flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450 inet6 fe80::80c8:39ff:fe73:eb4a prefixlen 64 scopeid 0x20<link> ether 82:c8:39:73:eb:4a txqueuelen 0 (Ethernet) RX packets 10 bytes 864 (864.0 B) RX errors 0 dropped 78 overruns 0 frame 0 TX packets 8 bytes 648 (648.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0

br-tun: flags=4098<broadcast,multicast> flags=4098<BROADCAST,MULTICAST> mtu 1500 ether fe:22:ca:f2:a0:4e txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0

eth0: flags=4163<up,broadcast,running,multicast> flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::21a:4aff:fe16:188 prefixlen 64 scopeid 0x20<link> ether 00:1a:4a:16:01:88 txqueuelen 1000 (Ethernet) RX packets 1779521 bytes 146540823 (139.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 676678 bytes 134384981 (128.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0

lo: flags=73<up,loopback,running> flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 439996949 bytes 50342249841 (46.8 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 439996949 bytes 50342249841 (46.8 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0

ovs-system: flags=4098<broadcast,multicast> flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 2e:43:74:f3:2b:a2 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@openstack2-newton ~]#

=========== ovs-vsctl show

0 [root@openstack2-newton ~]# ovs-vsctl show 1482349d-2fd9-4b08-8a20-0ec211c47e2c 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 "tapf510847e-a7" tag: 1 Interface "tapf510847e-a7" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "tap74964913-ed" tag: 2 Interface "tap74964913-ed" type: internal Port "qr-282741ca-2d" tag: 2 Interface "qr-282741ca-2d" type: internal Port br-int Interface br-int type: internal Bridge br-ex Port "qg-121bb6e3-4a" Interface "qg-121bb6e3-4a" type: internal Port br-ex Interface br-ex type: internal Port "qg-2991055a-c4" Interface "qg-2991055a-c4" type: internal Port "eth0" Interface "eth0" 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 br-tun Interface br-tun type: internal ovs_version: "2.5.0" [root@va-openstack2-newton ~]#

neutron router-list

==================

root@va-openstack2-newton ~(keystone_admin)]# neutron router-list +--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+ | id | name | external_gateway_info | distributed | ha | +--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+ | b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c | router-pub | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat": | False | False | | | | true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c- | | | | | | 11325a5be9de", "ip_address": "10.133.152.156"}]} | | | | f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6 | route | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat": | False | False | | | | true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c- | | | | | | 11325a5be9de", "ip_address": "10.133.152.168"}]} | | | +--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+ [root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list route
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | 282741ca-2de6-47f7-83c7-9179aa8e992a | | fa:16:3e:22:c7:b8 | {"subnet_id": "983f4761-4350-4b12-96d4-7ee93f292175", "ip_address": "192.168.12.254"} | | 2991055a-c420-4a88-8335-48cb84cc4b49 | | fa:16:3e:2d:ec:88 | {"subnet_id": "3d5bdb49-3481-4249-a31c-11325a5be9de", "ip_address": "10.133.152.168"} | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ [root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list route-pub Unable to find router with name or id 'route-pub' [root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list router-pub +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ | 121bb6e3-4a45-4ba0-8535-e5150e302724 | | fa:16:3e:8a:c0:7b | {"subnet_id": "3d5bdb49-3481-4249-a31c-11325a5be9de", "ip_address": "10.133.152.156"} | +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+ [root@va-openstack2-newton ~(keystone_admin)]#

===================================

[root@va-openstack2-newton ~(keystone_admin)]# neutron router-show f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6

f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6 +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | Field | Value | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | nova | | created_at | 2016-11-11T20:30:01Z | | description | | | distributed | False | | external_gateway_info | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c- | | | 11325a5be9de", "ip_address": "10.133.152.168"}]} | | flavor_id | | | ha | False | | id | f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6 | | name | route | | project_id | 39b92916c25b468bbaf3044c1af93f4e | | revision_number | 13 | | routes | | | status | ACTIVE | | tenant_id | 39b92916c25b468bbaf3044c1af93f4e | | updated_at | 2016-11-21T15:21:33Z | +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ [root@va-openstack2-newton ~(keystone_admin)]#

[root@openstack2-newton ~]# ifconfig -a
br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.133.152.180  netmask 255.255.255.0  broadcast 10.133.152.255
        inet6 fe80::21a:4aff:fe16:188  prefixlen 64  scopeid 0x20<link>
        ether 00:1a:4a:16:01:88  txqueuelen 0  (Ethernet)
        RX packets 1041739  bytes 99342827 (94.7 MiB)
        RX errors 0  dropped 11  overruns 0  frame 0
        TX packets 670241  bytes 134080834 (127.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br-int: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1450
        inet6 fe80::80c8:39ff:fe73:eb4a  prefixlen 64  scopeid 0x20<link>
        ether 82:c8:39:73:eb:4a  txqueuelen 0  (Ethernet)
        RX packets 10  bytes 864 (864.0 B)
        RX errors 0  dropped 78  overruns 0  frame 0
        TX packets 8  bytes 648 (648.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br-tun: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether fe:22:ca:f2:a0:4e  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::21a:4aff:fe16:188  prefixlen 64  scopeid 0x20<link>
        ether 00:1a:4a:16:01:88  txqueuelen 1000  (Ethernet)
        RX packets 1779521  bytes 146540823 (139.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 676678  bytes 134384981 (128.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 439996949  bytes 50342249841 (46.8 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 439996949  bytes 50342249841 (46.8 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ovs-system: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 2e:43:74:f3:2b:a2  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
[root@openstack2-newton ~]# ovs-vsctl show 
1482349d-2fd9-4b08-8a20-0ec211c47e2c
    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 "tapf510847e-a7"
            tag: 1
            Interface "tapf510847e-a7"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tap74964913-ed"
            tag: 2
            Interface "tap74964913-ed"
                type: internal
        Port "qr-282741ca-2d"
            tag: 2
            Interface "qr-282741ca-2d"
                type: internal
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port "qg-121bb6e3-4a"
            Interface "qg-121bb6e3-4a"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
        Port "qg-2991055a-c4"
            Interface "qg-2991055a-c4"
                type: internal
        Port "eth0"
            Interface "eth0"
    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 br-tun
            Interface br-tun
                type: internal
    ovs_version: "2.5.0"
root@va-openstack2-newton ~(keystone_admin)]# neutron router-list 
+--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+
| id                                   | name       | external_gateway_info                                                  | distributed | ha    |
+--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+
| b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c | router-pub | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat":  | False       | False |
|                                      |            | true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c-   |             |       |
|                                      |            | 11325a5be9de", "ip_address": "10.133.152.156"}]}                       |             |       |
| f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6 | route      | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat":  | False       | False |
|                                      |            | true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c-   |             |       |
|                                      |            | 11325a5be9de", "ip_address": "10.133.152.168"}]}                       |             |       |
+--------------------------------------+------------+------------------------------------------------------------------------+-------------+-------+

[root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list  route  
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                             |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
| 282741ca-2de6-47f7-83c7-9179aa8e992a |      | fa:16:3e:22:c7:b8 | {"subnet_id": "983f4761-4350-4b12-96d4-7ee93f292175", "ip_address": "192.168.12.254"} |
| 2991055a-c420-4a88-8335-48cb84cc4b49 |      | fa:16:3e:2d:ec:88 | {"subnet_id": "3d5bdb49-3481-4249-a31c-11325a5be9de", "ip_address": "10.133.152.168"} |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+

[root@va-openstack2-newton ~(keystone_admin)]# neutron router-port-list  router-pub 
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                             |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
| 121bb6e3-4a45-4ba0-8535-e5150e302724 |      | fa:16:3e:8a:c0:7b | {"subnet_id": "3d5bdb49-3481-4249-a31c-11325a5be9de", "ip_address": "10.133.152.156"} |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+

[root@va-openstack2-newton ~(keystone_admin)]# neutron router-show f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                   | Value                                                                                                                                                   |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up          | True                                                                                                                                                    |
| availability_zone_hints |                                                                                                                                                         |
| availability_zones      | nova                                                                                                                                                    |
| created_at              | 2016-11-11T20:30:01Z                                                                                                                                    |
| description             |                                                                                                                                                         |
| distributed             | False                                                                                                                                                   |
| external_gateway_info   | {"network_id": "f4ae4f0b-fe69-447e-98cb-99ff161db4e1", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "3d5bdb49-3481-4249-a31c-              |
|                         | 11325a5be9de", "ip_address": "10.133.152.168"}]}                                                                                                        |
| flavor_id               |                                                                                                                                                         |
| ha                      | False                                                                                                                                                   |
| id                      | f1da6ef5-d4e7-4f5e-838d-0cd5390c5fa6                                                                                                                    |
| name                    | route                                                                                                                                                   |
| project_id              | 39b92916c25b468bbaf3044c1af93f4e                                                                                                                        |
| revision_number         | 13                                                                                                                                                      |
| routes                  |                                                                                                                                                         |
| status                  | ACTIVE                                                                                                                                                  |
| tenant_id               | 39b92916c25b468bbaf3044c1af93f4e                                                                                                                        |
| updated_at              | 2016-11-21T15:21:33Z                                                                                                                                    |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+

================================================================

I followed The suggestion below, however the instance I launch was unable to ping 8.8.8.8 or 10.133.152.254( My default route on my public network). I'm able to ping 10.133.152.180 the ip on my br-ex.

[root@va-openstack2-newton ~(keystone_admin)]# neutron subnet-show 3d5bdb49-3481-4249-a31c-11325a5be9de +-------------------+------------------------------------------------------+ | Field | Value | +-------------------+------------------------------------------------------+ | allocation_pools | {"start": "10.133.152.150", "end": "10.133.152.170"} | | cidr | 10.133.152.0/24 | | created_at | 2016-11-11T16:54:24Z | | description | | | dns_nameservers | 10.133.137.118 | | enable_dhcp | False | | gateway_ip | 10.133.152.180 | | host_routes | | | id | 3d5bdb49-3481-4249-a31c-11325a5be9de | | ip_version | 4 | | ipv6_address_mode | | | ipv6_ra_mode | | | name | public-subnet | | network_id | f4ae4f0b-fe69-447e-98cb-99ff161db4e1 | | project_id | 39b92916c25b468bbaf3044c1af93f4e | | revision_number | 10 | | service_types | | | subnetpool_id | | | tenant_id | 39b92916c25b468bbaf3044c1af93f4e | | updated_at | 2016-11-25T18:45:07Z | +-------------------+------------------------------------------------------+

[root@va-openstack2-newton ~(keystone_admin)]# neutron subnet-list +--------------------------------------+---------------+-----------------+------------------------------------------------------+ | id | name | cidr | allocation_pools | +--------------------------------------+---------------+-----------------+------------------------------------------------------+ | 3d5bdb49-3481-4249-a31c-11325a5be9de | public-subnet | 10.133.152.0/24 | {"start": "10.133.152.150", "end": "10.133.152.170"} | | a4ece975-1c82-47df-9372-759b349e6236 | private | 172.16.1.0/24 | {"start": "172.16.1.2", "end": "172.16.1.254"} | +--------------------------------------+---------------+-----------------+------------------------------------------------------+

Set The router Gateway to the public interface 10.133.152.180:

[root@va-openstack2-newton ~(keystone_admin)]# neutron router-gateway-set 72c7af89-fadc-4281-86e2-d29e367c9f9c f4ae4f0b-fe69-447e-98cb-99ff161db4e1 Set gateway for router 72c7af89-fadc-4281-86e2-d29e367c9f9c

[root@va-openstack2-newton ~(keystone_admin)]# neutron subnet-list +--------------------------------------+---------------+-----------------+------------------------------------------------------+ | id | name | cidr | allocation_pools | +--------------------------------------+---------------+-----------------+------------------------------------------------------+ | 3d5bdb49-3481-4249-a31c-11325a5be9de | public-subnet | 10.133.152.0/24 | {"start": "10.133.152.150", "end": "10.133.152.170"} | | a4ece975-1c82-47df-9372-759b349e6236 | private | 172.16.1.0/24 | {"start": "172.16.1.2", "end": "172.16.1.254"} | +--------------------------------------+---------------+-----------------+------------------------------------------------------+

ping test from the router's name space.:

[root@va-openstack2-newton ~(keystone_admin)]# ip netns list qrouter-72c7af89-fadc-4281-86e2-d29e367c9f9c qdhcp-2f87a46e-a534-407a-91fa-c4ad37dffd0d

I'm able to ping br-ex 10.133.152.180:

[root@va-openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-72c7af89-fadc-4281-86e2-d29e367c9f9c ping 10.133.152.180
PING 10.133.152.180 (10.133.152.180) 56(84) bytes of data. 64 bytes from 10.133.152.180: icmp_seq=1 ttl=64 time=0.257 ms 64 bytes from 10.133.152.180: icmp_seq=2 ttl=64 time=0.039 ms 64 bytes from 10.133.152.180: icmp_seq=3 ttl=64 time=0.038 ms ^C --- 10.133.152.180 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.038/0.111/0.257/0.103 ms

Unable to ping the vlan default route: 10.133.152.254

[root@va-openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-72c7af89-fadc-4281-86e2-d29e367c9f9c ping 10.133.152.254 PING 10.133.152.254 (10.133.152.254) 56(84) bytes of data. ^C --- 10.133.152.254 ping statistics --- 8 packets transmitted, 0 received, 100% packet loss, time 6999ms

unable to ping 8.8.8.8:

[root@va-openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-72c7af89-fadc-4281-86e2-d29e367c9f9c ping -c 3 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 10.133.152.180: icmp_seq=2 Redirect Host(New nexthop: 10.133.152.254) From 10.133.152.180 icmp_seq=2 Redirect HostFrom 10.133.152.180 icmp_seq=3 Redirect HostFrom 10.133.152.180: icmp_seq=3 Redirect Host(New nexthop: 10.133.152.254)

--- 8.8.8.8 ping statistics --- 3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 2000ms

I also test from instance launched on the public and private networks same issues....