Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

should bridges(br-int,tun,ex) UP ?

Hi, I'm deploying 3node architecture with Openstack Mitaka on Ubuntu server and having problem with networking. My instance doesn't have an access to internet in and out. if bridges up correctly, should br-in& br-tun be shown in ifconfig too? I manually changed /etc/network/interfaces so that br-ex can be up. Shouldn't they automatically up themselves? If they should, why mine don't? How can I fix it? Or, should I manually add lines to /etc/network/interfaces to make all bridges' status up everytime rebooting? How can I check if bridges UP or not? On compute-node , happens the same.

Here are some info. I will update any info needed more. Thanks in advance.

Network-node

ovs-vsctl show

Bridge br-int
        fail_mode: secure
        Port "tapfb30254d-41"
            tag: 3
            Interface "tapfb30254d-41"
        Port "tap506d7b9c-45"
            tag: 3
            Interface "tap506d7b9c-45"
        Port br-int
            Interface br-int
                type: internal
        Port "tape3ab3190-7f"
            tag: 2
            Interface "tape3ab3190-7f"
        Port "tap102f5631-8c"
            tag: 1
            Interface "tap102f5631-8c"
        Port "tap13921519-ef"
            tag: 1
            Interface "tap13921519-ef"
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "tap8fe83bc7-52"
            tag: 2
            Interface "tap8fe83bc7-52"
    Bridge br-ex
        Port "wlan0"
            Interface "wlan0"
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        fail_mode: secure
        Port "gre-0a000003"
            Interface "gre-0a000003"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.0.0.2", out_key=flow, remote_ip="10.0.0.3"}
        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"

ifconfig

br-ex     Link encap:Ethernet  HWaddr 90:9f:33:ef:38:3c  
          inet addr:192.168.0.37  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::929f:33ff:feef:383c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:539 errors:0 dropped:0 overruns:0 frame:0
          TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:81886 (81.8 KB)  TX bytes:10415 (10.4 KB)

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

p3p1      Link encap:Ethernet  HWaddr e8:11:32:31:9f:f2  
          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::ea11:32ff:fe31:9ff2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11055 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1353 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:959511 (959.5 KB)  TX bytes:262555 (262.5 KB)

tap102f5631-8c Link encap:Ethernet  HWaddr e6:50:f0:fe:09:79  
          UP BROADCAST RUNNING MULTICAST  MTU:1458  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:864 (864.0 B)  TX bytes:1610 (1.6 KB)

tap13921519-ef Link encap:Ethernet  HWaddr ee:48:fe:c1:21:7f  
          UP BROADCAST RUNNING MULTICAST  MTU:1458  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:648 (648.0 B)  TX bytes:790 (790.0 B)

tap506d7b9c-45 Link encap:Ethernet  HWaddr 66:ba:91:e3:fb:cf  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:483 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1074 (1.0 KB)  TX bytes:73489 (73.4 KB)

tap8fe83bc7-52 Link encap:Ethernet  HWaddr 8a:f7:79:23:ff:b5  
          UP BROADCAST RUNNING MULTICAST  MTU:1458  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1902 (1.9 KB)  TX bytes:2660 (2.6 KB)

tape3ab3190-7f Link encap:Ethernet  HWaddr 32:a3:e5:9e:33:c3  
          UP BROADCAST RUNNING MULTICAST  MTU:1458  Metric:1
          RX packets:87 errors:0 dropped:0 overruns:0 frame:0
          TX packets:147 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8766 (8.7 KB)  TX bytes:14098 (14.0 KB)

tapfb30254d-41 Link encap:Ethernet  HWaddr 3a:54:d4:b6:5c:20  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:475 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1452 (1.4 KB)  TX bytes:73221 (73.2 KB)

wlan0     Link encap:Ethernet  HWaddr 90:9f:33:ef:38:3c  
          inet6 addr: fe80::929f:33ff:feef:383c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:531 errors:0 dropped:0 overruns:0 frame:0
          TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:81658 (81.6 KB)  TX bytes:13823 (13.8 KB)

vi /etc/neutron/l3-agent.ini

[DEFAULT]
ovs_use_veth = True
interface_driver=neutron.agent.linux.interface.OVSInterfaceDriver
gateway_external_network_id = b017ad7e-667a-4695-a09d-67948ce83c70
router_delete_namespace=True
external_network_bridge =