VMware Cloud Community
RaphaelFSantos
Contributor
Contributor

Trouble in create external network on openstack.

Hi Guys,

I installed the openstack on a vm with CentOS 7 installed through vcenter. But I'm having trouble creating the external network. My VM is in ip 172.17.200.158 (network 172.17.200.0/24) and I created in the router of the openstack the network publishes in that network / 24 and I put ip 172.17.207.174. I created two internal instances with ip (10.10.10.1 and 10.10.10.2). From the instances I can ping the router interface (172.17.207.174) and I can ping the VM's ip (172.17.200.158) but I can not ping my gateway (physical switch at 172.17.200.254). My vm ping my switch and my instance created in the openstack ping to vm but not the physical switch.

I've looked at several tutorials but I have not identified where the problem might be. I thought it was some arp proxy issue in dswitch but I did not find it. Have you been through this?

0 Kudos
2 Replies
pwilk
Hot Shot
Hot Shot

What's handling the routing for the 10.10.10.0 network?

Do you have any VLANs in your network?

Cheers, Paul Wilk
0 Kudos
RaphaelFSantos
Contributor
Contributor

Hi,

I have the network vlan 200 - 172.17.200.0/24. In this network I put a physical x64 machine. I created, through VCenter, a virtual machine with CentOS 7 with the address 172.17.200.158.

Then I installed the rdo packstack and set up two private networks (flat mode).

Network 1: 10.10.10.0/24

Network 2: 20.20.20.0/24

I created a router (router1) in the openstack dashboard and added the two private interfaces (ip: 10.10.10.1 and 20.20.20.1). Later I did create two instances, one on network 1 (ip 10.10.10.10), another on network 2 (ip 20.20.20.10). I was able to ping the instance 10.10.10.10 to 20.20.20.10. It was now necessary to go to the public network.

In openstack dashboard, I created a public network. I selected the physical interface as br-ex (ifconfig in CentOS) and enabled the SNAT and put the ip 172.17.200.174.

The tests:

From Instance 1 (10.10.10.10) I can ping the external interface of the openstack router (172.17.200.174) and I can ping the CentOS ip (172.17.200.158). In CentOS I put iptable in icmp accept all.

But if I try to ping my switch L3 (ip 172.17.200.254) I can not ping from the openstack instance  (10.10.10.10 or 20.20.20.10)  but I can ping from CentOS.

I have full connectivity from Vcenter and all vm created in vlan 200.

0 Kudos