[Openstack] Single NIC deployment

Gastón Keller gastonkeller at gmail.com
Thu Jul 17 15:29:35 UTC 2014


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




More information about the Openstack mailing list