Reset Search
 

 

Article

Cannot create layer-3 IP address in same subnet as layer-2 IP address - Error stating Subnet Conflict

« Go Back

Information

 
TitleCannot create layer-3 IP address in same subnet as layer-2 IP address - Error stating Subnet Conflict
Symptoms
  • Cannot create layer-3 IP address in same subnet as layer-2 IP address - Error stating Subnet Conflict
  • Error messages displayed when trying to add layer-3 IP address:
Subnet conflict between specified ip address and current configuration
All routing interfaces, service port and network port must be configured on different subnets
Environment
  • Securestack
  • C5-Series
  • B5-Series
  • All firmware versions
Cause
  • Securestack only allows a single IP address in any given subnet to be configured at any given time
  • A VLAN interface cannot be configured with an IP address that is in the same subnet as the previously configured host address.  
Resolution
  1.  Via local console session, remove layer-2 IP address with command:
clear ip address
  2.  Navigate to the layer-3 IP address to now reconfigure a new IP address, mask, and default route:
router
enable
configure
interface vlan <VLAN_ID>
ip address <IP_ADDRESS> <SUBNET_MASK>
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 <DEFAULT_ROUTE_IP_ADDRESS>
exit
exit
exit

 
Additional notes
Host address is a layer two address for management access when the switch is not routing. If at a later time a VLAN interface is to be configured with an address in the same IP subnet as the host address the host address must be removed first as shown in the solution above.

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255