Lab 07 : Configure Static Route in GNS3

  • Static route tells the device exactly where to send traffic, no matter what.

  • Static route is often used when your network has only a few routers or there is only one route from a source to a destination.

Syntax of static route

ip route destination-network-address subnet-mask {next-hop-IP-address | exit-interface}
  1. destination-network-address: destination network address of the remote network

  2. subnet mask: subnet mask of the destination network

  3. next-hop-IP-address: the IP address of the receiving interface on the next-hop router

  4. exit-interface: the local interface of this router where the packets will go out

1. Scenario

  • Suppose that your company has 2 branches located in Tehran and Shiraz.

  • As the administrator of the network, you are tasked to connect them so that employees in the two LANs can communicate with each other.

  • After careful consideration you decided to connect them via static route.

2. Physical Topology

3. Configuring interfaces on R1

4. Configuring interfaces on R2

5. show ip route command

6. Configuring static route on R1

7. Configuring static route on R2

8. Manually set an IP on PC1

9. Manually set an IP on PC2

10. Try to ping each far end network

Last updated