An overlapping subnet shares part or all of its address range with another interface or network. On a normal router, IOS rejects overlapping interface subnets because interfaces must connect different networks. section 17.2
Virtual Routing and Forwarding (VRF) removes this limitation by isolating interfaces into separate virtual routers:
- Interfaces in different VRFs may use overlapping subnets or identical IP addresses. section 17.2
- Assign an interface with ip vrf forwarding vrf-name; IOS removes any existing IPv4 address, which must then be reconfigured. section 17.2
- Verify each routing table with show ip route vrf vrf-name; show ip route alone does not display the VRF routes. section 17.2
IOS rejects an overlapping interface subnet
Configuring 192.168.1.1/30 on G0/0 and again on G0/2 produces “% 192.168.1.0 overlaps with GigabitEthernet0/0.” Placing the interfaces in different VRFs permits the same addressing scheme. section 17.2
