title: How do i set up a static route between 3 routers on a packet tracer?
body: <p>i have 3 routers on my packet tracer: r1, r2 and r3.
  i connect r1 and r2 using a DTE/DCE cable on serial ports s2/0
  and r2 and r3 using DTE/DCE cable on serial ports s3/0</p>
  
  <p>i basically do this on each of these routers:</p>
  
  <pre><code>    R1&gt;enable
      R1#configure terminal
      R1(config)#interface sX/0
  </code></pre>
  
  <p>//Here X means the respective port numbers for any routers</p>
  
  <pre><code>    R1(config-if)#ip address 192.168.1.1 255.255.255.0
      R1(config-if)#exit
      R1(config)#exit
      R1#write
      R!#exit
  </code></pre>
  
  <p>i assign different ip addresses for each gateway i.e.
  For router r1 and interface s2/0, ip address is: 192.168.1.1
  For router r2 and interface s2/0, ip address is: 192.168.1.20
  For router r2 and interface s3/0, ip address is: 192.168.2.1
  For router r3 and interface s3/0, ip address is: 192.168.2.20
  after the above steps are done for all routers(and gateways), i do static routing:</p>
  
  <pre><code>    R1(config)#ip route 192.168.2.0 255.255.255.0 192.168.1.20
  </code></pre>
  
  <p>but somehow the routers just won't ping..not even themselves.
  this used to work before but i'm missing something here and i don't know what
  please help!</p>