Hi guys starting to learn networking, I am trying to connect two routers in one switch to ping each other using ip route . 


[![upload][1]][1]


  [1]: https://i.sstatic.net/0jXFE.png

router 0 has 192.168.10.0 gi0/0
router 1 has 192.168.20.0 gi0/0

I tried putting switchport trunks on both fa0/1 and fa0/2 for switch 0