On one of my clients site router, they have a secondary ip address configured:
ip address 10.2.0.1 255.255.255.0 secondary
ip address 10.2.1.1 255.255.255.0
The switch that connects to E0/0 has an ip address of 10.2.0.2. The switch that connects to E0/0 has these interfaces:
ip address 10.2.0.2 255.255.255.0
no ip route-cache
ip address 10.2.60.1 255.255.255.0
Now vlan 60 isn't pingable from the router since this L3 switch doesn't have ip routing enabled. If I enable ip routing on this switch, I can't ping 10.2.0.2 anymore from the router.
Should I just delete the secondary interface 10.2.0.1 on the router or should I change the ip address of vlan 1 on the switch from 10.2.0.2 to 10.2.1.2?
What are my options.
From the router, you need a route to 10.2.60.0/24 by using 10.2.0.2 as the gateway.
It's not a directly connected network so you need to tell the router how to get there.
It's much easier if you enable a routing protocol between these devices.
Please rate helpful posts