Add new fixed IP to existing Neutron port, if one is attached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Confirmed
|
Medium
|
Vishal Manchanda |
Bug Description
Currently, the "Attach Interface" button in dashboard always creates and attaches a new interface, no matter whether the instance already has an interface attached from a given subnet.
However, from the networking/routing standpoint, it doesn't make sense to have a VM connected to the same subnet via two different "physical" interfaces (eth0 and eth1 for example) - this makes the second and all the subsequent IPs from that subnet unreachable unless you set up source-based routing (inside the VM).
So, instead of creating a new Neutron port for each fixed IP, it might be better to update an existing port in that subnet, if one has already been attached to the instance. This is compatible with the Unix view of more IPs in one subnet - they work on the same base MAC address and cooperate with DHCP nicely. Moreover, such aliases don't confuse the routing table and these IPs work "out of the box".
Changed in horizon: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
milestone: | none → next |
tags: | added: low-hanging-fruit |
Changed in horizon: | |
assignee: | nobody → Vishal Manchanda (vishalmanchanda) |
Hi, I'm interested on this functionality to be available. Meanwhile, any one has the alternative on how to achieve the same result with the CLI?
Cheers