osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] [PackStack][Neutron] How to configure for external network


Hi,

> WiadomoÅ?Ä? napisana przez Soheil Pourbafrani <soheil.ir08 at gmail.com> w dniu 04.11.2018, o godz. 11:10:
> 
> Thanks, 
> 
> Actually, I created a vxlan network and define the internal network and external network in range of my network provider, 192.168.0.1. I create a router and interface and lunch an instance with an internal network that has floating IP, too.

As I said before, Your external network has to be vlan or flat network. Vxlan network can be used only as tenant network. Packets from such network canâ??t go â??outsideâ?? to Your providerâ??s network and itâ??s not matter of IP addresses used in network.

> 
> From the controller node I can ping the instance using floating IP: "ip netns exec qdhcp-9691cdb8-56f3-44b6-b501-4678eceb3866 ping 192.168.0.4", but the instance is not accessible in the external network and the command ping 192.168.0.4 failed!
> 
> What is the problem?
> 
> 
> On Sun, Nov 4, 2018 at 12:52 PM Slawomir Kaplonski <skaplons at redhat.com> wrote:
> Hi,
> 
> For external network You should use flat or vlan type - which one of them, depends on Your providerâ??s configuration - if You should use some VLAN, You need vlan network.
> Vxlan networks can be only used for tenant networks.
> 
> > WiadomoÅ?Ä? napisana przez Soheil Pourbafrani <soheil.ir08 at gmail.com> w dniu 04.11.2018, o godz. 07:22:
> > 
> > Hi,
> > 
> > I installed PackStack on two nodes, one as Controller and Network, the other as the Compute Node. After installation, I created a new br-ex interface and I did OVS settings. I also define two internal and external network (flat) and router and interfaces. 
> > The internal network range IP is not a valid range and for the test, I set it in 10.10.0.0/24. I can lunch instances using internal network and VMs can connect to each other using that.
> > The external range IP is the same as our Provider range IP (the range that our devices get when connecting to the internet). But lunching instances using the external network it can't connect to the internet or ping other devices in the network (proper security groups are set). IMy question was, is there any tutorial for configuring the network in two nodes so VMs can connect to the internet? What kind of Network does it need? flat, vlan or vxlan?
> > 
> > Thanks
> > _______________________________________________
> > 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
> 
> â?? 
> Slawek Kaplonski
> Senior software engineer
> Red Hat
> 

â?? 
Slawek Kaplonski
Senior software engineer
Red Hat