[Openstack] Single NIC deployment

Joe Harrison joehazzers at gmail.com
Thu Jul 17 19:29:23 UTC 2014


If you only have one ethernet interface on the machines, there's a fairly
simple solution.

Create your bridge as usual (adding, for example the eth0 interface to it).
Then, assign an IP address to the bridge interface itself rather than eth0
(since physical devices used in bridges aren't supposed to have IP
addresses).

A somewhate related use case is available here in the openvswitch FAQ under
the heading "Configuration Problems" (first question).

https://raw.githubusercontent.com/openvswitch/ovs/master/FAQ


Cheers,
Joe

Regards,
Joe Harrison


On 17 July 2014 17:29, Gastón Keller <gastonkeller at gmail.com> wrote:

> Hello, community.
>
> I'm working on a 3-node deployment (i.e., controller, network and
> compute) of OpenStack Icehouse in CentOS 6.4, following the official
> installation guide for CentOS found in openstack.org.
>
> These machines with which I'm working have only one NIC available.
> Since the guide indicates that the different nodes require one to
> three NICs, I've created aliases for the one NIC as follows (e.g.,
> network node):
>
> ** Network node **
>
> [root at ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> ONBOOT=yes
> NM_CONTROLLED=no
> BOOTPROTO=dhcp
> DELAY=0
>
> [root at ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.1
> DEVICE=eth0.1
> ONBOOT=yes
> NM_CONTROLLED=no
> BOOTPROTO=none
> VLAN=yes
> IPADDR=10.18.23.21
> NETMASK=255.255.255.0
>
> [root at ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.2
> DEVICE=eth0.2
> TYPE=Ethernet
> ONBOOT=yes
> NM_CONTROLLED=no
> BOOTPROTO=none
> VLAN=yes
>
>
> Is there any reason why this setup wouldn't work?
>
> I have installed and configured every service in their respective
> node, have created networks and subnets, a virtual router, and
> connected all the required ports. However, when I try to verify
> connectivity with a ping to the virtual router's external IP address,
> things fail.
>
> [root at ecco-vmhost-id19 ~]# ping -c 4 199.241.160.101
> PING 199.241.160.101 (199.241.160.101) 56(84) bytes of data.
> From 199.241.160.40 icmp_seq=2 Destination Host Unreachable
> From 199.241.160.40 icmp_seq=3 Destination Host Unreachable
> From 199.241.160.40 icmp_seq=4 Destination Host Unreachable
>
> --- 199.241.160.101 ping statistics ---
> 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time
> 12999ms
> pipe 3
>
>
> Any help would be deeply appreciated.
>
> Regards,
>
> --
> Gastón Keller, M.Sc.
> Ph.D. Student
> Department of Computer Science
> Middlesex College
> Western University
> London ON N6A 5B7 Canada
> (519) 661-2111 ext. 83566
> http://digs.csd.uwo.ca/
> http://www.linkedin.com/in/gastonkeller
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140717/32e54d30/attachment.html>


More information about the Openstack mailing list