How to limit the number of MAC address to each port interface
- vigorswitch, DrayOS 4, imported, port_security, mac_address_limit, port_interface, security_settings
The primary purpose of Port Security is to restrict the number of the MAC Address for each port interface. If the LAN client number is out of the limit, VigorSwitch will relate actions.
1. To use Port Secruity, please go to Security>>Port Security
- State: Enable the port security function on the VigorSwitch.
- Ports: Select the port you would like to set up the Port Security
- Port state: Enable the function on the ports selected above
- MAC Address: Enter the maximum number of MAC Address.
- Action: Select the action to the MAC Address for exceeding the limit.
Action options: Forward- Forward a packet to the VigorSwitch. Discard- Discard a packet that goes through the VigorSwitch. Shutdown- Shutdown this port when the number of MAC Address excess the limit.
2. After setting up the Port Security, you can check the list below.
- Details
Introduction to IP Conflict Prevention of VigorSwitch
- task_configuration, product_switch, tech_dhcp, symptom_ip_conflict, tech_access_control
Nowadays, it is common that a company network consists of not only servers and PC, but also IoT devices, printer, IP cameras, and a lot more. Stability would always be the top priority, and IP conflict is one of the causes of unstable connections. In the past, the network administrator may need to take a long time to find conflict sources from the big network.
VigorSwitch supports IP Conflict Prevention (ICP) since firmware version 2.4.0. It helps the administrator to find out the conflicting port and IP and take action quickly. This article introduces ICP and demonstrates how to use it on VigorSwitch.
ICP on Multiple Switches
ICP takes the advantages when there are multiple switches on the network, even if not all the switches support ICP. The edge switch can be other brands that you already have, and ICP would still work partially.
For example:
PC4 conflicts PC1: PC4 can't go through core switch, but PC4 still can access other hosts within edge switch.
PC2 conflict PC1: PC2 will be locked. It's because PC1 is configured to have the higher priority of using the IP.
Conflict Warning
When IP conflict happens, ICP shows the conflict status on the GUI like below, so that the network administrator could be aware of where the problems are.
How to Set up ICP?
Quick Start Wizard will be convenient and easy way to set up.
1. In the Quick Start Wizard, first select a port to which DHCP server is connecting.
2. VigorSwitch will conduct a preliminary detection of the environment and show the port type. If the port is incorrect, click on the port to change the port type to the correct one
- DHCP server: Tell the Switch which port the DHCP Offer will come from so it can block illegal DHCP Offers.
- DHCP Client: The Switch automatically learn the DHCP offer/ack to each port, and dynamically add/remove the IP into the table, thus to protect LAN clients who receive IP from DHCP server.
- Static Binding: For connecting to a device with a static IP. The switch memorizes the “static IP/port" combination and protects LAN clients on the list.
- Multiple Hosts: For connecting to an AP or a switch, all the IP behind the port will all be protected. If there's conflict in this port, conflict status will show the port conflict itself.
- LAG:Accept multiple ports using same IP address without looping and conflicting
- Multiple Host with DHCP Server:Accept several IP addresses to a single port; these IP addresses include DHCP Clients or Static Binding Clients, and a host register to be a legal DHCP Server and gain protection.
3. The switch will detect your network, and showing the hosts table. Remember to put the correct information on it.
4. Enable ICP, then ICP will be affected immediately.
NOTE:1. If I have multiple switches in my network, what is the sequence to enable ICP on different switch layer? We recommend to set the port type first (1-3 step on Wizard), then enable ICP on each layer.
2. We can set up the Mail Alert to let VigorSwitch send the message to notify the network administrator which port conflicts
3. When IP Conflict Prevention is processing, IP conflict detection can not be enabled.
- Details
VigorSwitch - IP Conflict Prevention
- VigorSwitch G2282x, VigorSwitch P2540x, VigorSwitch G2280, VigorSwitch P1085, VigorSwitch G1085, VigorSwitch G2100, VigorSwitch G2280x, VigorSwitch P2280x, VigorSwitch P2282x, VigorSwitch G2500, VigorSwitch P2500, VigorSwitch G2540x, VigorSwitch P1280, VigorSwitch P2280, VigorSwitch G1280, VigorSwitch P2121, VigorSwitch P2100, switch, IP Conflict Prevention, conflict, IP conflict, conflict prevention, vigorswitch, IP, prevention
DrayTek VigorSwitches running 2.4.0 or later firmware offer advanced IP Conflict Prevention (ICP) feature that can help with the network stability. Time consuming detection of the source of IP conflicts may cause many issues related to distracted connectivity especially on large networks. The new feature helps the administrator to find out the conflicting port and IP and take immediate action.
This article introduces ICP and demonstrates how to use it on VigorSwitches.
Applicable Products
| DrayTek VigorSwitch |
|---|
| DrayTek VigorSwitch G1280 |
| DrayTek VigorSwitch G2280 |
| DrayTek VigorSwitch G2280x |
| DrayTek VigorSwitch G2500 |
| DrayTek VigorSwitch P1280 |
| DrayTek VigorSwitch P2121 |
| DrayTek VigorSwitch P2280 |
| DrayTek VigorSwitch P2280x |
| DrayTek VigorSwitch P2500 |
ICP on Multiple Switches
ICP takes the advantages when there are multiple switches on the network, even if not all of them support ICP. The edge switch can be other brands that you already have, and ICP would still work partially.
For example:
PC4 conflicts with PC1: PC4 cannot go through the core switch, but PC4 still can access other hosts within the edge switch.
PC2 conflicts with PC1: PC2 will be locked. It's because PC1 is configured to have the higher priority of using the IP.

Conflict Warning
When IP conflict happens, ICP shows the conflict status on the GUI as depicted below. The network administrator can immedately locate the conflicting port and IP address used by the end device.

How to Set up ICP?
Quick Start Wizard is an easy and convinient way to configure ICP feature.

1. In the Quick Start Wizard, first select a port where your DHCP server is connected to.

2. VigorSwitch will conduct a preliminary detection of the environment and show the port type. If the port is incorrect, click on it to update. The table below lists all port types available for configuration:
| DHCP server | Tells the Switch which port the DHCP Offer will come from so that it can block illegal DHCP Offers |
| DHCP Client | The Switch automatically learns the DHCP offer/ack of each port, and dynamically adds/removes the IP into the table |
| Static Binding | Use this if a device is configured with a static IP. The switch memorizes the “static IP/port" combination and protects LAN clients on the list |
| Multiple Hosts | For connecting to an AP or a switch. All IPs linked with the port will be protected. If there's a conflict on this port, conflict status will be shown |
| LAG | Accepts multiple ports using the same IP address without looping and conflicting |
| Multiple Hosts with DHCP Server | Accepts several IP addresses linked with a single port; these IP addresses include DHCP Clients and Static IP Clients. A host registered as a DHCP Server is allowed and gains protection |

3. The switch will detect your network and shows the Protected Hosts Table. Double check this list and update if needed.

4. In this step select Enable to start the ICP

NOTE:
1. If there are many switches on the network, it is recommended to set the port type first (1-3 step on Wizard), then enable ICP on each layer.
2. VigorSwitch can send the email message to notify the network administrator about the port conflicts. Just go to [Mail Alert] section to enable the notification feature

3. When IP Conflict Prevention is processing, IP conflict detection cannot be enabled.
- Details
