Results 1 to 2 of 2

Thread: Ubuntu Cloud Networking Problem/Setup

  1. #1
    Join Date
    Oct 2014
    Beans
    1

    Ubuntu Cloud Networking Problem/Setup

    I am running Ubuntu 14.04.1 and just completed an Ubuntu Cloud install. The install is on bare metal and I chose an "single machine install" for the Openstack/Cloud installation. Everything seems to have completed successfully but I am a bit confused on the networking setup.

    When I go to "cloud-status" everything is indicated as "started" but it seems to have created a different subnet for all of the Openstack components. On the bare metal machine I have a single ethernet interface configured on 10.87.9.182/24. However the Openstack installation created a new subnet on 10.0.3.0/24 with all of the Openstack services on that subnet. I tried changing a client machine (on eth0) to be on the 10.0.3.0/24 subnet but it can't reach any of the Openstack components.

    I have included the output of ifconfig below. Can someone advise as to how I can access lxcbr0 from the eth0 subnet? I am guessing that I have to bridge these two together but if someone can let me know the recommended method it would be appreciated. Goal is a single node "all in one". The server does have multiple physical ethernet interfaces so if it is advisable to map lxcbr0 to eth1 for example I could do that as well.

    Second question, is there anyway to tell "cloud-install" to use ip addresses on the eth0 subnet prior to Openstack installation? Thanks. I appreciate any assistance.

    Code:
    eth0      Link encap:Ethernet  HWaddr f8:72:ea:f6:ff:c0
              inet addr:10.87.9.182  Bcast:10.87.9.255  Mask:255.255.255.0
              inet6 addr: fe80::fa72:eaff:fef6:ffc0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1173322 errors:0 dropped:0 overruns:0 frame:0
              TX packets:576490 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1520098962 (1.5 GB)  TX bytes:35619827 (35.6 MB)
              Memory:def00000-df000000
    
    
    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:1064182 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1064182 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:386756658 (386.7 MB)  TX bytes:386756658 (386.7 MB)
    
    
    lxcbr0    Link encap:Ethernet  HWaddr fe:54:00:b1:71:be
              inet addr:10.0.3.1  Bcast:10.0.3.255  Mask:255.255.255.0
              inet6 addr: fe80::e426:4bff:fe95:4fb2/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:578489 errors:0 dropped:0 overruns:0 frame:0
              TX packets:748672 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:39118717 (39.1 MB)  TX bytes:1221970831 (1.2 GB)
    
    
    virbr0    Link encap:Ethernet  HWaddr 02:54:42:55:24:83
              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)
    
    
    vnet0     Link encap:Ethernet  HWaddr fe:54:00:b6:b6:71
              inet6 addr: fe80::fc54:ff:feb6:b671/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:551131 errors:0 dropped:0 overruns:0 frame:0
              TX packets:762964 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:500
              RX bytes:45782048 (45.7 MB)  TX bytes:1022833310 (1.0 GB)
    
    
    vnet1     Link encap:Ethernet  HWaddr fe:54:00:b1:71:be
              inet6 addr: fe80::fc54:ff:feb1:71be/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:84638 errors:0 dropped:0 overruns:0 frame:0
              TX packets:85411 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:500
              RX bytes:10370435 (10.3 MB)  TX bytes:119730069 (119.7 MB)
    
    
    vnet2     Link encap:Ethernet  HWaddr fe:54:00:ee:da:b6
              inet6 addr: fe80::fc54:ff:feee:dab6/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:148204 errors:0 dropped:0 overruns:0 frame:0
              TX packets:115134 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:500
              RX bytes:24307081 (24.3 MB)  TX bytes:113075749 (113.0 MB)  

  2. #2
    Join Date
    Jul 2013
    Beans
    62

    Re: Ubuntu Cloud Networking Problem/Setup

    the 10.0.3.x network is for the openstack "services" that are running in LXC containers instead of the usual hw virtualization machines (VMs).. better performance, resource utilization etc.
    There are several good blogs on LXC networking.

    If you ignore the references to vagrant (just because its not pertinent to the networking question) this one describes various networking use-cases such as VETH which I think is what you are looking for etc:

    http://containerops.org/2013/11/19/lxc-networking/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •