www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNA LABS / IP Routing Solutions / Lab 32 Solution: Configuring Static Routing via IP addresses

Lab 32 Solution: Configuring Static Routing via IP addresses

Task 1:

For reference information on configuring hostnames, please refer to:

Lab 20 Configuration and Verification Task 1

Lab 21 Configuration and Verification Task 1

Task 2:

For reference information on configuring standard VLANs, please refer to:

Lab 2 Configuration and Verification Task 2

Lab 3 Configuration and Verification Task 1

Task 3:

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#int fastether 0/0

R1(config-if)#ip address 172.27.32.1 255.255.255.252

R1(config-if)#no shutdown

R1(config-if)#end

R1#

R1#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            172.27.32.1     YES manual up                    up

R2#config t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#int fa0/0

R2(config-if)#ip add 172.27.32.2 255.255.255.252

R2(config-if)#no shu

R2(config-if)#^Z

R2#sh ip int brie

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            172.27.32.2     YES manual up                    up

R1#ping 172.27.32.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.27.32.2, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 4/4/4 ms

R2#ping 172.27.32.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.27.32.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

R1#config t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#int loop 100

R1(config-if)#ip add 10.100.1.1 255.255.255.0

R1(config-if)#exit

R1(config)#int loop 101

R1(config-if)#ip add 10.101.1.1 255.255.255.0

R1(config-if)#exit

R1(config)#int loop 102

R1(config-if)#ip add 10.102.1.1 255.255.255.0

R1(config-if)#^Z

R1#

R1#sh ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            172.27.32.1     YES manual up                    up

Loopback100                10.100.1.1      YES manual up                    up

Loopback101                10.101.1.1      YES manual up                    up

Loopback102                10.102.1.1      YES manual up                    up

Task 4:

R2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#ip route 10.100.1.0 255.255.255.0 172.27.32.1

R2(config)#ip route 10.101.1.0 255.255.255.0 172.27.32.1

R2(config)#ip route 10.102.1.0 255.255.255.0 172.27.32.1

R2(config)#end

R2#

R2#show ip route

Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP

D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area

N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2

E1 – OSPF external type 1, E2 – OSPF external type 2

i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2

ia – IS-IS inter area, * – candidate default, U – per-user static route

o – ODR, P – periodic downloaded static route

Gateway of last resort is not set

172.27.0.0/30 is subnetted, 1 subnets

C       172.27.32.0 is directly connected, FastEthernet0/0

10.0.0.0/24 is subnetted, 3 subnets

S       10.102.1.0 [1/0] via 172.27.32.1

S       10.101.1.0 [1/0] via 172.27.32.1

S       10.100.1.0 [1/0] via 172.27.32.1

R2#ping 10.100.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.100.1.1, timeout is 2 seconds:

!!!!!

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

R2#ping 10.101.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.101.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

R2#ping 10.102.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.102.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

NOTE: Notice the difference in this ping versus the one where we used an interface as the next hop for static routing. Because an IP address has been specified, there is no ARP timeout for the first packet since the next hop Layer 3 address has been specified.

 

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.