2

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).

1
  • You need a router (hardware or software) that as I assume you only get one public IP by the BSNL wi-max connection.
    – Robert
    Commented Jun 29, 2012 at 12:15

2 Answers 2

1

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...

  • Open your Start Menu and and type Network Connections
  • Choose View Network Connections
  • Right-Click on your active network adapter (probably "Local Area Connection" if these computers are connected with an ethernet cable) and click on Properties.
  • Select (Left Click) Internet Protocol Version 4
  • Click the Properties button

It is on this page that you will set (or in your case, not set) your default gateway.

If you choose Obtain an IP address automatically, you will be given the Default gateway automatically. Consequently, you'll have to choose Use the following IP address:

You will then have to manually enter the IP address and Subnet mask. These settings will depend on your router and network setup so I cannot give you specifics unless you offer your specific setup.

3
  • Thanks for your Response Mr. Josh. I got your point. But still I am confused how to do? Can you please guide me to do so???
    – Rajendra
    Commented Jun 29, 2012 at 12:09
  • What OS are you using? All the same? Mix?
    – JoshP
    Commented Jun 29, 2012 at 12:12
  • MIX. I mean windows 7 and XP.
    – Rajendra
    Commented Jun 30, 2012 at 3:25
0

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.

1
  • This will work more efficiently in my office. You gave the exact solution what I was looking for. Thanks a lot Mr. Bon Gart.
    – Rajendra
    Commented Jun 30, 2012 at 2:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .