Question about IP Addressing Scheme

August 1, 2010 at 06:03:55
Specs: Windows XP, N/A
I tried a little experiment here at the office,

In my understanding if you use for example a class B IP Address like 172.14.1.2 with a subnet of 255.255.0.0 then you have another computer and sets its IP Address to 173.14.14.3 subnet is set to 255.255.0.0, in my understanding they can see each other(Ping)? But why in my case they didn't have a chance to ping each other? My set up is a router with an IP of 172.14.1.1 and a subnet of 255.255.255.0(for some reason I can't set a defined subnet on that router its a Linksys WRT54SLGS) and 2 experimental computers connected directly to the router the other is set to DHCP so its IP is 172.14.1.2 and the other computer is static setting it to 172.14.14.2 with a subnet of 255.255.0.0 and gateway of 172.14.1.1(for internet connection).

I changed the subnet of the static computer to 255.255.255.0 but it did not work. They have the same network ID just different host ID.

I haven't tried replacing the router with a switch but in my understanding that would work.

Can you explain to me what is going on? How can I connect them to see each other? In my understanding an class B IP address can handle up to 65,000(255x255) host.


See More: Question about IP Addressing Scheme

Report •


#1
August 1, 2010 at 08:51:59
Your understanding is quite correct.
I would suggest to test with private ip address ranges, because otherwise, the router will try to resolve the addresses in the internet. Routers do not try to resolve private ip addresses on the internet.
So the private ip address ranges are:
Class A:
10.0.0.0/8 to 10.255.255.255/8

Class B:
172.16.0.0/12 to 172.16.31.255/12

Class C:
192.168.0.0/24 to 192.168.255.255/24

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •

#2
August 1, 2010 at 19:12:29
I see so that is the problem because I'm not using private IP's. Now I get it I reviewed all my books about IP Addressing Scheme and all of them are correct. Thanks now I understand it.

Report •

#3
August 1, 2010 at 21:46:58
You are welcome !

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •
Related Solutions


Ask Question