Uploaded by huyenvahoang

Packet tracer Lab2 - Static routing

advertisement
Computer Networks Lab – Introduction to Cisco Packet Tracer
Instructor: Le Thanh Son
PACKET TRACER LAB 2: BASIC ROUTING
Student name: ……………………………….. Student ID: ……………………………...
Objectives:
Perform IPv4 subnetting
Configure local network
Configure static routing
Notes:
Replace the character x in each IP address with the last 2 digits of your student ID modulus by 25. For
example IP address: 192.168.x1.1, student ID = ITITIU..37 then x = 37%25 = 12, the IP address becomes
192.168.121.1
Submission:
After finish working with the network topology in Cisco Packet Tracer, save your .pkt file
Answer all the questions in this Lab guide then submit both at the end of each lab
1. IPv4 Subnetting
PC3
FA0/0
S0/0/1
Rx3
S0/0/0
S0/0/0
S0/0/1
FA0/0
FA0/0
Rx1
PC1
S0/0/1
S0/0/0
Rx2
PC2
We will use the above network diagram for this lab. The topology contains 3 routers: Rx1, Rx2, Rx3 (x is
the last digit of your student ID) and 3 PCs which belong to 3 individual subnets 1, 2, 3 respectively.
Routers are connected using DCE/DTE connections
Assume that you have an IP of 192.168.1.y/27 form. The last 8 bits of the IP range is decided using the
following rules:
A = x mod 8 (x is the last 2 digit of your student ID)
Page 1 of 3
Computer Networks Lab – Introduction to Cisco Packet Tracer
Instructor: Le Thanh Son
Convert this number to binary, this 3 digit binary number will be the 1st 3 bits of y
Example: x = 5  A = 101  you will have an IP range of form 192.168.1.10100000/27 or
192.168.1.160/27
Now using the provided IP form to subnet for subnet 1, 2 and 3, assume each subnet will have equal
number of IP PCs, also try to maximize the number of IPs in a subnet. Fill in following table:
Subnet
Network Address
IP range
Default gateway
1
2
3
(Note: usually, default gate way take the 1st IP of the IP range)
Now give the IP addressing scheme for the above topology (PC1,2 and 3 belong to the subnet 1,2,3
respectively). You can choose appropriate IPs for Serial interfaces, using: 10.10.x1.0/30 subnet for (Rx1
to Rx2), 10.10.x2.0/30 for (Rx1 to Rx3) and 10.10.x3/30 for Rx2 to Rx3)
Device
Rx1
Interface
IP
Subnet
Default gateway
FA0/0
S0/0/0
S0/0/1
Rx2
FA0/0
S0/0/0
S0/0/1
Rx3
FA0/0
S0/0/0
S0/0/1
PC1
NIC
PC2
NIC
PC3
NIC
2. LAN and Router configurations
Now use the above addressing scheme and config all your PCs and Router interfaces (previous lab)
Q1. Try to ping between PCs. What can be observed? Can you explain?
Answer
3. Static routing configuration
We will config static routing for Rx1 and Rx2
Q2. Check the interface on both routers. Are all the necessary interface up?
Page 2 of 3
Computer Networks Lab – Introduction to Cisco Packet Tracer
Instructor: Le Thanh Son
Answer
Q3. Check the routing table entries on both routers using the show ip route command. Are all the routes
needed in the routing tables?
Answer
Q4. Adding static routes on both routers by using the command ip route <network1> <subnet1>
<IPaddress> or <Interface>
Answer
Q5. View the routing table on both Rx1 and Rx2. Can you see any difference compare to the result in Q3?
List them
Answer
Q5. Now do the same for Rx3 to connect all the subnets together
Answer (provide the add routes command on routers)
Test the connectivity by ping between PCs. If the ping fail, check your configurations again
Page 3 of 3
Download