Cisco – Required VLAN overlapping allowed

ciscocisco-commandsinterfacesubnetvlan

I configured the switch for two VLANs, as below:

Projects-3560-(config)#int vlan11

Projects-3560-(config-if)#ip address 10.110.1.1 255.255.255.0

Projects-3560-(config)#int vlan10

Projects-3560-(config-if)#ip address 10.110.0.1 255.255.0.0
% 10.110.0.0 overlaps with Vlan11

I am getting the above error.

I want a specific IP address to be used in vlan10, which is 10.110.0.180. Also, I should not change the vlan11 gateway and subnet mask, as it is used by other applications.

Can any one help?

Best Answer

You cannot have networks with overlapping addresses. A router needing to route between the two networks could not determine which network to use. Routing must be deterministic.

If you need a host with an address of 10.110.0.180 on VLAN 10, then you could use the 10.110.0.0/24 network for VLAN 10 instead of the 10.110.0.0/16 network. Change the mask on VLAN 10 to 255.255.255.0.