Sie sind auf Seite 1von 7

Addis Ababa University

Addis Ababa Institute of Technology


School of Electrical and Computer Engineering
Telecommunication Networks Lab II: IP V4 Basic Configuration

Yonas Yehualaeshet (yonas.yehualaeshet@aait.edu.et)

April 20, 2019

Learning Objectives
Upon completion of this lab, you will be able to:

• Understand and apply Variable Length Subnet Masking

• Understand and apply Classless Inter Domain Routing

• Create a network according to a Topology Diagram

• Erase the startup configuration and reload a router to the default state

• Perform basic configuration tasks on a router

• Configure and activate interfaces

• Configure RIP V2 routing

• Configure RIP V2 router IDs

• Verify RIP routing using show commands

Scenarios
In this lab activity, there are two separate scenarios. In the first scenario, you will learn how
to use variable length subnet masking and classless inter domain routing. Given a network
requirements, you will segment a network using VLSM.

In the second scenario, you will learn to Create a network according to a Topology Diagram,
erase the startup configuration, reload a router to the default state, perform basic configuration
tasks on a router and configure RIP V2 using the network requirements. RIP version 2 is a
classless routing protocol that can be used to provide subnet mask information in the routing
updates. This will allow VLSM subnet information to be propagated throughout the network.

1
Scenario 1: VLSM and CIDR
A small company needs to setup its network across several locations. The Adama branch office
needs 74 computers. The Addis Ababa office needs 24 computers. The Bahir Dar office will
need 21 computers. There is a WAN link from Addis Ababa to Adama and Bahir Dar. Using
the IP address 195.20.5.0/24 divide the network using VLSM. On the next page draw a detailed
map of this network. Include the name and sub-subnet IP address information for each branch
of the network. Label the WAN links with the same information. Complete the information
required below.

Hint: Work from largest to smallest.

Task 1: VLSM and CIDR


Divide the given network address into the Sub-subnets.

Subnet Mask First Usable Last Usable Broadcast


Subnet Subnet Address Address
(/X) Host Host

Table 1: Sub-subnet List

Task 2: Detailed Topology Diagram


Draw the detailed topology diagram.

2
Scenario 2: Router Configuration
Task 1: Prepare the Network
Step 1: Cable the network that is similar to the one in the topology diagram you prepared!

Step 2: Connect to the router using telnet (On physical device)

– Connect the RJ-45 connector on one end of a console cable to the console port of
the router.
– Connect the RJ-45 connector at the other end of the console cable to an RJ-45 to
DB9 converter.
– Connect the DB9 connector to an open COM port on your PC.
– Start the HyperTerminal program on the PC.
– Set up your HyperTerminal session.
∗ Assign a name to your session, and click OK.
∗ From the Connect To window, click Cancel.
∗ From the File menu, click Properties.
∗ From the Properties window, in the Connect Using list, select the COM port
where you connect the DB9 end of the console cable.
∗ From the Properties window click Configure and fill in these values:
· Bits per second: 9600
· Data bits: 8
· Parity: None
· Stop bits: 1
· Flow Control: None
∗ Click OK.
∗ From the Call menu, click Disconnect.
∗ From the Call menu, click Call.
∗ Press Enter until you see a router prompt on your HyperTerminal screen.

Step 3: Configure and Activate Serial and Ethernet Addresses on Router of Adama

– Enter exec mode


– Enter Configuration mode
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
– Configure Ethernet ports
Router(config)#interface fastethernet0/0
Router(config-if)#ip address "IPV4 Address" "Subnet Mask"
Router(config-if)#exit
– Configure Serial ports

3
Router(config)#interface serial 2/0
Router(config-if)#ip address "IPV4 Address" "Subnet Mask"
Router(config-if)#no shutdown
Router(config-if)#end
– Verify IP addressing and interfaces
Router#show ip interface brief
Note the result of this command on your report.
– Saving configuration changes
Whenever you make changes to the Router configuration, you must save the changes
to memory so they will not be lost if the system is rebooted. There are two types
of configuration files: the running (current operating) configuration and the
startup configuration. The running configuration is stored in RAM; the startup
configuration is stored in NVRAM.
Router# copy running-config startup-config
To erase both configuration files (and start over)
Router# write erase
Router# reload

Step 4: Configure and Activate Serial and Ethernet Addresses on Router of Addis Ababa

– Enter exec mode


– Enter Configuration mode
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
– Configure Ethernet ports
Router(config)#interface fastethernet0/0
Router(config-if)#ip address "IPV4 Address" "Subnet Mask"
Router(config-if)#no shutdown
Router(config-if)#exit
– Configure Serial ports
Router(config)#interface serial 2/0
Router(config-if)#ip address "IPV4 Address" "Subnet Mask"
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 3/0
Router(config-if)#ip address "IPV4 Address" "Subnet Mask"
Router(config-if)#no shutdown
Router(config-if)#end
– Verify IP addressing and interfaces

4
Router#show ip interface brief
Note the result of this command on your report.

Step 5: Configure and Activate Serial and Ethernet Addresses on Router of Bahir Dar

– Enter exec mode


– Enter Configuration mode
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
– Configure Ethernet ports
Router(config)#interface fastethernet0/0
Router(config-if)#ip address "IPV4 Address" "Subnet Mask"
Router(config-if)#no shutdown
Router(config-if)#exit
– Configure Serial ports
Router(config)#interface serial 3/0
Router(config-if)#ip address "IPV4 Address" "Subnet Mask"
Router(config-if)#no shutdown
Router(config-if)#end
– Verify IP addressing and interfaces
Router#show ip interface brief
Note the result of this command on your report.

Step 6: Verify connection of each router to another router and note your observation

– Ping Addis Ababa Router from Adama Router


– Ping Addis Ababa Router from Bahir Dar Router
– Ping Addis Bahir Dar from Adama Router

Task 2: Connect Hosts


Step 1: Connect a couple of hosts to each router via a switch.

Step 2: Configure PC Ethernet port

PC> ip "IPV4 Address" "Subnet Mask" "Gateway"


PC> save "file name"

Step 3: Verify connection of each PC to another PC and note your observation

– Ping a PC connected to Addis Ababa Router from a PC connected to Adama Router


– Ping a PC connected to Addis Ababa Router from a PC connected to Bahir Dar
Router

5
Task 3: Configure RIP routing
Step 1: Configure RIP V2 Routing on Adama Router

– Enter exec mode


– Enter Configuration mode
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
– Start RIP process
Router(config)#router rip
Router(config-router)#version 2
– Add the networks connected to this Router
Router(config-router)#network 195.20.5.0
Router(config-router)#network 195.20.5.192
Router(config-router)#exit
Router(config)#exit

Step 2: Configure RIP V2 Routing on Addis Ababa Router

– Enter exec mode


– Enter Configuration mode
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
– Start RIP process
Router(config)#router rip
Router(config-router)#version 2
– Add the networks connected to this Router
Router(config-router)#network 195.20.5.128
Router(config-router)#network 195.20.5.192
Router(config-router)#network 195.20.5.196
Router(config-router)#exit
Router(config)#exit

Step 3: Configure RIP V2 Routing on Bahir Dar Router

– Enter exec mode


– Enter Configuration mode
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
– Start RIP process
Router(config)#router rip

6
Router(config-router)#version 2
– Add the networks connected to this Router
Router(config-router)#network 195.20.5.160
Router(config-router)#network 195.20.5.196
Router(config-router)#exit
Router(config)#exit

Step 4: Verify connection of each router to another router.

Note the result on your report.

Step 5: Verify connection of a PC connected to one router to other PCs connected to


another router.

Note the result on your report.

Task 4: Advanced RIP configuration


Step 1: Verify routing table on each of the routers

– Note the result on your report.

Step 2: Connect the router at Adama and the router at Bahir Dar using a serial connec-
tion, configure the interfaces, configure the RIP process to include the new connection
and verify the new routing table.

– Note the result on your report.

Step 3: Verify connection of a PC connected to one router to other PCs connected to


another router. Capture the packets using wireshark from one of your PC.

– Note and analyze the result on your report.

Das könnte Ihnen auch gefallen