User Terminals in the Same VLAN Cannot Ping Each Other
Procedure
- Check whether the interfaces connected to the
user terminals are in Up state.
Run the display interface interface-type interface-number command in any view to check the status of the interfaces.
If the interface is Down, rectify the interface fault.
If the interface is Up, go to 2.
- Check whether the IP addresses of user terminals
are in the same network segment.
- If they are in different network segments, change the IP addresses of the user terminals.
- If they are in the same network segment, go to 3
- Check whether the MAC address entries on the Switch are correct.
Run the display mac-address command on the Switch to check whether the MAC addresses, interfaces, and VLANs in the learned MAC address entries are correct. If the learned MAC address entries are incorrect, run the undo mac-address mac-address vlan vlan-id command on the system view to delete the current entries so that the Switch can learn MAC address entries again.
- Check whether the VLAN is properly configured.
- Check the VLAN configuration according to the following table.
Check Item
Method
Whether the VLAN has been created
Run the display vlan vlan-id command in any view to check whether the VLAN has been created. If not, run the vlan command in system view to create the VLAN.
Whether the interfaces are added to the VLAN
Run the display vlan vlan-id command in any view to check whether the VLAN contains the interfaces. If not, add the interfaces to the VLAN.NOTE:If the interfaces are located on different devices, add the interfaces connecting the devices to the VLAN.
The default type of a Switch interface is Access. You can run the port link-type command to change the interface type.
Add an access interface to the VLAN using either of the following methods:
- Run the port default vlan command in the interface view.
- Run the port command in the VLAN view.
Add a trunk interface to the VLAN.
Run the port trunk allow-pass vlan command in the interface view.
Add a hybrid interface to the VLAN using either of the following methods:
- Run the port hybrid tagged vlan command in the interface view.
- Run the port hybrid untagged vlan command in the interface view.
Whether connections between interfaces and user terminals are correct
Check the connections between interfaces and user terminals according to the network plan. If any user terminal is connected to an incorrect interface, connect it to the correct interface.
After the preceding operations, if the MAC address entries are correct, go to 5.
- Check the VLAN configuration according to the following table.
- Check whether Layer 2 port isolation is configured.
Run the interface interface-type interface-number command in the system view to enter the interface view, and then run the display this command to check whether Layer 2 port isolation is configured on the interface.
- Check whether the correct static Address Resolution Protocol (ARP) entries are configured on the user terminals. If the static ARP entries are incorrect, modify them.