extending a subnet

CaptainGiblets
CaptainGiblets used Ask the Experts™
on
I asked a question about extending my 192.168.20.x subnet to encompass 192.168.21.x as well and was told to change the subnet mask to 255.255.254.0

I am just about to do this and just wanted to double check, what should be the subnet mask on the 192.168.21.x machines? Would it also be 255.255.2544.0 or 255.255.255.0?  I would presume the first one, but then how would those clients know to look for .20 and not .22?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
ipcalc 192.168.20.0/23
Address:   192.168.20.0         11000000.10101000.0001010 0.00000000
Netmask:   255.255.254.0 = 23   11111111.11111111.1111111 0.00000000
Wildcard:  0.0.1.255            00000000.00000000.0000000 1.11111111
=>
Network:   192.168.20.0/23      11000000.10101000.0001010 0.00000000
HostMin:   192.168.20.1         11000000.10101000.0001010 0.00000001
HostMax:   192.168.21.254       11000000.10101000.0001010 1.11111110
Broadcast: 192.168.21.255       11000000.10101000.0001010 1.11111111
Hosts/Net: 510                   Class C, Private Internet

Open in new window

Subnet and mask should be identical on all network hosts in this subnets
192.168.20.0/23

Author

Commented:
Ok i have changed my subnet mask to 255.255.254.0

on my servers i have changed the subnetmask to above and all servers and pcs are in the .20.x range

I have changed my phone system (which i could previously ping) and one phone to the .21.x range.

Now my phone and the system can communicate, however i cant ping them from my .20 pcs.

What could be wrong?

On all servers / pcs i have

ip 192.168.20.x
mask 255.255.254.0

on phone system i have
ip 192.168.21.x
mask 255.255.254.0

Commented:
all 20 and 21 hosts are in th one sife of router, or or in a different sides of old router between 20 and 21 subnets?
maut be in one side
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Author

Commented:
they are all plugged into the same switches, the only gateway on that is an isa server which is in the .20.x range with a 254.0 subnet mask. I have also extended the isa server to show .21.x subnet as internal.

Author

Commented:
i was just reading back across my old question

"http://www.experts-exchange.com/Networking/Misc/Q_27209414.html"

The switch that i have is only a layer 2, would this be the reason why they cant talk between eachother? Or would it be something different? As from what i read it says that they cant talk between 2 different subnets? However are they not classed as the same subnet? but a class B not C?

Author

Commented:
Sorry for all the posts, but trying to keep you up to date on what i have / havent done.

Read more into the switch situation and it shouldnt be a problem.

Also, i have run a tracert from one of my pcs with the 255.255.254.0 subnet on the 192.168.20.x range. The connection goes to my isa server (default gateway) and then ends there.

The isa server is configured with the new subnet mask and has an ip of 192.168.20.2

Now i understand it is the default behaviour to send packets to the default gateway if its not part of the same subnet, however as they are why is this occuring?
It sounds like you have different VLANs created on the L2 switch or something still has the mask wrong. With the wider mask all the devices need to be on the same VLAN as well as in the same network or they will try to hit the gateway to get to the other network.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial