Let's say 3 computers are connected to the internet through a one Router.If we want one computer of that LAN (which only has 3 computers) to host our web site so everyone over the internet can access...:-
1. Do all 3 computers get the same Public IP address(coz connected to the same router).
2. If so what IP address would our web server get?
3. How does outer world log separately only to the web server by selecting the server machine exactly(if all 3 gets same public IP)
Jump to Post
To answer your first question: No they are assigned different IP addresses. 192.168.0.1 is usually the default IP and is usually reserved for a router, the first computer connected to the router will have an IP of 192.168.0.1, the second 192.168.0.2 and i think you can guess the 3rd.
All 2 Replies
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.