Ask Your Question
0

juno neutron connectivity problem

asked 2015-10-05 12:45:00 -0500

aleungops gravatar image

updated 2015-10-06 01:56:10 -0500

dbaxps gravatar image
 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 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-06 09:51:17 -0500

aleungops gravatar image

updated 2015-10-06 10:02:26 -0500

dbaxps gravatar image

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):~#

edit flag offensive delete link more

Comments

root@miplmgmt-networknode:~# neutron port-show 0cda519a-a010-4fd2-81bd-f69c3a84c2b8 +-----------------------+---------------------------------------------------------------------------------+ | Field | Value |

aleungops gravatar imagealeungops ( 2015-10-06 14:44:22 -0500 )edit

What do I have to set on the /etc/network/interfaces file?

aleungops gravatar imagealeungops ( 2015-10-06 14:52:15 -0500 )edit
dbaxps gravatar imagedbaxps ( 2015-10-06 16:06:24 -0500 )edit
0

answered 2015-10-06 02:00:36 -0500

dbaxps gravatar image

updated 2015-10-06 10:09:25 -0500

Using answer field as a comment

Per ovs-vsctl report :-
eth0 is OVS port of OVS bridge br-ex
However per `ifconfig` report :-
eth0 doesn't show up at all
br-ex doesn't have IP

Please run :-

neutron router-port-list  demo-router

Next :-

1. If eth0 is OVS port of br-ex, then IP from eth0 should be assigned to br-ex. eth0 is not supposed to have IP at all
2. Please, run `neutron port-show 0cda519a-a010-4fd2-81bd-f69c3a84c2b8`
edit flag offensive delete link more

Comments

Thanks for helping, it is still not working after I clear the ipaddress on eth0. can you email me "answer" instead of going through here. I am not good at using this. alex.leung@jpl.nasa.gov

aleungops gravatar imagealeungops ( 2015-10-08 13:23:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-10-05 12:45:00 -0500

Seen: 94 times

Last updated: Oct 06 '15