In-depth analysis of vswitch MAC Address Access Control Problems

Source: Internet
Author: User

Generally, the implementation technologies of each company's products are different. The software system used by Cisco switches is Catalyst IOS. CLI is called "Command-Line Interface". To execute a Command, you must first enter the corresponding configuration mode.

In network management, users often encounter this situation: some users violate management regulations and modify their own IP addresses without permission to access restricted resources. Such behavior not only undermines information security rules, but may also cause network communication Faults due to address conflicts.

The network administrator may try to solve this problem by using various technical means described in the following article, but the effect is not necessarily satisfactory: first, the technical means cannot completely prevent this phenomenon, the second step is to increase the complexity and cost of management. Therefore, the most effective way to curb this phenomenon is administrative means, which cannot be replaced by technical means.

Before introducing these management methods, let's look at a simulated environment: the workstation PC and SERVER are connected to a Cisco Catalyst 3550 switch, which belong to different VLANs, use the 3550 route function for Communication (with the MAC address configuration of the switch ):

If you do not need permission restrictions, but want to prevent IP address conflicts, the best solution may be to use DHCP. The DHCP server can set parameters such as IP address, subnet mask, gateway, and DNS for users, which is convenient to use and saves IP addresses.

For details about how to set DPCP on a Cisco device, refer to http://mize.netbuddy.org/021011.html. Static allocation and configuration require a lot of management overhead. If users do not mess up, the user names and IP addresses correspond one by one to make maintenance easier. The following assumes that static management is used.

 
 
  1. hostname Cisco3550   
  2. !  
  3. interface GigabitEthernet0/11 description Connect to PC   
  4. !   
  5. interface GigabitEthernet0/12 description Connect to SERVER switchport access vlan 2   
  6. !  
  7. interface Vlan1   
  8. ip address 1.1.1.254 255.255.255.0   
  9. !  
  10. interface Vlan2  
  11. ip address 2.1.1.254 255.255.255.0   

Breakthrough method: If the MAC address of the vswitch is invalid, you can change the IP address to 1.1.1.1 to access the Server. An invalid user preemptible address 1.1.1.1 may cause an IP address conflict. If you set the IP address to the IP address of the gateway, the communication of the entire VLAN will also be affected. By modifying Windows Settings, you can prevent users from modifying the "network" attribute, but this method is also easy to break through.

Discussion update: after reading this article, a friend named Maying sent a post to BBS asking: "How to set the traffic to filter out a specific mac address on the router? You do not want the host with this mac address to go through the router !". This requirement is fresh.

  • Uncover important factors in Ethernet Switches
  • Explain the exclusive technical advantages of vswitch Technology
  • What determines the quality of the vswitch?
  • What is the trend of GE switches in China?
  • Where is the vswitch vulnerability?

When you filter a MAC address, this action takes place on the second layer. Vrouters generally perform layer-3 routing tasks. They only filter the MAC addresses that enter when bridging in rare cases, therefore, it is best to set such filtering on a L2 switching device.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.