external network setup on ubuntu 14.04

asked 2014-12-01 17:30:04 -0600

Ilya gravatar image

updated 2014-12-01 21:23:23 -0600

dbaxps gravatar image

I have an issue similar to https://ask.openstack.org/en/question... but on Ubuntu 14.04

I complete steps 1-6 from guide http://docs.openstack.org/juno/instal... and trying to make Verify connectivity, but I have no answer on "ping -c 4 203.0.113.101"

my command outputs:

[controller node] neutron router-list
+--------------------------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id                                   | name        | external_gateway_info                                                                                                                                                                     |
+--------------------------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| f9a9a647-0c64-4d86-abdc-8f393a7d923f | demo-router | {"network_id": "ab7c1785-80ea-4fdd-9188-caf00e694c8d", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "01a3fc2e-d1a0-457c-85a0-9acb52688399", "ip_address": "203.0.113.101"}]} |
+--------------------------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

[controller node] neutron router-list
+--------------------------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id                                   | name        | external_gateway_info                                                                                                                                                                     |
+--------------------------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| f9a9a647-0c64-4d86-abdc-8f393a7d923f | demo-router | {"network_id": "ab7c1785-80ea-4fdd-9188-caf00e694c8d", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "01a3fc2e-d1a0-457c-85a0-9acb52688399", "ip_address": "203.0.113.101"}]} |
+--------------------------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

[network node] ip netns list
qdhcp-63577ce1-2c38-4922-a120-440121165670
qrouter-f9a9a647-0c64-4d86-abdc-8f393a7d923f

[network node] ovs-vsctl show
a2fd19a3-edf2-45ea-adb3-e46127177919
    Bridge br-tun
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "gre-0a00011f"
            Interface "gre-0a00011f"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.0.1.21", out_key=flow, remote_ip="10.0.1.31"}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port "tap0"
            Interface "tap0"
        Port "qg-35d8b96c-9c"
            Interface "qg-35d8b96c-9c"
                type: internal
    Bridge br-int
        fail_mode: secure
        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}
        Port "qr-447eecf2-55"
            tag: 1
            Interface "qr-447eecf2-55"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "tap520292d2-61"
            tag: 1
            Interface "tap520292d2-61"
                type: internal
    ovs_version: "2.0.2"
edit retag flag offensive close merge delete

Comments

You have added Port phy-br-ex to br-ex . It doesn't look like the name of physical adapter. Please verify , it should be something like eth or em

Khayam gravatar imageKhayam ( 2014-12-01 23:34:10 -0600 )edit

Yes, usually eth0

dbaxps gravatar imagedbaxps ( 2014-12-02 00:36:32 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-12-02 04:47:55 -0600

capsali gravatar image

Did you do sudo ovs-vsctl add-port br-ex ethx ? ethx being your external network adapter!

Because from your bridge "br-ex" you are missing Port "ethx" Interface "ethx"

edit flag offensive delete link more
0

answered 2014-12-01 21:31:07 -0600

dbaxps gravatar image

Please, add ifconfig report . If external net created match your your real LAN, then make eth0 OVS port of OVS bridge br-ex.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-01 17:30:04 -0600

Seen: 179 times

Last updated: Dec 02 '14