Last time, you got a general introduction to "smart" / managed switches (NETGEAR's GS108T in particular) and a walkthrough its port-manipulation features. This time, I'll show how to use a smart switch to enhance your LAN's security.
But first, an SNB forum reader asked that I check to see if enabling port mirroring caused a throughput hit in the GS108T. So I fired up IxChariot and sent TCP/IP traffic between two machines connected by the GS108T. While the traffic was running, I enabled port mirroring on one of the in-use-ports and mirrored it to first an unused port, then to the other port that was being used by the test. In neither case could I see any affect on the traffic being sent. Now back to our program.
The GS108T's security-related features are grouped under its Security tab. Some of the features, like Port Authentication, require a companion RADIUS server and I'll come back to those shortly. But other features can help you tighten up your small network's security without wrassling with RADIUS.
The simplest function is Port Security. While you wouldn't know if from the description in the GS108T user manual, this feature lets you lock down switch ports. Figure 1 shows me locking down Port 4 using the Discard action, which configures the port so that traffic from any other device physically connected to the port other than the "learned" one will be discarded.
Figure 1: Configuring Port Security
Forward is kind of the reverse of Discard in that if you move the "learned" device to any other port, it will be locked out. But data from any other device plugged into the "locked" port will be sent (or received) normally. The last option, Limited Learning, is handy if you have another small switch uplinked to the "locked" port. It will allow traffic to and from 16 MAC addresses, but then block traffic from anything else.
The other feature on the Traffic Control tab—Storm Control—probably won't find much use in a small LAN. It is there to protect against network "storms" or floods of network traffic that are sometimes caused in large multiswitch networks. You have seen a network storm if you accidently connected two ports together on a switch and then saw the link / activity lights flash wildly.
But what if you'd like to have the equivalent of the MAC Address filtering that you find on wireless routers? You can find that in the Security > Access menu's Trusted MAC function (Figure 2). Unfortunately, the feature in the GS108T isn't very user friendly. There is no pick list of currently-learned MAC addresses to use in creating your list of trusted addresses.
Figure 2: Trusted MAC address
But the bigger uh-oh creator is that as soon as you enter the first trusted address, all others are disabled. So make sure that the first address that you enter is the one for the computer (and the port that it is connected to) that you are using to administer the switch! Or you'll end up having to do a paperclip reset to defaults (and redo all of your other settings or reload a saved config file) to get back into the switch admin!
Another way to control LAN access is to have users actually log in or authenticate. Smart / managed switches usually support this option and so does the GS108T. But the GS108T requires a RADIUS server somewhere on the network to store the user credentials and perform the authentication.
Figure 3 shows the GS108T's Port Authentication controls, which include the ability to allow access if the RADIUS server is not available and the ability via the Guest VLAN setting to send anyone failing authentication to a particular VLAN. This technique effectively puts unknown users on a separate network from authenticated users and perhaps given only Internet access.
Figure 3: Port Authentication
Setting up a RADIUS server is beyond the scope of this article. But you might get some clues from How To: Setting up FreeRADIUS for WPA & WPA2 Enterprise - Part 2. Another trick is to purchase a wireless AP/router that has a mini-RADIUS server built in. Zyxel has a few, including the NWA-3160. For about $140/$150 you could save yourself a whole lot of hassle!
Related Items:Slideshow: NETGEAR GS105E 5 Port ProSafe Plus Switch
Smart Switch How To - Part 1: What A Managed Switch Can Do For Your Sm
Smart Switch How to - Part 3: Bandwidth Control
How To Use A Layer 3 Switch In A Small Network
Netgear rolls out new wireless and low-cost gigabit switches and NAS l