<div dir="ltr"><div><div><div><div>If you only have one ethernet interface on the machines, there's a fairly simple solution.<br><br></div>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).<br>
<br></div>A somewhate related use case is available here in the openvswitch FAQ under the heading "Configuration Problems" (first question).<br><br><a href="https://raw.githubusercontent.com/openvswitch/ovs/master/FAQ" target="_blank">https://raw.githubusercontent.com/openvswitch/ovs/master/FAQ</a><br>
<br></div><br></div>Cheers,<br>Joe<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Regards,<br>Joe Harrison<br></div></div>
<br><br><div class="gmail_quote">On 17 July 2014 17:29, Gastón Keller <span dir="ltr"><<a href="mailto:gastonkeller@gmail.com" target="_blank">gastonkeller@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello, community.<br>
<br>
I'm working on a 3-node deployment (i.e., controller, network and<br>
compute) of OpenStack Icehouse in CentOS 6.4, following the official<br>
installation guide for CentOS found in <a href="http://openstack.org" target="_blank">openstack.org</a>.<br>
<br>
These machines with which I'm working have only one NIC available.<br>
Since the guide indicates that the different nodes require one to<br>
three NICs, I've created aliases for the one NIC as follows (e.g.,<br>
network node):<br>
<br>
** Network node **<br>
<br>
[root@ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0<br>
DEVICE=eth0<br>
ONBOOT=yes<br>
NM_CONTROLLED=no<br>
BOOTPROTO=dhcp<br>
DELAY=0<br>
<br>
[root@ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.1<br>
DEVICE=eth0.1<br>
ONBOOT=yes<br>
NM_CONTROLLED=no<br>
BOOTPROTO=none<br>
VLAN=yes<br>
IPADDR=10.18.23.21<br>
NETMASK=255.255.255.0<br>
<br>
[root@ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.2<br>
DEVICE=eth0.2<br>
TYPE=Ethernet<br>
ONBOOT=yes<br>
NM_CONTROLLED=no<br>
BOOTPROTO=none<br>
VLAN=yes<br>
<br>
<br>
Is there any reason why this setup wouldn't work?<br>
<br>
I have installed and configured every service in their respective<br>
node, have created networks and subnets, a virtual router, and<br>
connected all the required ports. However, when I try to verify<br>
connectivity with a ping to the virtual router's external IP address,<br>
things fail.<br>
<br>
[root@ecco-vmhost-id19 ~]# ping -c 4 199.241.160.101<br>
PING 199.241.160.101 (199.241.160.101) 56(84) bytes of data.<br>
>From 199.241.160.40 icmp_seq=2 Destination Host Unreachable<br>
>From 199.241.160.40 icmp_seq=3 Destination Host Unreachable<br>
>From 199.241.160.40 icmp_seq=4 Destination Host Unreachable<br>
<br>
--- 199.241.160.101 ping statistics ---<br>
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 12999ms<br>
pipe 3<br>
<br>
<br>
Any help would be deeply appreciated.<br>
<br>
Regards,<br>
<br>
--<br>
Gastón Keller, M.Sc.<br>
Ph.D. Student<br>
Department of Computer Science<br>
Middlesex College<br>
Western University<br>
London ON N6A 5B7 Canada<br>
(519) 661-2111 ext. 83566<br>
<a href="http://digs.csd.uwo.ca/" target="_blank">http://digs.csd.uwo.ca/</a><br>
<a href="http://www.linkedin.com/in/gastonkeller" target="_blank">http://www.linkedin.com/in/gastonkeller</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div><br></div>