[Openstack] Multiple private nets and routing
Dmitry Makovey
dmitry at athabascau.ca
Fri May 22 19:51:52 UTC 2015
On 05/22/2015 01:39 PM, Richard Raseley wrote:
> Dmitry Makovey wrote:
>> done. Link to image attached to gist
>
> Thank you, this helps me better understand.
first of all - thank you very much for bearing with me on this one. ;)
> Can you share what the routes on your instances look like? You'll
> obviously need to let the instance in each network how to get to the
> other networks over the 'secondary' router (assuming your addressing
> them by their RFC5735 addresses), otherwise the packets will hit the
> default gateway (the routers connected to your ext_net) and get dropped.
I think you're onto something here as out of my own ignorance I've
assumed that OpenStack/neutron will handle routing auto-magically as I
set up this kind of infrastructure:
$ for i in 123.54.67.{141,144,145} ; do ssh cloud-user@${i} netstat -nar
; done
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.10.31.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
0.0.0.0 10.10.31.1 0.0.0.0 UG 0 0 0
eth0
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.10.25.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
0.0.0.0 10.10.25.1 0.0.0.0 UG 0 0 0
eth0
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
0.0.0.0 10.10.10.1 0.0.0.0 UG 0 0 0
eth0
So how shall I go about setting it up? do I need to spin up some
"dual-nic" VM that would act as a router or can I use some other
OpenStack facilities for that?
--
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245
---
Confidence is what you have before you understand the problem
Woody Allen
When in trouble when in doubt run in circles scream and shout
http://www.wordwizard.com/phpbb3/viewtopic.php?f=16&t=19330
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150522/4b700bf9/attachment.sig>
More information about the Openstack
mailing list