mahinda jayasinghe said:
Do I need to use same IP addres if I caonnect several PCs with a router. Then how do I identify individual PCs if I use same IP.
Or how do I define IP address for individal PCs i am going to connect.
easy answer is, you don't.
bmcculla explained it earlier, but presumably that didn't help, so I'll have a go.
The router will appear to the outside world as a SINGLE PC. As such, it will have a single IP address. This will be assigned by your ISP.
However,
internally (i.e. within your home network) the router, all PCs and anything else connected to the network will have an IP address assigned (probably) by your router. Internally, you router will have the address 192.168.0.1, and the PCs will take the addresses 192.168.0.2, 192.168.0.3 etc. This should all be done fairly automatically by windows (assuming that is what you are using).
So, it doesn't matter which PC you are using to browse the internet, to the
outside world it will appear as if you are only using one PC (which will infact not be a PC, but your router).
Each PC has its own IP address,
but only internally. It does not need an external IP address aswell, as the router already has one.
Then how do I identify individual PCs if I use same IP
again, you don't. Instead of each computer communicating with the internet, it communicates with the router. The router then communicates with the internet, requesting a particular piece of data. When this data comes back to the router, it remembers the internal IP address of the computer that requested it in the first place, and sends that piece of data on to that computer.
Any help?
Tim