Revision history [back]

click to hide/show revision 1
initial version

neutron networking connectivity problem

root@(none):~# ovs-vsctl show a2cee6db-f5d6-427c-9e49-6bd8411ef4e4 Bridge br-int fail_mode: secure Port "tapfaadf6e6-e4" tag: 4095 Interface "tapfaadf6e6-e4" type: internal Port br-int Interface br-int type: internal Port int-br-ex Interface int-br-ex type: patch options: {peer=phy-br-ex} Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Bridge br-tun fail_mode: secure Port br-tun Interface br-tun type: internal Port "gre-c0a8011f" Interface "gre-c0a8011f" type: gre options: {df_default="true", in_key=flow, local_ip="192.168.1.21", out_key=flow, remote_ip="192.168.1.31"} Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Bridge br-ex Port br-ex Interface br-ex type: internal Port "eth0" Interface "eth0" Port phy-br-ex Interface phy-br-ex type: patch options: {peer=int-br-ex} ovs_version: "2.0.2" root@(none):~#

root@(none):~# ifconfig br-ex Link encap:Ethernet HWaddr 00:23:54:9c:37:24
inet6 addr: fe80::3083:35ff:fe28:77ba/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:8 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:648 (648.0 B) TX bytes:648 (648.0 B)

br-int Link encap:Ethernet HWaddr fa:42:de:0d:60:42
inet6 addr: fe80::a0e9:8dff:fe1e:8a54/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:7 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:598 (598.0 B) TX bytes:648 (648.0 B)

br-tun Link encap:Ethernet HWaddr 9e:c1:7a:a4:24:4f
inet6 addr: fe80::c020:26ff:fe56:77b6/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 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:0 (0.0 B) TX bytes:648 (648.0 B)

eth1 Link encap:Ethernet HWaddr 00:23:54:9c:37:25
inet addr:192.168.0.21 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::223:54ff:fe9c:3725/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:480 errors:0 dropped:0 overruns:0 frame:0 TX packets:529 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:62072 (62.0 KB) TX bytes:79016 (79.0 KB) Interrupt:19 Memory:fdfe0000-fe000000

eth2 Link encap:Ethernet HWaddr 00:23:54:9c:36:12
inet addr:192.168.1.21 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::223:54ff:fe9c:3612/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:680 (680.0 B) Interrupt:18 Memory:fdde0000-fde00000

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:2575 errors:0 dropped:0 overruns:0 frame:0 TX packets:2575 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:189297 (189.2 KB) TX bytes:189297 (189.2 KB)

virbr0 Link encap:Ethernet HWaddr f2:e9:fd:2a:40:f9
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)

root@(none):~#

root@(none):~# neutron net-list +--------------------------------------+----------+-----------------------------------------------------+ | id | name | subnets | +--------------------------------------+----------+-----------------------------------------------------+ | 8ebf437a-4241-4b7c-9d6d-fd81662ba846 | demo-net | 818b20de-552b-4fb0-ae90-d228c29a2f7a 10.0.1.0/24 | | 8aa849aa-9873-42a3-9847-0d1bb5ff610d | ext-net | 546ca5c1-eba9-4d08-9132-0346b445ddfc 137.78.38.0/24 | +--------------------------------------+----------+-----------------------------------------------------+ root@(none):~# neutron subnet-list +--------------------------------------+-------------+----------------+----------------------------------------------------+ | id | name | cidr | allocation_pools | +--------------------------------------+-------------+----------------+----------------------------------------------------+ | 818b20de-552b-4fb0-ae90-d228c29a2f7a | demo-subnet | 10.0.1.0/24 | {"start": "10.0.1.2", "end": "10.0.1.254"} | | 546ca5c1-eba9-4d08-9132-0346b445ddfc | ext-subnet | 137.78.38.0/24 | {"start": "137.78.38.240", "end": "137.78.38.243"} | +--------------------------------------+-------------+----------------+----------------------------------------------------+ root@(none):~# neutron port-list +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ | 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"} | | faadf6e6-e4fc-4bda-b523-202233f2c6e3 | | fa:16:3e:cd:d8:c2 | {"subnet_id": "818b20de-552b-4fb0-ae90-d228c29a2f7a", "ip_address": "10.0.1.2"} | +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ root@(none):~# neutron router-list +--------------------------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ | id | name | external_gateway_info | distributed | ha | +--------------------------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ | 9db03f7e-ac3f-45b4-a996-8f3d5f62dc42 | demo-router | {"network_id": "8aa849aa-9873-42a3-9847-0d1bb5ff610d", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "546ca5c1-eba9-4d08-9132-0346b445ddfc", "ip_address": "137.78.38.240"}]} | False | False | +--------------------------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ root@(none):~#

What did I do wrong?