I am trying to add a new node to existing AG
My 2 nodes are in same zone AWS. Hence there subnets are same but different IP'S.
Once I add the new node I am trying to add new IP for the new node to the listener but it is throwing me an error
I am running the below sql to achieve this
ALTER AVAILABILITY GROUP AAGTest MODIFY LISTENER N'prod-ag-test' (ADD IP (N'10.16.16.158','10.16.16.0'))
Msg 19451, Level 16, State 0, Line 4
'10.16.16.158' and '10.16.16.25' belong to the same subnet. Only one IPv4 and/or one IPv6 address from each subnet is allowed. For an advanced configuration, see the Windows Server Failover Clustering (WSFC) administrator to create a customized configuration through the Cluster Manage
How can I achieve/fix this please.