Ask Your Question

How to attach floating IP from second external network

asked 2019-12-16 03:21:01 -0500

hn gravatar image


I have openstack train deployment with two vlan external networks configured. Router is set with default external gw from first network, but this pool is slowly going exhausted. I've created second external network with another vlanid and subnet with fresh IP pool.

I'm trying to figure how to attach floating IP from my second external network to instances or load-balancers connected to a router with first network. I was trying with just adding interface to second network but it's not doing the job, external network is not reachable from priv subnet. I didn't find a way to somehow attach second network as hmm non default external network? so it can server IP's from configured pool.

Point is that i don't want to create another routers or priv subnets, adding another interfaces to vm's. It should not invoke any changes in existing virtual infra(vm, router, priv networks). This is easly done in vmware, where I can just add second external network to edge gateway and allocate IP from that network.

OR is there any way to configure one external network, but with each subnet on separate vlanid. I've tried that, but then it is creating routerd provider network which has limitation to one vlan per host configured(which is a bit nonsense for me).

I'm using ovn-networking if this is important to this case.

I'll appreciate any help with thic case, as I'm stuck with this and can't go furher.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2019-12-16 10:26:58 -0500

Hello One easy way to have subnet /21 there you will more ip resource As you mentioned you already have network and you don’t want to change any configuration.

You can have have different provider-network with same subnet but in different vlan, you need to make Sure no ip duplicates, provided if you have multiple physical nic in same host with different Pn

edit flag offensive delete link more


This is not resolving my problem, sure I can create large subnet, and flood broadcast domain.

hn gravatar imagehn ( 2019-12-17 01:05:59 -0500 )edit

I've tried routed provider network, but my compute hosts have access to every vlan in trunk, which is preventing those routed networks from work and I didn't found solution to create network with at least two vlans. This will be ideal thing, as I can create another vlan in network and attach subnet.

hn gravatar imagehn ( 2019-12-17 01:08:40 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2019-12-16 03:21:01 -0500

Seen: 195 times

Last updated: Dec 16 '19