Home > Networking Tips > Network Engineering > Securing your Layer 2 network: Don't overlook the basics
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK ENGINEERING

Securing your Layer 2 network: Don't overlook the basics


Doug Downer
04.03.2006
Rating: -4.67- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Every day, urgent reports outline the newest threat, worm or virus to hit the Internet. Companies spend millions of dollars each year on intrusion detection systems (IDS), firewalls and client software to defend against attacks and potential attackers. While these measures are important and deserve significant dialogue, in this article I am going to outline what most engineers forget to master: the basics -- the simple mechanisms that have been around the longest to help secure the Layer 2 (Data Link layer) devices in your network.

The simple things
One of the first things we learn about as network engineers is the concept of broadcast domains. A broadcast domain is the logical space where all users share a "connection" and all hosts have the ability to hear each other's conversations. This concept is a prelude to the introduction of both routers and switches and how they can manipulate the boundaries of these domains. From the switching or Layer 2 perspective, virtual LANs (VLANs) can be used to break up broadcast domains for the purposes of minimizing traffic, separating business units or, more importantly, securing sections of your network from local threats.

As an associate engineer, you are taught that one of the primary reasons for VLANs is "to enforce better security by keeping sensitive devices on a separate VLAN" (as explained in the CCNA INTRO Exam Certification Guide, Chapter 10). This statement should be telling you that it's probably not a good idea to put your financial servers on the same VLAN as un-trusted hosts. Logical segmentation is one of the first and simplest steps to creating a secure Layer 2 environment.

To take it one step further, we can secure our Layer 2 environment by restricting host access to our individual VLANs. Allowing access to a VLAN based on MAC address is done by implementing port security. Port security allows only certain pre-authorized hosts to access the VLANs you've created. If an unauthorized host accesses the network, the port to which it's connected can automatically be shut down for a pre-determined time period. Port security is a good security tool, although tedious to maintain from an operations standpoint.

To configure a switch for port security follow the steps below:

Switch(config)#interface FastEthernet1/0/1
Switch(config-if)#switchport
Switch(config-if)#switchport mode access
Switch(config-if)#switchport port-security <------Enables port security 
     with the default settings
Switch(config-if)#switchport port-security violation {protect | restrict 
     | shutdown}

'Triple A' network protection
Authentication, authorization, and accounting (AAA) is a term for a framework for intelligently controlling access to computer resources, enforcing policies, auditing usage, and providing the information necessary to bill for services. These combined processes are considered important for effective network management and security.
The "protect" option drops packets with unknown source addresses until you remove a sufficient number of secure MAC addresses to drop below the maximum value. The "restrict" option drops packets with unknown source addresses until you remove a sufficient number of secure MAC addresses to drop below the maximum value and causes the SecurityViolation counter to increment. Finally, the "shutdown" option (default) puts the interface into the error-disabled state immediately and sends an SNMP trap notification.

Monitoring Layer 2 access via port security addresses the issue of unauthorized hosts from being a part of VLANs and subsequent networks, but doesn't address the issue of administrators making configuration changes to VLANs and/or your Layer 2 devices. Monitoring administrator access via RADIUS or TACACS+ is another way to secure your network. One of the most dangerous things within a networking environment is allowing an administrator to make unauthorized or unchallenged changes to devices throughout the network. Implementing "jump" stations, or "accounting" stations, can make administrators liable for any rogue configuration changes. It is wise to implement centralized change control within your network.

802.1x
Another simple mechanism which is becoming popular among administrators is the implementation of port-based authentication using 802.1X. This protocol enforces authentication of each host who wishes to join a particular LAN. While 802.1X is useful for instances such as local and remote users, it presents the same issue as port-security: operations management. For larger companies it can become tedious to manage authentication and access for multiple users. The operation of 802.1x is beyond the scope of this article, but further information can be found here.

The implementation of things such as VLANs, device access control and 802.1x can help secure your Layer 2 environment. Most engineers overlook the importance these most basic of security principles. The important thing is to not overlook the basics in Layer 2 security, but to learn about why and how these things are implemented. Filters, ACLs and DoS-specific modules and methods can be better implemented if a solid foundation is established.

Doug Downer (CCIE #9848 and JNCIS #881) is a Sr. Consultant with Callisma, Inc., a wholly owned subsidiary of SBC Communications. Doug has over seven years' experience in the industry and currently provides high-level business and technology consulting for various federal clients in the Washington D.C. area.

Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Network Engineering
Testing LAN switch power consumption: A best practices guide
Desktop virtualization network requirements
Preventing hacker attacks with network behavior analysis IPS
Internal cloud computing on the cheap: Free automated provisioning?
Improved storage performance without adding more disk
Troubleshooting -- 'Network Know-How' Chapter 17
Windows Server 2008 IP routing configuration: Static and dynamic RIPv2
Understand Windows tracert output to troubleshoot network connectivity
Using tracert and TTL to troubleshoot network connectivity problems
10 Gigabit Ethernet interconnect solutions: Investigate carefully before choosing

Network Hardware
Unified wireless network still a work in progress for vendors
3Com acquisition confirms HP-Cisco battle for China
Juniper to CIOs: Invest in internal cloud computing networks
802.11n wireless APs bring IP video to sprawling Illinois high school
802.11n upgrade: College ditches legacy network for new vendor
Network device management overload: Engineers managing too many boxes
What is network infrastructure and what is a hybrid network?
What preventative maintenance procedures for network devices exist?
Can wireless adapters operate as client access points to make SoftAPs?
Is there VLAN software recommend for Realtek NICs?
Network Hardware Research

Network Performance Management
Web gateway helps Texas manufacturer develop network user management
Desktop virtualization network challenges: A primer
Green enterprise: Three networking investments that make a difference
Storage area networks change management primer
CA-NetQoS deal: Network management = application performance
Virtualization change and configuration management primer
Network change and configuration management primer
Distributed network management means no more hard NOCs
WLAN QoS and SLA monitoring with 7/24 Wireless Quality Assurance costs
Network management from a service-based perspective

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
core router  (SearchNetworking.com)
fiber jumper  (SearchNetworking.com)
flow routing  (SearchNetworking.com)
foreign agent  (SearchNetworking.com)
foreign network  (SearchNetworking.com)
hardware load-balancing device  (SearchNetworking.com)
logical router  (SearchNetworking.com)
mrouter  (SearchNetworking.com)
patch cord  (SearchNetworking.com)
port interface card (PIC)  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts