I'm building a lab network with some old Cisco gear so that I can properly test the deployment of a Read-Only Domain Controller in a vacuum (no connectivity to our production network). Essentially, I'm building a router on a stick - but I want two different networks on two different routers.
Here's my setup:
Cisco MC3800 Router - 10.0/16 (IP address: 10.0.0.1)
Cisco 2600 Router - 10.1/16 (IP address: 10.1.0.1)
Now here's where it gets funky:
Cisco 2950 Switch
FA0/1 - Trunk Vlan 10 (10.0.0.2 - goes to router 10.0.0.1)
FA0/2 - Trunk Vlan 20 (10.1.0.2 - goes to router 10.1.0.1)
The rest of the ports on the switch are access points, and 1/2 of them are on vlan 10, and the other half on vlan 20.
I need a way for these two routers to know about each other. So I was hoping that by simply trunking FA0/1 to vlan 10 and THEN adding vlan 20 as an access port, and vice-versa with FA0/2, I'd be done.
Obviously not. I can currently ping 10.0.0.2 FROM 10.0.0.1, and vice-versa. But I cannot ping 10.1.0.2 from the switch, nor can I ping 10.1.0.1 from the switch or vice-versa.
My default gateway is 10.0.0.1, and I've put a route into that router to route 10.1/16 requests back through 10.0.0.2 (switch). Is there a way I can have a 2nd Gateway on this 2950 switch, or is there any other way I can get 1 router to know about the other one?
Here's the current config on the switch for the two trunk ports:
interface FastEthernet0/1
switchport access vlan 20
switchport trunk native vlan 10
switchport mode trunk
spanning-tree portfast disable
!
interface FastEthernet0/2
switchport access vlan 10
switchport trunk native vlan 20
switchport mode trunk
spanning-tree portfast disable
... and here's the vlans themselves:
!
interface Vlan10
ip address 10.0.0.2 255.255.0.0
no ip route-cache
!
interface Vlan20
ip address 10.1.0.2 255.255.0.0
no ip route-cache
shutdown
Unfortunately, what's currently strange about this situation, is when I go into config t and try to turn on vlan 20 (no shut), then vlan 10 automatically shuts down and vice-versa. Not sure what that's about.
Thanks in advance.