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 31 Solution: Configuring Static Routing via Interfaces

Lab 31 Solution: Configuring Static Routing via Interfaces

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.224.0

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.224.0

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)#interface loopback 100

R1(config-if)#ip address 172.100.1.1 255.255.255.255

R1(config-if)#exit

R1(config)#interface loopback 101

R1(config-if)#ip address 172.101.0.1 255.255.255.248

R1(config-if)#exit

R1(config)#interface loopback 102

R1(config-if)#ip address 172.102.5.1 255.255.128.0

R1(config-if)#^Z

R1#

R1#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            172.27.32.1     YES manual up                    up

Loopback100                172.100.1.1     YES manual up                    up

Loopback101                172.101.0.1     YES manual up                    up

Loopback102                172.102.5.1     YES manual up                    up

NOTE: By default, Loopback interfaces will be enabled once you configure them. Therefore, there is no need to issue the no shutdown command when creating Loopbacks.

Task 4:

R2#config t

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

R2(config)#ip route 172.100.1.1 255.255.255.255 fastethernet0/0

R2(config)#ip route 172.101.0.0 255.255.255.248 fastethernet0/0

R2(config)#ip route 172.102.0.0 255.255.128.0 fastethernet0/0

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.102.0.0/17 is subnetted, 1 subnets

S       172.102.0.0 is directly connected, FastEthernet0/0

172.100.0.0/32 is subnetted, 1 subnets

S       172.100.1.1 is directly connected, FastEthernet0/0

172.101.0.0/29 is subnetted, 1 subnets

S       172.101.0.0 is directly connected, FastEthernet0/0

172.27.0.0/19 is subnetted, 1 subnets

C       172.27.32.0 is directly connected, FastEthernet0/0

NOTE: The S in front of the route indicates that this is a static route as stated in the legend or key immediately following the show ip route command.

R2#sh ip route 172.100.1.1

Routing entry for 172.100.1.1/32

Known via “static”, distance 1, metric 0 (connected)

Routing Descriptor Blocks:

* directly connected, via FastEthernet0/0

Route metric is 0, traffic share count is 1

R2#sh ip route 172.101.0.1

Routing entry for 172.101.0.0/29

Known via “static”, distance 1, metric 0 (connected)

Routing Descriptor Blocks:

* directly connected, via FastEthernet0/0

Route metric is 0, traffic share count is 1

R2#sh ip route 172.102.5.1

Routing entry for 172.102.0.0/17

Known via “static”, distance 1, metric 0 (connected)

Routing Descriptor Blocks:

* directly connected, via FastEthernet0/0

Route metric is 0, traffic share count is 1

R2#ping 172.100.1.1

Type escape sequence to abort.

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

.!!!!

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

R2#ping 172.101.0.1

Type escape sequence to abort.

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

.!!!!

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

R2#ping 172.102.5.1

Type escape sequence to abort.

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

.!!!!

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

NOTE: The first ping packet will always fail because of ARP resolution. Subsequent ping packets will pass.

 

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.