06-12-2021 11:53 AM
Hi SMEs,
This question is a simple one regarding subnet mask. There was a server in the network and had to replace the server with a new one.(one to one replacement- Disconnect the old one from the network and connect the new one)
Existing IP: 10.10.1.20
Subnet Mask : 255.255.254.0 (/23)
Gateway: 10.10.1.254
However, when I replaced it with the same IP information, it was not pingable. IT worked only after I changed the subnet mask to /24.
New IP : 10.10.1.20
Subnet Mask : 255.255.255.0 (/24)
Gateway : 10.10.1.254
My question is, how it worked earlier with the/23 mask and how come /24 resolved the issue? Why didn't the new server didn't accept /23 mask, which was working.
06-12-2021 02:06 PM
Was seen the same issue, is this windows server 2009 or 2012 R2 ? As VM and Physical Server.
If your Gateway is originally set up as /24 network as Gateway, Old version doesn't care I guess the network and broadcast, used to work.
when the new Server 2016 or 2019 not going to accept that. so you need to be the same mask and part of the broadcast domain to work.
06-12-2021 03:04 PM
good point thanks.
06-12-2021 08:06 PM
It was a linux server.
06-13-2021 02:02 AM
give more information, what Linux was this ?
06-13-2021 10:47 AM
I find this description puzzling. If I am reading the post correctly both the server and the gateway were in the same subnet with both masks /23 and /24. If the new server works with /24 and does not work with /23 then it must be something in the OS of the server. And I thought linux was pretty good about subnet masking. I have seen some issues (especially in Windows) when the addressing was using supernetting. But that is not the case here.
If the server is configured with 10.10.1.20/24 it would recognize the upper half of the /23 as local and regard the lower half of the range as remote. Does this impact connectivity between hosts in the lower half and the server?
06-13-2021 04:01 PM - edited 06-13-2021 04:03 PM
Hi Richard,
Once the new server configured with /23 (as same as the existing server), it was not responding to ping or ssh from remotely and locally. Yes, I agree it is strange.
06-14-2021 07:18 AM
I want to focus just on the server and the gateway and to verify that if the server is configured with 10.10.1.20 and gateway of 10.10.1.254 and mask of 255.255.254.0 the the server is not able to ping the gateway and the gateway is not able to ping the server? Could you test it again and post the content of the arp entries on both the server and the gateway?
06-14-2021 08:28 PM
Hi Richard,
Unfortunately, I coudn't test the arp entries as it was totally unreachable. But I'll make sure to try it out if in future I face the same issue. Thanks all for your time to help me out.
06-16-2021 04:23 AM
@Richard Burts wrote: DGCustomerFirstI want to focus just on the server and the gateway and to verify that if the server is configured with 10.10.1.20 and gateway of 10.10.1.254 and mask of 255.255.254.0 the the server is not able to ping the gateway and the gateway is not able to ping the server? Could you test it again and post the content of the arp entries on both the server and the gateway?
Your site has a lot of useful information for myself. I visit regularly.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide