Hi guys starting to learn networking, I am trying to connect two routers in one switch to ping each other using ip route .
router 0 has 192.168.10.1 gi0/0 router 1 has 192.168.20.1 gi0/0
I tried putting switchport trunks on both fa0/1 and fa0/2 for switch 0