-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New-MyEdgeGateway.psm1 Not Working #6
Comments
Might you please share the full command? |
New-MyEdgeGateway -Name "TestGW1" -OrgVDCName "TestVDC" -OrgName "TestOrg" -Size compact -ExternalNetwork "ExternalNetwork" -IPAddress "192.168.100.1" -SubnetMask "255.255.255.0" -Gateway "192.168.100.254" -IPRangeStart ""192.168.100.10" -IPRangeEnd ""192.168.100.20" -Verbose The command was lifted straight from the PS Module file. |
Is the external network "ExternalNetwork" enabled and the IP 192.168.100.1 part of the configured IP range of the external network? |
It was in the test lab at the time yes. I think we have addressed that issue with a reboot of the cells on VCD. The next conundrum we have is trying to have an address allocated from a pool rather than static on the ExternalNetwork. Are you able to offer guidance there please? |
There is no nativ dynamic assignment possible from the pool. You need to get the next available address from the pool first and the use this address in the function. |
When using the script I recieve the following output linked to the SubnetParticipation
Exception calling "CreateEdgeGateway" with "1" argument(s): "Missing or invalid uplink definition."
Exception calling "CreateEdgeGateway" with "1" argument(s): "[ 9cfd4ed8-fb37-483d-b8eb-1e3cbc144b49 ] IP 192.168.100.1 does not belong to any interface's IP range on gateway TestGW1."
Any guidance would be useful.
The text was updated successfully, but these errors were encountered: