- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
How to create subnet in another network container automatically when subnet reached maximum network?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2021 03:57 AM
i need to create subnet on multiple network container while subnet with 10.0.0.8/24 with cidr /24 is reached maximum network on particular network container(10.0.0.8/22), it should automatically create next available network on the next network container (10.0.0.9/22) with the same subnet using REST API
I have this with powershell code.
Can you please help me on this?
Re: How to create subnet in another network container automatically when subnet reached maximum netw
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2021 07:40 AM
I am getting the error message as
Invoke-RestMethod : The remote server returned an error: (400) Bad Request.
At C:\Users\Administrator\Desktop\network_discovery.ps1:87 char:12
+ $results = Invoke-RestMethod -Uri $new_network_subnet_url -Method POS ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Re: How to create subnet in another network container automatically when subnet reached maximum netw
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 04:55 AM
Hi,
Could you please sharethe powershell code?
Regards,
Krishna
Re: How to create subnet in another network container automatically when subnet reached maximum netw
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 06:04 AM
Hi did you get the code? Would love to see.
@kvasudevan wrote:Hi,
Could you please sharethe powershell code?
Regards,
Krishna