Skip to content
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

Open
razzezz opened this issue Jun 11, 2019 · 5 comments
Open

New-MyEdgeGateway.psm1 Not Working #6

razzezz opened this issue Jun 11, 2019 · 5 comments

Comments

@razzezz
Copy link

razzezz commented Jun 11, 2019

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.

@vMarkusK
Copy link
Owner

Might you please share the full command?

@razzezz
Copy link
Author

razzezz commented Jun 11, 2019

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.

@vMarkusK
Copy link
Owner

vMarkusK commented Jun 11, 2019

Is the external network "ExternalNetwork" enabled and the IP 192.168.100.1 part of the configured IP range of the external network?

@razzezz
Copy link
Author

razzezz commented Jun 14, 2019

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?

@vMarkusK
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants