GNS3 Labs - Static route



How Static Route Works

This is a simple tutorial for configuring static route to connect R1,R2,R3&R4 using GNS3. Below is the simple lab using GNS3

Basic Topology







R1 Configuraion:



interface FastEthernet0/0 
ip address 10.0.0.1 255.255.255.252
exit

interface FastEthernet0/1
ip address 10.0.0.14 255.255.255.252
exit

R2 Configuraion:


interface FastEthernet0/0 
ip address 10.0.0.2 255.255.255.252
exit

interface FastEthernet0/1
ip address 10.0.0.5 255.255.255.252
exit

R3 Configuraion:


interface FastEthernet0/0 
ip address 10.0.0.10 255.255.255.252
exit

interface FastEthernet0/1
ip address 10.0.0.13 255.255.255.252
exit

R4 Configuraion:


interface FastEthernet0/0 
ip address 10.0.0.6 255.255.255.252
exit

interface FastEthernet0/1
ip address 10.0.0.9 255.255.255.252
exit

From R1 Able to Ping R3 Fa0/0 and R2 Fa0/1 but not able to reach other interfaces on the R2,R3 & R4 

R1#ping 10.0.0.13

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.13, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 116/283/608 ms
R1#ping 10.0.0.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 204/379/512 ms


R1#ping 10.0.0.5

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.5, timeout is 2 seconds:
.....

Success rate is 0 percent (0/5)


Now will introduce Static route in R1,R2,R3 & R4  to reach other networks 

R1 Configuration

ip route 10.0.0.4 255.255.255.252 10.0.0.2
ip route 10.0.0.8 255.255.255.252 10.0.0.13

R2 Configuration

ip route 10.0.0.8 255.255.255.252 10.0.0.6
ip route 10.0.0.12 255.255.255.252 10.0.0.1

R3 Configuration

ip route 10.0.0.0 255.255.255.252 10.0.0.14
ip route 10.0.0.4 255.255.255.252 10.0.0.9


R4 Configuration

ip route 10.0.0.0 255.255.255.252 10.0.0.5
ip route 10.0.0.12 255.255.255.252 10.0.0.10


Now Ping from R1 to all indirectly connected networks 

R1#ping 10.0.0.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 212/309/404 ms
R1#ping 10.0.0.6

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 552/680/808 ms
R1#ping 10.0.0.9

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.9, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 792/892/1024 ms
R1#ping 10.0.0.5

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.5, timeout is 2 seconds:
!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 212/334/524 ms




No comments: