In our cloud environment, below is the version of each component
One vApp with one VM is created in Org VDC.
Two vApp network is created in vApp as below:
This network is NAT to external network (10.1.0.16),Its gateway is 10.1.0.17 and the range of IP is 10.1.0.18-10.1.0.28
The network interface of VM in vApp is configured to connect isolated network (i.e. 192.168.222.2). This vApp can be started successfully,
Then go to Networking tab in vApp -> select isolated network -> right -click to select configure services -> click NAT tab.
The NAT type is found as "IP Translation". And the VM interface nic0 (192.168.222.2) is automatically to mapped to 10.1.0.19.
When I changed mapping mode from automatic to manual and input 10.1.0.20/28 as external IP , but it failed to do.
The following error was found
"Invalid IP address for the external network (default gateway: 192.168.222.1/24)"
Please see attached file
It did not allow me to configure any IP from the range of IP between 10.1.0.19 and 10.1.0.28 as external IP
It could allow me configure any IP from the range of IP between 192.168.222.2 and 192.168.222.254 as external IP.
It is so strange to do mapping ( 192.168.222.2 <-> 192.168.222.x).
Do anyone know whether it is known bug? Any workaround?
I think in the case of Manual Mode, you can't use addresses which are assigned elsewhere.
e.g. you have an IP Pool for the external that is 3 addresses, so those can be programatically used else where when creating VMs. So vCloud Director manages these 3 addreses automatically. Therefore, don't manually use them somewhere else because it could (theoretically) cause a duplicate.
In the case of automatic NAT, vCD can draw from the existing pool of IP addresses and assign exactly 1 for the VM in question to be routed through for IP translation.
In case of manual mode, configured external IPs are never used for any vApp, so it is not related to duplicated external IPs.
I really want to configure manual NAT mode because I need configure NAT mapping for static IPs on the physical firewall.
No
IamTHEvilONE wrote:
I think in the case of Manual Mode, you can't use addresses which are assigned elsewhere.
e.g. you have an IP Pool for the external that is 3 addresses, so those can be programatically used else where when creating VMs. So vCloud Director manages these 3 addreses automatically. Therefore, don't manually use them somewhere else because it could (theoretically) cause a duplicate.
In the case of automatic NAT, vCD can draw from the existing pool of IP addresses and assign exactly 1 for the VM in question to be routed through for IP translation.
The error shown in your screenshot is because you have /28
remove everything except the IP address
true story. I didn't read the reminder text at the bottom of the failed dialog box.
I tried to enter IP Address without /28. But it still failed
Can you provide a new screenshot?
Yah that doesn't make sense. File an SR
steven_man, did you ever get a resolution to this. I've got the same issue. It has previously been working fine. I tried rebooting the VSM, resetting the vApp network and creating a new vApp Network but the issue still exists ie the NAT automatically assigns an IP in the correct range but you can't change it manually. I did upgrade from vCloud 5.5 to 5.5.1 a couple of weeks ago so I'm wondering if there is a bug in 5.5.1.
No resolution yet. I also this issue is a bug in vCloud 5.5.1a. Previously, I used vCloud 5.1.0 without this issue.
I think the current workaround is to control the startup order of VM to get external IP from the pool. Then check "Retain IP/MAC Resources" in vApp network.