Github user swill commented on the issue: https://github.com/apache/cloudstack/pull/2003 Does anyone know what `first_i_p` represents in the `ips.json` dbag? I am assuming it is the Source NAT IP, but I can't find it represented anywhere in the code (other than in a test). If it does represent the Source NAT, then we can use it to maintain the order and keep the Source NAT IP as the primary IP on the Nic. That was the bug I was trying to fix in my #1741 PR. Example with: 1) source nat 2) port forwarding 3) static nat 4) load balancer ``` "eth2": [ { "add": true, "broadcast": "192.168.80.255", "cidr": "192.168.80.8/24", "device": "eth2", "first_i_p": true, "gateway": "192.168.80.5", "netmask": "255.255.255.0", "network": "192.168.80.0/24", "new_nic": false, "nic_dev_id": 2, "nw_type": "public", "one_to_one_nat": false, "public_ip": "192.168.80.8", "size": "24", "source_nat": true, "vif_mac_address": "06:00:44:00:00:23" }, { "add": true, "broadcast": "192.168.80.255", "cidr": "192.168.80.9/24", "device": "eth2", "first_i_p": false, "gateway": "192.168.80.5", "netmask": "255.255.255.0", "network": "192.168.80.0/24", "new_nic": false, "nic_dev_id": 2, "nw_type": "public", "one_to_one_nat": false, "public_ip": "192.168.80.9", "size": "24", "source_nat": false, "vif_mac_address": "06:34:d1:00:00:23" }, { "add": true, "broadcast": "192.168.80.255", "cidr": "192.168.80.10/24", "device": "eth2", "first_i_p": false, "gateway": "192.168.80.5", "netmask": "255.255.255.0", "network": "192.168.80.0/24", "new_nic": false, "nic_dev_id": 2, "nw_type": "public", "one_to_one_nat": true, "public_ip": "192.168.80.10", "size": "24", "source_nat": false, "vif_mac_address": "06:34:d1:00:00:23" }, { "add": true, "broadcast": "192.168.80.255", "cidr": "192.168.80.11/24", "device": "eth2", "first_i_p": false, "gateway": "192.168.80.5", "netmask": "255.255.255.0", "network": "192.168.80.0/24", "new_nic": false, "nic_dev_id": 2, "nw_type": "public", "one_to_one_nat": false, "public_ip": "192.168.80.11", "size": "24", "source_nat": false, "vif_mac_address": "06:34:d1:00:00:23" } ], ``` @ustcweizhou @murali-reddy @remibergsma
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---