I need to connect 20 computers in Lan, 10 of which will connect to internet but not others. I have two 16-port switches and One BSNL wi-max internet connection. So can u please help me to do so. (I was thinking to have two Ethernet port on the systems which are to connect to the internet. Through two different switches can I be able to access Internet as well as the LAN).
There are many ways to accomplish this, though the easiest may be to just --
Do not assign a default gateway to the computers that you don't want to access the internet.
They'll still be on the LAN, with access to shares, printers, other desktops, etc., but with no default gateway set, they won't know how to send/request information from outside your LAN.
If you're using Windows 7...
It is on this page that you will set (or in your case, not set) your default gateway.
If you choose
You will then have to manually enter the
Do you know how to change the Computer Name of any given computer? This is the name that a computer has that will show up in places like... Network listings, etc.
I ask, because if you rename the computers that you do NOT want to have internet access so that this Computer Name includes some convention that indicates it is not supposed to get online (like adding OFFLINE to the end of it's existing name), you can then just connect ALL of the computers the same way to the switches. No custom settings will be necessary. How is that possible? Well... it all depends on one thing...
As has been pointed out, you need a router.
You would be able to connect to that router's Administration panel, and from there easily designate which computer was allowed internet access, and which ones were not. This is why you would have changed the individual Computer Names of the machines which were not supposed to get online... so you could see them easily in the Admin Panel. This method would be simple, AND you could at any time change the status of a specific machine to allow it internet access.
Of course, the EXACT procedure would vary from router to router, but the basic setup would be that you would connect your internet modem from BSNL to your router, and then the two switches to the router, and then the 20 computers to the switches. You would not have to separate the computers and have the 10 with internet access on one switch, and the other 10 without access on the other switch. Since you were regulating which computers could get online from the router, they could be mixed.
Again, handling the net access permissions from the router means you don't have to mess with individual configuration settings at each computer.