What is 192.168.1.1
-
I really dont know networking. Why every LinkSYs router has such IP: 192.168.1.1. I am confused, if router has this IP, how can an packet know where to go? I know this must be a stupid question....Dont laught at me
-
I really dont know networking. Why every LinkSYs router has such IP: 192.168.1.1. I am confused, if router has this IP, how can an packet know where to go? I know this must be a stupid question....Dont laught at me
This is not a C# question... But I will supply you with an answer : the router usualy gets the IP addres 192.168.1.1. Why this addres? Maybe because this is an easy-to-remember addres. Anyway,I know thatthe addrescan be changed. A packet travels through the internet with the help of gateways. A gateway routes the pachet to the requested destination. This is exactly what a router does : it has 2 port types - LAN and WAN. It routes the pachets from the lan to the wan and viceversa, it acts like a gateway at a specified addres.
protected internal static readonly ... and I wish the list could continue ...
-
This is not a C# question... But I will supply you with an answer : the router usualy gets the IP addres 192.168.1.1. Why this addres? Maybe because this is an easy-to-remember addres. Anyway,I know thatthe addrescan be changed. A packet travels through the internet with the help of gateways. A gateway routes the pachet to the requested destination. This is exactly what a router does : it has 2 port types - LAN and WAN. It routes the pachets from the lan to the wan and viceversa, it acts like a gateway at a specified addres.
protected internal static readonly ... and I wish the list could continue ...
192.168.1.1 is the first IP address in a class C private network. Read this RFC for more information about private networks: http://www.ietf.org/rfc/rfc1918.txt[^] -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall
-
I really dont know networking. Why every LinkSYs router has such IP: 192.168.1.1. I am confused, if router has this IP, how can an packet know where to go? I know this must be a stupid question....Dont laught at me
LinkSys routers have 192.168.1.1 as an ipaddress because LinkSys assumes you will be communicating on this already configured subnet. Subnet address --> (192.168.1) Host --> .1 Note: The .1 in the ipaddress represents the router, 192.168.1 represents the subnet. I wont mention the subnet Mask, this only will confuse you further, you must first understand the basics. For example if you are at home and use DSL or Cable for internet access. You have a modem which connects to your LinkSys router. Your router actually has 2 IP addresses 69.254.36.244 or whatever for your external (public, internet, WAN) address and 192.168.1.1 for your internal (private, LAN) address. If your router is configured as a DHCP server (The duty of passing out ipaddresses to anyone on your private network) Then every computer connected on your LAN or private network will receive an ipaddress on the 192.168.1 subnet from your router. So whenever you connect your computer to your linksys router you will receive an ipadress between 192.168.1.2 - 192.168.1.254 - remember 192.168.1.1 is used for your router so u cant use that one. Hope this helps If a router has that particular ip (192.168.1.1) then how does it no where to send packets??? Easy!!! The packet will either have an IP address on the subnet configured by your router (192.168.1) or some other IP address not on your private Network!!! If the packet has an ipaddress on the 192.168.1 network (subnet) it's communicating on the LAN so it will send the packet to another computer on the subnet. If it has a weird 68.126.88.92 ip address on the packet then it will send the packet out to the external IP address - Then your packet will be in the hands of an ISP router. Then that router looks to see if it has the direct destination of the packet on its network if it doesnt This router also has another ip address so it sends the packet away to another router and so on and so on until it finally reaches its destination!!! -- modified at 18:13 Friday 10th February, 2006