VLSM Static Routing Implementation With Packet Tracer PDF
VLSM Static Routing Implementation With Packet Tracer PDF
Lab Report: 01
Title: VLSM with Packet Tracer Implementation and Static Routing Configuration
Objective:
⇰ Use variable-length subnet mask (VLSM) to support more efficient use of the assigned IP
addresses for various requirement of the organizations in real life senior.
⇰ Configure a LAN and Test the connectivity of the LAN devices.
⇰ Static routing configuration of Wide Area Network (WAN).
Now, draw a topology, assign IP addresses to the hosts, setting default gateway, configuring
routers for WAN and then showing their path as static routing protocol, like that-
Hosts IP Configuration: Click on the PC and go to the IP configuration mode and then fill up,
PC1:
CSE
PC2:
CSE
PC3:
EEE
PC4:
EEE
PC5:
ETE
PC6: 3
ETE
Command:
Router Configuration:
At first Assign IP addresses to the interfaces for both Serial interface and Fast Ethernet interface
and Define gateway to the host PCs. So, going to the Router 1 CLI mode and writing-
Router 1 (R1)
Router> en [enable]
Router# conf t [configure terminal]
Router(config)# interface f0/0
Router(config-if)# ip address 192.168.8.1 255.255.255.192 [gateway of host PCs]
Router(config-if)# no shut [no shutdown]
Router(config-if)# exit
Router(config)# interface s2/0
Router(config-if)# ip address 192.168.8.161 255.255.255.252
Router(config-if)# clock rate 64000
Router(config-if)# no shut
Router(config-if)# exit
Router(config)# interface s3/0
Router(config-if)# ip address 192.168.8.169 255.255.255.252
Router(config-if)# clock rate 64000
Router(config-if)# no shut
Router(config-if)# exit
Router(config)# exit
Router# copy run start [copy running-config startup-config]
Actually, copy run start is just copying the running configuration in RAM to the startup
configuration. So, for this configuration it is not mandatory.
However, Router1 configuration is done. Now, same as configure another Routers (R2 & R3).
Router 2 (R2)
Router> en
Router# conf t
Router(config)# interface f0/0
Router(config-if)# ip address 192.168.8.65 255.255.255.192
Router(config-if)# no shut
Router(config-if)# exit
Router(config)# interface s2/0
Router(config-if)# ip address 192.168.8.162 255.255.255.252 4
Router(config-if)# no shut
Router(config-if)# exit
Router(config)# interface s3/0
Router 3 (R3)
Router> en
Router# conf t
Router(config)# interface f0/0
Router(config-if)# ip address 192.168.8.129 255.255.255.224
Router(config-if)# no shut
Router(config-if)# exit
Router(config)# interface s2/0
Router(config-if)# ip address 192.168.8.170 255.255.255.252
Router(config-if)# no shut
Router(config-if)# exit
Router(config)# interface s3/0
Router(config-if)# ip address 192.168.8.166 255.255.255.252
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#exit
Router#copy run start
Ok, all routers configurations are done! Now, we define static routing to the routers as a final
step to introduce the path of the transferring packets.
R1
Router#config t
Router(config)#ip route 192.168.8.128 255.255.255.224 192.168.8.170
Router(config)#ip route 192.168.8.64 255.255.255.192 192.168.8.162
Router(config)#exit
Router#copy run start
R2
Router#config t
Router(config)#ip route 192.168.8.0 255.255.255.192 192.168.8.161 5
Router(config)#ip route 192.168.8.128 255.255.255.224 192.168.8.166
Router(config)#exit
Router#copy run start
R3
Router#config t
Router(config)#ip route 192.168.8.0 255.255.255.192 192.168.8.169
Router(config)#ip route 192.168.8.64 255.255.255.192 192.168.8.165
Router(config)#exit
Router#copy run start
Results:
All works is done and it’s time for checking the outputs. So now testing the network with ping
and trace route (tracert) commands.
We looking at here that four packets are sent and successfully all packets are received.
Same as Ping from PC3 to PC5
Comments:
Variable-Length Subnet Masking is configured on the router by enabling routing protocols (such
as EIGRP or OSPF) that support this (here I configured static routing), and by configuring the
subnet masks of the various Cisco interfaces in the ip address interface sub-command.
8
----- The END -----