i have one another question
how one user from private network ip address 192.168.0.xx
subnet mask 255.255.255.0 gateway ip 192.168.0.100
it can not ping the ip 192.168.1.xx subnet mask 255.255.255.0 (i know it is not in same network) it fine.
but how it can ping any globle ip like yahoo.com , google.com ...etc
how can it can ping that, they are not in a same network
then how it can ping that ip and access over that??
can u explain me these question.
Thanks in advance
Raj.
Software/Hardware used:
ASKED:
February 15, 2005 3:22 AM
UPDATED:
February 18, 2005 9:37 AM
If the address is not local (based upon the subnet mask), it is sent to the default gateway which is responsible for sending it from there.
The default gateway 192.168.0.100 needs to know the next hop to the 192.168.1.0 Network. That network also needs to know the path back. If both subnets are on the same router they should be able to talk back and forth unless there is an access list or the clients on the other subnet do not have valid gateways configured.
There seems to be something funny with the valid address ranges.
Who assigned the defualt gateway for 192.168.0.100
and if they are on the same network
What class are they using,it seems obvious to be Class C,but the IP address range is funny (you if you subnet address can vary)even if its a Class B (and subnetting these classes becomes a bit complicated.
Newton
Because, as long as the address is routable, there are routers that are tasked with DNS, static routing etc. By definition routing is the ability to send messages to sub / networks that are not directly accessible. If you are using broadband, you probably have a router at your house. This router, in addition to connecting between its WAN and LAN ip addresses, which are different, and most likely on different subnets, also probably supports NAT, (Network Address Translation) which allows you to have unroutable internal ip addresses (192.168… or 10…., etc.), and through the use of either static routing or NAT services allows you to connect to and from the Internet to your internal, unroutable ips.