View Full Version : IP-ADDRESS and Subnet mask
Hi all.
In a LAN if i configure one PC with
1st PC
IP=192.168.0.2
Subnet Mask=255.255.0.0
and another PC with
2nd PC
IP=192.168.0.4
SubnetMask=255.255.255.0
and from 1st PC if i ping 192.168.0.4 then will the reply come ?
I thought that since the subnet mask are different i.e. 1st PC is on Class B network and 2nd PC on Class C network. There must be no communication.
but to my surprise i got the ping reply. :~
can anybody please make me clear about this matter.
Thank you very much
Hi all.
In a LAN if i configure one PC with
and another PC with
and from 1st PC if i ping 192.168.0.4 then will the reply come ?
I thought that since the subnet mask are different i.e. 1st PC is on Class B network and 2nd PC on Class C network. There must be no communication.
but to my surprise i got the ping reply. :~
can anybody please make me clear about this matter.
Thank you very much
You can ping it.....
Cowboy
Hi Tex
Yes I can ping.
does any body body knows why i can ping ; (from) Class A network to Class B network.
thanks
btw as far as i know the subnetmask determines the class of IP.
Am i wrong ??
Thanks
primesuspect
3 Sep 2007, 07:41pm
Because your subnet on PC A (255.255.0.0) makes it sit on a class B network - your 192.168 class B INCLUDES 192.168.0
The Class B would be:
192.168.0
192.168.1
192.168.2
etc...
So since PC B sits on 192.168.0 which is on your class B defined by 255.255.0.0, you can see it.
Because your subnet on PC A (255.255.0.0) makes it sit on a class B network - your 192.168 class B INCLUDES 192.168.0
The Class B would be:
192.168.0
192.168.1
192.168.2
etc...
So since PC B sits on 192.168.0 which is on your class B defined by 255.255.0.0, you can see it.
You are SOOOOO much better at networking then me prime... (grin)
Cowboy
Thanks Primesuspect.
It's as clear as sunny bright day :D
Thanks once again http://icrontic.com/forum/images/icons/icon14.gif
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.