why is that only 192.168.x.x is used for LAN connections?why no other series of class C addr?
Why 192.168.x.x is always used for LAN ?
(6 posts) (2 voices)-
Posted 3 months ago #
-
@Praveen : 192.168.0.1 is also called as private IP address. It became common in use because of the devices like router etc manufactured had it this IP set by default to 192.168 series.
192.168.0.1 also called as private IPv4 network address. Now as IPV6 is coming up, we will get a different ip adress which you would see most of the manufacturers like D-Link and Netgear models and soon will again become one of the most commonly used Private IPV6 address.
HTH
AshishPosted 3 months ago # -
Thanks Ashish.....
say i want to ping a host system inside a LAN which has a ip addr of 192.168.6.10 from another ip addr say 192.168.1.100 which is some where in the internet.....teh default gateway for 192.168.6.10 is 192.168.6.1 and the other end of the router has 192.168.1.1 which connects to the internet...is it possible for a system assigned teh ip addr 192.168.1.100 from global internet to ping the system of ip addr 192.168.6.10 which is in LAN??if it can how does NAT function here??Posted 3 months ago # -
I am aware that you can have multiple domains on same IP address. DNS on that IP can resolve to different names this means that it must be resolving to its ip address in order to send the request forward.
But i dont think you can ping an internal IP address using gateway. Unless you are in the network you cannot ping it.
I had worked in some projects where we used to map internal IP to domain names but when we used to ping the domain name we used to get the IP address of the gateway not that internal ones.
Posted 3 months ago # -
ya....but for any system to ping from internet to a host in stub domain is not possible unless its configured so in NAT.....
if i run a normal client server program using socket in a same PC, its not neccesary for it to go through all the layers of the stack(i mean the 4 layers).....for sure its not required to traverse the physical layer....how does the layering principle works when a client and server runs on the same PC??Posted 3 months ago # -
I would assume it depends on how the service is being called. For example if you use localhost in the url it bypasses the hardware layers ( 5 layers of TCP IP ) but if you are using a proper URL then it will first get resolved into IP address using DNS and then again get back to same machine.
Posted 3 months ago #
Reply
You must log in to post.