cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9099
Views
9
Helpful
20
Replies

how to check if devices are on same network or not?

mahesh18
Level 6
Level 6

i have one host IP

172.16.10.100/16 and another host

172.16.20.200/24

how can we check that if they are in same network or not?

many thanks

mahesh

20 Replies 20

The OP never asked about configuration in a router.

That's the problem with us techies, we just think about if the router supports the commands and we end up failing on those tricky questions during the exam :)

I've been burned many times assuming just that and now read the questions differently.

I have a feeling the OP saw this question in a Cisco exam :)

__

Edison.

royalblues
Level 10
Level 10

use any online subnet calculator

http://jodies.de/ipcalc

Narayan

Edison Ortiz
Hall of Fame
Hall of Fame

The host 172.16.10.100 255.255.0.0 is on the same network as 172.16.20.200 255.255.255.0 but 172.16.20.200 255.255.255.0 is not in the same network as 172.16.10.100 255.255.0.0 - thus you will have connectivity issues between these devices as the path from one device to another may be different.

__

Edison.

Edison,

I think you put it the reverse way

The address 172.16.20.200/24 is on the same network as 172.16.10.100/16

Narayan

Hi ediortiz,

can u please explain me in more detail

many thanks

mahesh

hi mahesh

your network

172.16.10.100/16

network 172.16.0.0

first host 172.16.0.1

Last host 172.16.255.254

broadcast address 172.16.255.255

next network 172.17.0.0

So your network 172.16.20.200/24 and 172.16.10.100/16 are host 172.16.0.0/16 network