I am a complete beginner in networking. My set up includes a 2960 cisco switch, and 2 TL-MR3420 routers. RouterA is configured with 192.168.1.0/26 network. RouterB uses 192.168.2.0/26 network.
My switch is a layer 2 switch. However, through lanbase *protocol?, it supports IP routing. I have VlanA which is configured with an IP Addr of .1.100, from RouterA. VlanB accesses RouterB has an IP Addr of .2.200. I have configured switchport mode for gi0/1, fa0/1-12 as access ports and these are in VlanA. I have done same for the rest of the fa and second gi ports. That is access VlanB.
My wish is to be able to ping a device on a different network. I used packet tracer, and it seems I need some sort of crossover cable. I have tried this with the physical network, but I usually end up getting Vlan Mismatch error :
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet0/2 (20), with example.com GigabitEthernet0/1 (10).
I understand the one foremost rule is that Vlan IDs must match. Like I mentioned before, my networking skills at the moment are limited. I am asking, how would you set up this kind of network in order for devices in different LANs to be able to communicate with each other?