my n/w has /26 subnet, IP range is 10.36.27.64 to 10.36.27.127. Now i want to upgrade to /24 subnet, then IP range will be 27.0 to 27.255.
Can i use same default gateway i.e 27.127 for all hosts? as changing only subnet mask on all hosts & switch interface. Pls suggest
The gateway needs to be in the same subnet as the clients that is servicing.
If you decide to keep the subnet mask of /26, only the clients within the .64 to .127 range will be able to use .127 as the gateway.
If you decide to change the subnet mask to /24, clients within the .1 to .254 can use the .127 as the gateway.