You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Want support for multiple external IP addresses for a Port #196
Ben and I talked this over to try and figure out some of the semantics needed on the OPTE side. We discussed 3 interpretations:
Several (concurrent) ephemeral/floating IPs assigned to a port.
Multiple v4/v6 IPs per interface, possibly over > 1 VPC subnet.
Multiple guest vNICs, each with 1 v4/v6 VPC subnet address and a single external IP.
I'd originally assumed something like 1. was intended, but 3./2. seem the closest match to the RFD 21's future directions.
in particular seems best – this makes routing obvious on the guest side, while other interpretations require some information passing along layers to guide, e.g., outbound source-IP selection based on traffic destination (firewall/reachability). There are other minor concerns around needing to assign priorities to addresses in 1., and removing UFT entries on address withdrawal, but I think these come up regardless.
There may be multiple floating IPs and an ephemeral IP on an instance. They all point to the primary interface's IP addresses.
From there, my assumption for OPTE is that there is a 1:1 mapping in OPTE between its port and an interface in the guest. Multiple floating IPs will show up long before multiple addresses on an interface I believe/expect. Happy to discuss further and clarify more if that helps.
I see, thanks a lot for the extra clarification -- I'd missed the details there on multiple floating IPs. My (re-)reading of what we need then is to load-balance outbound across the preferred IP set (priority: 1x SNAT < (1 or $m$?)x ephemeral < $n$ x floating IPs), maintaining affinity on flows.
When we're in the world of having lots of outbound IP addresses, I'm not sure how we would to utilize those quite yet in terms of outbound initiated connections. I think for inbound flows we'll need the affinity.
Activity
FelixMcFelix commentedon Sep 7, 2023
Ben and I talked this over to try and figure out some of the semantics needed on the OPTE side. We discussed 3 interpretations:
I'd originally assumed something like 1. was intended, but 3./2. seem the closest match to the RFD 21's future directions.
rmustacc commentedon Sep 13, 2023
For some attempted clarification here are the assumptions that I had on this:
From there, my assumption for OPTE is that there is a 1:1 mapping in OPTE between its port and an interface in the guest. Multiple floating IPs will show up long before multiple addresses on an interface I believe/expect. Happy to discuss further and clarify more if that helps.
FelixMcFelix commentedon Sep 13, 2023
I see, thanks a lot for the extra clarification -- I'd missed the details there on multiple floating IPs. My (re-)reading of what we need then is to load-balance outbound across the preferred IP set (priority: 1x SNAT < (1 or$m$ ?)x ephemeral < $n$ x floating IPs), maintaining affinity on flows.
rmustacc commentedon Sep 14, 2023
When we're in the world of having lots of outbound IP addresses, I'm not sure how we would to utilize those quite yet in terms of outbound initiated connections. I think for inbound flows we'll need the affinity.
(Multiple) Floating IP support (#420)