Mailing List Archive

[PackStack][Neutron] How to configure for external network
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
Re: [PackStack][Neutron] How to configure for external network [ In reply to ]
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@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@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Slawek Kaplonski
Senior software engineer
Red Hat


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: [PackStack][Neutron] How to configure for external network [ In reply to ]
Hi,

> Wiadomo?? napisana przez Soheil Pourbafrani <soheil.ir08@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@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@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@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


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: [PackStack][Neutron] How to configure for external network [ In reply to ]
Thanks a lot.

On Sun, Nov 4, 2018 at 1:59 PM Slawomir Kaplonski <skaplons@redhat.com>
wrote:

> Hi,
>
> > Wiadomo?? napisana przez Soheil Pourbafrani <soheil.ir08@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@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@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@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
>
>