Studying for A+ and have a general question. If two neighbors purchase the same exact router (linksys) and the factory IP is exactly the same (18.104.22.168) could this cause a problem when connecting where your PC could mistakenly use your neighbors router for general surfing? Even if you created unique SSIDs?
You wouldn't connect by mistake even if the id was left at factory default (say Linksys or Netgear) if you already created a connection to your own router (and saved it as a profile in Windows or you wireless adapter's utility).
I suspect, because the profile will have identified and saved the router's unique MAC id.
As long as a profile exists and your own router has a good signal, such a mistake is unlikely.
The only thing that distinguishes one wireless AP from another (for the purposes of establishing a wireless connection) is the SSID, security type, and network key. The MAC address of the router is irrelevant as far as the client is concerned (of course, that doesn’t mean the router couldn’t reject a client MAC address using MAC filtering). If those three parameters match more than one wireless router, and the wireless protocol (a/b/g/n) is mutually compatible, then it's entirely possible your PC could connect to any one of them. That is in fact what makes wireless roaming possible. And when neighbors buying the same product leave them configured w/ their defaults, can result in UNINTENTIONAL wireless roaming! Of course, signal strength and range will play a part in determining the likelihood of that happening.
Ok...sounds good. Hope I can squeeze one more question in w/out starting a new thread. How is it possible millions of homes can have an IP like 192.168.1.1 for the default gateway? Does the router have a MAC to distinguish it from another router?
Some IP ranges are considered "private", not public. Addresses like 192.168.x.x and 10.x.x.x are intended ONLY for local network use, precisely so millions of homes and businesses can have their own local IP address space. However, those private addresses are not routable on the public IP space of the Internet. That’s why you need a NAT router. A NAT router is assigned a public IP on its WAN port and then maps the local IPs behind it (e.g., 192.168.1.x, including its own 192.168.1.1 IP address) to that public IP. If you didn’t have a NAT router, then everyone behind the router would need public IPs in order to communicate w/ other public IPs.
IOW, the designers of the Internet and TCP/IP were smart enough to realize that having both private and public IP spaces had many advantages. Some ppl/businesses might not even want to be on the public IP space, they may simply want to have local IP networks for internal use. And that’s perfectly fine and causes no conflicts w/ anyone else using the same private IP space. But once you want to have those two private IP networks communicate w/ each other, NOW you need NAT routers on each private network, each w/ its own pubic IP.
Yes, your Linksys is a NAT router. It receives a public IP by making a DHCP request to the ISP, the exact same way your PC would make a DHCP request to the ISP if the router wasn’t there. But instead of your PC being assigned the public IP (and thus making it not shareable), the Linksys router assigns the public IP to its own WAN port, then uses NAT to map it to all the wired and wireless clients behind it using a *local* IP space (e.g., 192.168.1.x).