Ask Your Question
0

How to link a router from one project to a subnet in another project?

asked 2018-10-05 05:33:00 -0500

Hi,

I'm trying to create a connection between networks in different projects. I'm trying to do this by trying to create a port via openstack port create --device <router-id> --network <network-id> --enable --fixed-ip subnet=<subnet-id>,ip-address=<ip-address> --device-owner network:router_interface <name>.

Now, I know that I can't do this unless I'm an admin user, which I am, but despite all this, the port stays in status DOWN.

What am I missing?

We're using OpenVSwitch for networking, if that matters for this.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-01-17 13:13:13 -0500

I haven't tested this, just an educated guess at how I'd try to do this:

Create the port in the network in question, though I'd try it without device and device-owner, and then attach it to the router in question with openstack router add port <port id>. I would also then add a static route to the router of the network in question so it knows how to route traffic back.

A potential pitfall is conflicting IP space, both projects would need to coordinate their IP usage.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-10-05 05:33:00 -0500

Seen: 70 times

Last updated: Oct 05 '18