Ask Your Question

neutron router-interface-add with openstack client?

asked 2016-12-02 12:03:52 -0500

biancogiovanni gravatar image


We are trying to rationalize the number of clients in our system... Can someone point me to the sequence of "openstack" commands that will replicate:

neutron router-interface-add <router> <subnet>

As I understand the above command does several steps... generates a floating IP address, attaches the external subnet?, sets the floating IP address as the gateway for the router.

I can't quite get my head around the "openstack" commands that will do these steps...

Cheers, BiancoGiovanni

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-12-03 04:00:00 -0500

updated 2016-12-03 04:01:32 -0500

This command adds a port to an internal network and allocates an IP address (a port always has an IP address, except that in Newton ports without IP address seem to be possible). The equivalent command is openstack router add port or add subnet; see

edit flag offensive delete link more


Hi Bernd,

Thanks for the pointer! I will post my recipe once I've tested the commands.

Cheers, BiancoGiovanni

biancogiovanni gravatar imagebiancogiovanni ( 2016-12-09 08:47:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-12-02 12:03:52 -0500

Seen: 1,381 times

Last updated: Dec 03 '16