Lab 9
Lab 9
Lab 9
Objective
1. This lab exercise is designed for understanding and using basic configuration
commands on a Huawei Router interacting through ENSP.
Software/Hardware Requirement
2. The software/hardware requirement is mentioned below:
a. PC with Windows 7 or above
b. Huawei Packet Tracer (ENSP)
Procedure
3. Open ensp and setup a network similar to the following network. Use Router &
switch.
Set the IP Address, Subnet Masks (255.255.255.0) and Gateway (Router IP Address) of
each PC
Without static routing communication between pc1 and pc4
After the router is configured, you can type show running-config and show ip route to see
the static routes:
Do the same on Lab_B router. For the Lab_B router to be able to route to all networks,
the networks have to be configured in its routing table. After doing this ping the devices
to check that they are communicating with each other. Try this step two to three times if
unsuccessful for the first time. If still unsuccessful check the configuration.
Router Configuration:
1. Router1:
o G0/0/0: Connects to Router2 (IP: 192.168.1.1/24).
o G0/0/1: Connects to Switch1 (IP: 192.168.10.1/24).
2. Router2:
o G0/0/0: Connects to Router1 (IP: 192.168.1.2/24).
o G0/0/1: Connects to Router3 (IP: 192.168.2.1/24).
o G0/0/2: Connects to Switch2 (IP: 192.168.20.1/24).
3. Router3:
o G0/0/0: Connects to Router2 (IP: 192.168.2.2/24).
o G0/0/1: Connects to Switch3 (IP: 192.168.30.1/24).
Configuration Steps
Assign IP addresses to the interfaces and enable OSPF(Open Shortest Path First).
system-view
interface GigabitEthernet0/0/0
ip address 192.168.1.1 255.255.255.0
quit
interface GigabitEthernet0/1
ip address 192.168.10.1 255.255.255.0
quit
ospf 1
area 0
network 192.168.1.0 0.0.0.255
network 192.168.10.0 0.0.0.255
quit
save
Follow same steps for router 2 and 3 with there respective IP-address and subnet
system-view
vlan 1
interface Vlanif1
ip address 192.168.10.254 255.255.255.0
quit
save
plaintext
Copy code
display ospf peer
plaintext
Copy code
display ip routing-table
Lab Worksheet
Q.1 What is Routing and on which OSI layer it happens?
Q.2 Write any two advantages of static routing.
Q.3 What happens when default routing is applied in networks other than stub
networks?