INDEX TAIMUR MUSHARRAF
S. #
Date
1
08-08-07
2 3 4 5
15-08-07 29-08-07 05-09-07 12-09-07
6
19-09-07
7 8 9 10 11 12
26-09-07 03-10-07 24-10-07 31-10-07 07-11-07 14-11-07
05B-001-EE
Lab Description Introduction to NOS, Workgroups, Campus Network TCP/IP Utilities Cabling Introduction to Routers Router Configuration Interface Configuration & Static Routing Dynamic Routing Dynamic Routing-IGRP Administrative Distance Bridging/Switching VLANS Packet Sniffers
Remarks
SEC:A
Sign
Course Instructor’s Sign & Remarks:
Tabassum Waheed ---------------------------------------------------
Data Communication & Networking
Lab Task: 12-09-07
Lab-5
Karachi Router Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname KHI KHI(config)#exit KHI#config t KHI(config)#interface serial 0 KHI(config-if)#ip address 10.0.0.1 255.0.0.0 KHI(config-if)#bandwidth 1544 KHI(config-if)#clock rate 56000 KHI(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up.
KHI(config-if)#exit KHI(config)#interface serial 1 KHI(config-if)#ip address 13.0.0.1 255.0.0.0 KHI(config-if)#bandwidth 1544 KHI(config-if)#clock rate 56000 KHI(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up
KHI(config-if)#exit KHI(config)#exit KHI#copy run startup KHI#show ip route C 10.0.0.0 is directly connected, Serial0 C 13.0.0.0 is directly connected, Serial1
Lahore Router Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname LHR LHR(config)#exit LHR#config t LHR(config)#interface serial 0 LHR(config-if)#ip address 10.0.0.2 255.0.0.0 LHR(config-if)#bandwidth 1544 LHR(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up.
TAIMUR MUSHARRAF
05B-001-EE
LHR(config-if)#exit LHR(config)#interface serial 1 LHR(config-if)#ip address 11.0.0.1 255.0.0.0 LHR(config-if)#bandwidth 1544 LHR(config-if)#clock rate 56000 LHR(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up
LHR(config-if)#exit LHR(config)#exit LHR#copy run startup LHR#show ip route C 10.0.0.0 is directly connected, Serial0 C 11.0.0.0 is directly connected, Serial1
SEC:A
SEM-V
1
Data Communication & Networking
Lab Task: 12-09-07
Islamabad Router Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ISB ISB(config)#exit ISB#config t ISB(config)#interface serial 0 ISB(config-if)#ip address 11.0.0.2 255.0.0.0 ISB(config-if)#bandwidth 1544 ISB(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up.
ISB (config-if)#exit ISB (config)#interface serial 1 ISB (config-if)#ip address 13.0.0.2 255.0.0.0 ISB (config-if)#bandwidth 1544 ISB (config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up
ISB (config-if)#exit ISB (config)#exit ISB #copy run startup ISB #show ip route C 11.0.0.0 is directly connected, Serial0 C 13.0.0.0 is directly connected, Serial1
Result: KHI#ping 10.0.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
KHI#ping 13.0.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 13.0.0.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
LHR#ping 10.0.0.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
2
Data Communication & Networking
Lab Task: 19-09-07
Lab-6
Router Configurations
Karachi Router
Lahore Router
Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname KHI KHI(config)#exit KHI#config t KHI(config)#interface ethernet 0 KHI(config-if)#ip address 10.0.0.1 255.0.0.0 KHI(config-if)#no shutdown %LINK-3-UPDOWN: Interface Ethernet0, changed state to up KHI(config-if)#exit KHI(config)#interface serial 0 KHI(config-if)#ip address 11.0.0.1 255.0.0.0 KHI(config-if)#bandwidth 1544 KHI(config-if)#clock rate 6400 KHI(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up KHI(config-if)#exit KHI(config)#exit KHI#copy run startup KHI#show ip route C 10.0.0.0 is directly connected, Ethernet0 C 11.0.0.0 is directly connected, Serial0
Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname LHR LHR(config)#exit LHR(config)#interface ethernet 0 LHR(config-if)#ip a LHR(config-if)#ip address 12.0.0.1 255.0.0.0 LHR(config-if)#no shutdown %LINK-3-UPDOWN: Interface Ethernet0, changed state to up LHR(config-if)#exit LHR(config)#interface serial 0 LHR(config-if)#ip address 11.0.0.2 255.0.0.0 LHR(config-if)#bandwidth 1544 LHR(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up LHR(config-if)#exit LHR(config)#exit
TAIMUR MUSHARRAF
05B-001-EE
LHR#copy run startup LHR#show ip route C 12.0.0.0 is directly connected, Ethernet0 C 11.0.0.0 is directly connected, Serial0
SEC:A
SEM-V
1
Data Communication & Networking
Lab Task: 19-09-07
PC Configurations
PC1
PC2 C:>ipconfig /ip 12.0.0.2 255.0.0.0 C:>ipconfig /dg 12.0.0.1 C:>ipconfig
C:>ipconfig /ip 10.0.0.2 255.0.0.0 C:>ipconfig /dg 10.0.0.1 C:>ipconfig
HELP Manipulates ip address for Workstation.
HELP Manipulates ip address for Workstation.
IPCONFIG [/ip] [/dg] /ip Adds the ip address and subnet mask to the workstation /dg Adds the default gateway to the workstation Ethernet adapter Local Area Connection: IP Address. . . . . . . . . . . . : 12.0.0.2 Subnet Mask . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 12.0.0.1
IPCONFIG [/ip] [/dg] /ip Adds the ip address and subnet mask to the workstation /dg Adds the default gateway to the workstation Ethernet adapter Local Area Connection: IP Address. . . . . . . . . . . . . . : 10.0.0.2 Subnet Mask . . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 10.0.0.1
Setting-Up Route
Karachi Router
Lahore Router
KHI(config)#ip route 12.0.0.0 255.0.0.0 11.0.0.2 KHI(config)#exit
LHR(config)#ip route 10.0.0.0 255.0.0.0 11.0.0.1 LHR(config)#exit
Result PC1
PC2
C:>ping 12.0.0.2 Pinging 12.0.0.2 with 32 bytes of data:
C:>ping 10.0.0.2 Pinging 10.0.0.2 with 32 bytes of data:
Reply from 12.0.0.2: bytes=32 time=60ms TTL=241 Reply from 12.0.0.2: bytes=32 time=60ms TTL=241 Reply from 12.0.0.2: bytes=32 time=60ms TTL=241 Reply from 12.0.0.2: bytes=32 time=60ms TTL=241 Reply from 12.0.0.2: bytes=32 time=60ms TTL=241
Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241
Ping statistics for 12.0.0.2: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 50ms, Maximum = 60ms, Average = 55ms
Ping statistics for 10.0.0.2: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 50ms, Maximum = 60ms, Average = 55ms
New Commands: ip config /ip [IP of Machine + Subnet Mask] ip config /dg [Default Gateway for Machine] ip route [Destination Network + Mask]
TAIMUR MUSHARRAF
05B-001-EE
[Gateway]
SEC:A
SEM-V
2
Data Communication & Networking
Lab7 Task: 26-09-07
Lab-7
¤Karachi Router Router> Router>ENABLE Router#CONFIG T Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname KHI_01_5B KHI_01_5B(config)#interface serial 0 KHI_01_5B(config-if)#ip address 10.0.0.1 255.0.0.0 KHI_01_5B(config-if)#bandwidth 1544 KHI_01_5B(config-if)#clock rate 64000 KHI_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up KHI_01_5B(config-if)#exit KHI_01_5B(config)#interface serial 1 %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down KHI_01_5B(config-if)#ip address 13.0.0.1 255.0.0.0 KHI_01_5B(config-if)#bandwidth 1544 KHI_01_5B(config-if)#clock rate 64000 KHI_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up KHI_01_5B(config-if)#exit KHI_01_5B(config)#exit %LINK-3-UPDOWN: Interface Serial1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down KHI_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C
%LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up %LINK-3-UPDOWN: Interface Serial1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C C
TAIMUR MUSHARRAF
05B-001-EE
13.0.0.0 is directly connected, Serial1
10.0.0.0 is directly connected, Serial0 13.0.0.0 is directly connected, Serial1. SEC:A
SEM-V
1
Data Communication & Networking
Lab7 Task: 26-09-07
Router> Router>enable Router#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname LHR_01_5B LHR_01_5B(config)#interface serial 0 LHR_01_5B(config-if)#ip address 10.0.0.2 255.0.0.0 LHR_01_5B(config-if)#bandwidth 1544 LHR_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up LHR_01_5B(config-if)#exit LHR_01_5B(config)#interface serial 1 LHR_01_5B(config-if)#ip address 11.0.0.1 255.0.0.0 LHR_01_5B(config-if)#bandwidth 1544 LHR_01_5B(config-if)#clock rate 64000 LHR_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up LHR_01_5B(config-if)#exit LHR_01_5B(config)#exit %LINK-3-UPDOWN: Interface Serial1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Gateway of last resort is not set C
10.0.0.0 is directly connected, Serial0
LHR_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. LHR_01_5B(config)#interface serial 1 LHR_01_5B(config-if)#ip address 11.0.0.1 255.0.0.0 LHR_01_5B(config-if)#bandwidth 1544 LHR_01_5B(config-if)#no clock rate 64000 LHR_01_5B(config-if)#no shutdown LHR_01_5B(config-if)#exit LHR_01_5B(config)#exit LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set
LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set 10.0.0.0 is directly connected, Serial0 11.0.0.0 is directly connected, Serial1
LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route TAIMUR MUSHARRAF
Lab7 Task: 26-09-07
¤Islamabad Router
¤Lahore Router
C C
Data Communication & Networking
05B-001-EE
C
10.0.0.0 is directly connected, Serial0
%LINK-3-UPDOWN: Interface Serial1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C
10.0.0.0 is directly connected, Serial0
C
11.0.0.0 is directly connected, Serial1
Router> Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ISB_01_5B ISB_01_5B(config)#interface serial 0 ISB_01_5B(config-if)#ip address 11.0.0.2 255.0.0.0 ISB_01_5B(config-if)#bandwidth 1544 ISB_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up ISB_01_5B(config-if)#exit ISB_01_5B(config)#interface serial 1 %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down ISB_01_5B(config-if)#ip address 13.0.0.2 255.0.0.0 ISB_01_5B(config-if)#bandwidth 1544 ISB_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up ISB_01_5B(config-if)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route
C
13.0.0.0 is directly connected, Serial1
ISB_01_5B#co ISB_01_5B#configure terminal Enter configuration commands, one per line. End with CNTL/Z. ISB_01_5B(config)#i9n ISB_01_5B(config)#interface serial 0 ISB_01_5B(config-if)#ip address 11.0.0.2 255.0.0.0 ISB_01_5B(config-if)#bann ISB_01_5B(config-if)#bandwidth 1544 ISB_01_5B(config-if)#clock rate 64000 %LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up ISB_01_5B(config-if)#no shutdown ISB_01_5B(config-if)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C C
13.0.0.0 is directly connected, Serial1 11.0.0.0 is directly connected, Serial0
Gateway of last resort is not set C
13.0.0.0 is directly connected, Serial1
ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set
SEC:A
SEM-V
2
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
3
Data Communication & Networking
Lab7 Task: 26-09-07
Setting-Up RIP ¤Karachi Router
C C R
10.0.0.0 is directly connected, Serial0 11.0.0.0 is directly connected, Serial1 13.0.0.0 [120/1] via 10.0.0.1, 00:06:17, Serial0
¤Islamabad Router ISB_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. ISB_01_5B(config)#router rip ISB_01_5B(config-router)#network 13.0.0.0 ISB_01_5B(config-router)#network 11.0.0.0 ISB_01_5B(config-router)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set
ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route
10.0.0.0 is directly connected, Serial0 13.0.0.0 is directly connected, Serial1
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route
Gateway of last resort is not set C C R
Gateway of last resort is not set C C R
Lab7 Task: 26-09-07
Gateway of last resort is not set
KHI_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. KHI_01_5B(config)#router rip KHI_01_5B(config-router)#network 10.0.0.0 KHI_01_5B(config-router)#network 13.0.0.0 KHI_01_5B(config-router)#exit KHI_01_5B(config)#exit KHI_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
C C
Data Communication & Networking E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route
13.0.0.0 is directly connected, Serial1 11.0.0.0 is directly connected, Serial0 10.0.0.0 [120/1] via 11.0.0.1, 00:02:43, Serial0
10.0.0.0 is directly connected, Serial0 13.0.0.0 is directly connected, Serial1 11.0.0.0 [120/1] via 13.0.0.2, 00:09:19, Serial1
¤Lahore Router LHR_01_5B#config t Enter configuration commands, one per line. End with CNTL/Z. LHR_01_5B(config)#route LHR_01_5B(config)#router rip LHR_01_5B(config-router)#network 10.0.0.0 LHR_01_5B(config-router)#network 11.0.0.0 LHR_01_5B(config-router)# LHR_01_5B(config-router)#exit LHR_01_5B(config)#exit LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area TAIMUR MUSHARRAF 05B-001-EE SEC:A
SEM-V
4
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
5
Data Communication & Networking
Lab8 Task: 03-10-07
Lab-8
Data Communication & Networking
¤Lahore Router Router> Router>enable Router#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
¤Karachi Router Router> Router>ENABLE Router#CONFIG T Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname KHI_01_5B KHI_01_5B(config)#interface serial 0 KHI_01_5B(config-if)#ip address 10.0.0.1 255.0.0.0 KHI_01_5B(config-if)#bandwidth 1544 KHI_01_5B(config-if)#clock rate 64000 KHI_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up KHI_01_5B(config-if)#exit KHI_01_5B(config)#interface serial 1 %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down KHI_01_5B(config-if)#ip address 13.0.0.1 255.0.0.0 KHI_01_5B(config-if)#bandwidth 1544 KHI_01_5B(config-if)#clock rate 64000 KHI_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up KHI_01_5B(config-if)#exit KHI_01_5B(config)#exit %LINK-3-UPDOWN: Interface Serial1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down KHI_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route
TAIMUR MUSHARRAF
05B-001-EE
13.0.0.0 is directly connected, Serial1
%LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up %LINK-3-UPDOWN: Interface Serial1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C C
10.0.0.0 is directly connected, Serial0 13.0.0.0 is directly connected, Serial1. SEC:A
SEM-V
Router(config)#hostname LHR_01_5B LHR_01_5B(config)#interface serial 0 LHR_01_5B(config-if)#ip address 10.0.0.2 255.0.0.0 LHR_01_5B(config-if)#bandwidth 1544 LHR_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up LHR_01_5B(config-if)#exit LHR_01_5B(config)#interface serial 1 LHR_01_5B(config-if)#ip address 11.0.0.1 255.0.0.0 LHR_01_5B(config-if)#bandwidth 1544 LHR_01_5B(config-if)#clock rate 64000 LHR_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up LHR_01_5B(config-if)#exit LHR_01_5B(config)#exit %LINK-3-UPDOWN: Interface Serial1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Gateway of last resort is not set C
10.0.0.0 is directly connected, Serial0
LHR_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. LHR_01_5B(config)#interface serial 1 LHR_01_5B(config-if)#ip address 11.0.0.1 255.0.0.0 LHR_01_5B(config-if)#bandwidth 1544 LHR_01_5B(config-if)#no clock rate 64000 LHR_01_5B(config-if)#no shutdown LHR_01_5B(config-if)#exit LHR_01_5B(config)#exit LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set
Gateway of last resort is not set C
Lab8 Task: 03-10-07
1
LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C C
10.0.0.0 is directly connected, Serial0 11.0.0.0 is directly connected, Serial1
LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route TAIMUR MUSHARRAF
05B-001-EE
C
10.0.0.0 is directly connected, Serial0
%LINK-3-UPDOWN: Interface Serial1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C C
10.0.0.0 is directly connected, Serial0 11.0.0.0 is directly connected, Serial1
SEC:A
SEM-V
2
Data Communication & Networking
Lab8 Task: 03-10-07
Data Communication & Networking
¤Islamabad Router Router> Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ISB_01_5B ISB_01_5B(config)#interface serial 0 ISB_01_5B(config-if)#ip address 11.0.0.2 255.0.0.0 ISB_01_5B(config-if)#bandwidth 1544 ISB_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up ISB_01_5B(config-if)#exit ISB_01_5B(config)#interface serial 1 %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down ISB_01_5B(config-if)#ip address 13.0.0.2 255.0.0.0 ISB_01_5B(config-if)#bandwidth 1544 ISB_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up ISB_01_5B(config-if)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route
C
13.0.0.0 is directly connected, Serial1
ISB_01_5B#co ISB_01_5B#configure terminal Enter configuration commands, one per line. End with CNTL/Z. ISB_01_5B(config)#i9n ISB_01_5B(config)#interface serial 0 ISB_01_5B(config-if)#ip address 11.0.0.2 255.0.0.0 ISB_01_5B(config-if)#bann ISB_01_5B(config-if)#bandwidth 1544 ISB_01_5B(config-if)#clock rate 64000 %LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up ISB_01_5B(config-if)#no shutdown ISB_01_5B(config-if)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route
¤Karachi Router
¤Lahore Router
¤Islamabad Router
KHI_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. KHI_01_5B(config)#router rip KHI_01_5B(config-router)#network 10.0.0.0 KHI_01_5B(config-router)#network 13.0.0.0 KHI_01_5B(config-router)#exit KHI_01_5B(config)#exit KHI_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
LHR_01_5B#config t Enter configuration commands, one per line. End with CNTL/Z. LHR_01_5B(config)#route LHR_01_5B(config)#router rip LHR_01_5B(config-router)#network 10.0.0.0 LHR_01_5B(config-router)#network 11.0.0.0 LHR_01_5B(config-router)# LHR_01_5B(config-router)#exit LHR_01_5B(config)#exit LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
ISB_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. ISB_01_5B(config)#router rip ISB_01_5B(config-router)#network 13.0.0.0 ISB_01_5B(config-router)#network 11.0.0.0 ISB_01_5B(config-router)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C C
10.0.0.0 is directly connected, Serial0 13.0.0.0 is directly connected, Serial1
Gateway of last resort is not set
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route
C
Gateway of last resort is not set
Gateway of last resort is not set C C
13.0.0.0 is directly connected, Serial1 11.0.0.0 is directly connected, Serial0
13.0.0.0 is directly connected, Serial1
Gateway of last resort is not set
05B-001-EE
LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C 10.0.0.0 is directly connected, Serial0 C 11.0.0.0 is directly connected, Serial1 R 13.0.0.0 [120/1] via 10.0.0.1, 00:06:17, Serial0
ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C 13.0.0.0 is directly connected, Serial1 C 11.0.0.0 is directly connected, Serial0 R 10.0.0.0 [120/1] via 11.0.0.1, 00:02:43, Serial0
C 10.0.0.0 is directly connected, Serial0 C 13.0.0.0 is directly connected, Serial1 R 11.0.0.0 [120/1] via 13.0.0.2, 00:09:19, Serial1
ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route
TAIMUR MUSHARRAF
Lab8 Task: 03-10-07
Setting-Up RIP
SEC:A
SEM-V
3
¤Karachi Router
Negating RIP ¤Lahore Router
¤Islamabad Router
KHI_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. KHI_01_5B(config)#no router rip KHI_01_5B(config)#exit KHI_01_5B#copy run startup Destination filename [startup-config]?
LHR_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. LHR_01_5B(config)#no router rip LHR_01_5B(config)#exit LHR_01_5B#copy run startup Destination filename [startup-config]?
ISB_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. ISB_01_5B(config)#no router rip ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]?
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
4
Data Communication & Networking
Lab8 Task: 03-10-07
Building configuration... [OK]
Building configuration... [OK]
Building configuration... [OK]
KHI_01_5B#show ip route
LHR_01_5B#show ip route
ISB_01_5B#show ip route
Gateway of last resort is not set
Gateway of last resort is not set
Gateway of last resort is not set
C 10.0.0.0 is directly connected, Serial0 C 13.0.0.0 is directly connected, Serial1 R 11.0.0.0 [120/1] via 13.0.0.2, 00:04:24, Serial1
C 10.0.0.0 is directly connected, Serial0 C 11.0.0.0 is directly connected, Serial1 R 13.0.0.0 [120/1] via 11.0.0.2, 00:02:23, Serial1
C C
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set
LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set
C C
C C
10.0.0.0 is directly connected, Serial0 13.0.0.0 is directly connected, Serial1
13.0.0.0 is directly connected, Serial1 11.0.0.0 is directly connected, Serial0
10.0.0.0 is directly connected, Serial0 11.0.0.0 is directly connected, Serial1
Setting-Up IGRIP ¤Karachi Router
¤Lahore Router
¤Islamabad Router
KHI_01_5B#config t KHI_01_5B(config)#router igrp 100 KHI_01_5B(config-router)#network 10.0.0.0 KHI_01_5B(config-router)#network 13.0.0.0 KHI_01_5B(config-router)#exit KHI_01_5B(config)#exit KHI_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
LHR_01_5B#configure t LHR_01_5B(config)#router igrp 100 LHR_01_5B(config-router)#network 10.0.0.0 LHR_01_5B(config-router)#network 11.0.0.0 LHR_01_5B(config-router)#exit LHR_01_5B(config)#exit LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
ISB_01_5B#config t ISB_01_5B(config)#router igrp 100 ISB_01_5B(config-router)#network 11.0.0.0 ISB_01_5B(config-router)#network 13.0.0.0 ISB_01_5B(config-router)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Gateway of last resort is not set
Gateway of last resort is not set
Gateway of last resort is not set
C 10.0.0.0 is directly connected, Serial0 C 13.0.0.0 is directly connected, Serial1
C 10.0.0.0 is directly connected, Serial0 C 11.0.0.0 is directly connected, Serial1 I 13.0.0.0 [100/651] via 10.0.0.1, 00:07:41, Serial0
C 13.0.0.0 is directly connected, Serial1 C 11.0.0.0 is directly connected, Serial0 I 10.0.0.0 [100/651] via 13.0.0.1, 00:07:44, Serial1
KHI_01_5B#show ip route Gateway of last resort is not set C 10.0.0.0 is directly connected, Serial0 C 13.0.0.0 is directly connected, Serial1 I 11.0.0.0 [100/651] via 13.0.0.2, 00:08:28, Serial1 TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
5
Data Communication & Networking
Lab9 Task: 24-10-07
Lab-9
Data Communication & Networking
¤Lahore Router Router> Router>enable Router#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
¤Karachi Router Router> Router>ENABLE Router#CONFIG T Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname KHI_01_5B KHI_01_5B(config)#interface serial 0 KHI_01_5B(config-if)#ip address 10.0.0.1 255.0.0.0 KHI_01_5B(config-if)#bandwidth 1544 KHI_01_5B(config-if)#clock rate 64000 KHI_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up KHI_01_5B(config-if)#exit KHI_01_5B(config)#interface serial 1 %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down KHI_01_5B(config-if)#ip address 13.0.0.1 255.0.0.0 KHI_01_5B(config-if)#bandwidth 1544 KHI_01_5B(config-if)#clock rate 64000 KHI_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up KHI_01_5B(config-if)#exit KHI_01_5B(config)#exit %LINK-3-UPDOWN: Interface Serial1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down KHI_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C
TAIMUR MUSHARRAF
05B-001-EE
13.0.0.0 is directly connected, Serial1
%LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up %LINK-3-UPDOWN: Interface Serial1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C C
Lab9 Task: 24-10-07
10.0.0.0 is directly connected, Serial0 13.0.0.0 is directly connected, Serial1. SEC:A
SEM-V
Router(config)#hostname LHR_01_5B LHR_01_5B(config)#interface serial 0 LHR_01_5B(config-if)#ip address 10.0.0.2 255.0.0.0 LHR_01_5B(config-if)#bandwidth 1544 LHR_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up LHR_01_5B(config-if)#exit LHR_01_5B(config)#interface serial 1 LHR_01_5B(config-if)#ip address 11.0.0.1 255.0.0.0 LHR_01_5B(config-if)#bandwidth 1544 LHR_01_5B(config-if)#clock rate 64000 LHR_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up LHR_01_5B(config-if)#exit LHR_01_5B(config)#exit %LINK-3-UPDOWN: Interface Serial1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Gateway of last resort is not set C
10.0.0.0 is directly connected, Serial0
LHR_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. LHR_01_5B(config)#interface serial 1 LHR_01_5B(config-if)#ip address 11.0.0.1 255.0.0.0 LHR_01_5B(config-if)#bandwidth 1544 LHR_01_5B(config-if)#no clock rate 64000 LHR_01_5B(config-if)#no shutdown LHR_01_5B(config-if)#exit LHR_01_5B(config)#exit LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set
LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C C
10.0.0.0 is directly connected, Serial0 11.0.0.0 is directly connected, Serial1
LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route TAIMUR MUSHARRAF
05B-001-EE
C
10.0.0.0 is directly connected, Serial0
%LINK-3-UPDOWN: Interface Serial1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set C C
10.0.0.0 is directly connected, Serial0 11.0.0.0 is directly connected, Serial1
SEC:A
SEM-V
Data Communication & Networking
Lab9 Task: 24-10-07
Data Communication & Networking
Lab9 Task: 24-10-07
Setting-Up RIP
¤Islamabad Router Router> Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ISB_01_5B ISB_01_5B(config)#interface serial 0 ISB_01_5B(config-if)#ip address 11.0.0.2 255.0.0.0 ISB_01_5B(config-if)#bandwidth 1544 ISB_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up ISB_01_5B(config-if)#exit ISB_01_5B(config)#interface serial 1 %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down ISB_01_5B(config-if)#ip address 13.0.0.2 255.0.0.0 ISB_01_5B(config-if)#bandwidth 1544 ISB_01_5B(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial1, changed state to up ISB_01_5B(config-if)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route
C
13.0.0.0 is directly connected, Serial1
ISB_01_5B#co ISB_01_5B#configure terminal Enter configuration commands, one per line. End with CNTL/Z. ISB_01_5B(config)#i9n ISB_01_5B(config)#interface serial 0 ISB_01_5B(config-if)#ip address 11.0.0.2 255.0.0.0 ISB_01_5B(config-if)#bann ISB_01_5B(config-if)#bandwidth 1544 ISB_01_5B(config-if)#clock rate 64000 %LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up ISB_01_5B(config-if)#no shutdown ISB_01_5B(config-if)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK] ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route
¤Karachi Router
¤Lahore Router
¤Islamabad Router
KHI_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. KHI_01_5B(config)#router rip KHI_01_5B(config-router)#network 10.0.0.0 KHI_01_5B(config-router)#network 13.0.0.0 KHI_01_5B(config-router)#exit KHI_01_5B(config)#exit KHI_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
LHR_01_5B#config t Enter configuration commands, one per line. End with CNTL/Z. LHR_01_5B(config)#route LHR_01_5B(config)#router rip LHR_01_5B(config-router)#network 10.0.0.0 LHR_01_5B(config-router)#network 11.0.0.0 LHR_01_5B(config-router)# LHR_01_5B(config-router)#exit LHR_01_5B(config)#exit LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
ISB_01_5B#configure t Enter configuration commands, one per line. End with CNTL/Z. ISB_01_5B(config)#router rip ISB_01_5B(config-router)#network 13.0.0.0 ISB_01_5B(config-router)#network 11.0.0.0 ISB_01_5B(config-router)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C C
10.0.0.0 is directly connected, Serial0 13.0.0.0 is directly connected, Serial1
Gateway of last resort is not set
KHI_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route
C
Gateway of last resort is not set
Gateway of last resort is not set C C
13.0.0.0 is directly connected, Serial1 11.0.0.0 is directly connected, Serial0
13.0.0.0 is directly connected, Serial1
LHR_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C 10.0.0.0 is directly connected, Serial0 C 11.0.0.0 is directly connected, Serial1 R 13.0.0.0 [120/1] via 10.0.0.1, 00:06:17, Serial0
ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C 13.0.0.0 is directly connected, Serial1 C 11.0.0.0 is directly connected, Serial0 R 10.0.0.0 [120/1] via 11.0.0.1, 00:02:43, Serial0
C 10.0.0.0 is directly connected, Serial0 C 13.0.0.0 is directly connected, Serial1 R 11.0.0.0 [120/1] via 13.0.0.2, 00:09:19, Serial1
ISB_01_5B#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * candidate default U - per-user static route Gateway of last resort is not set
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
Data Communication & Networking
Lab9 Task: 24-10-07
Data Communication & Networking
Setting-Up IGRIP ¤Karachi Router
¤Lahore Router
¤Islamabad Router
KHI_01_5B#config t KHI_01_5B(config)#router igrp 100 KHI_01_5B(config-router)#network 10.0.0.0 KHI_01_5B(config-router)#network 13.0.0.0 KHI_01_5B(config-router)#exit KHI_01_5B(config)#exit KHI_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
LHR_01_5B#configure t LHR_01_5B(config)#router igrp 100 LHR_01_5B(config-router)#network 10.0.0.0 LHR_01_5B(config-router)#network 11.0.0.0 LHR_01_5B(config-router)#exit LHR_01_5B(config)#exit LHR_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
ISB_01_5B#config t ISB_01_5B(config)#router igrp 100 ISB_01_5B(config-router)#network 11.0.0.0 ISB_01_5B(config-router)#network 13.0.0.0 ISB_01_5B(config-router)#exit ISB_01_5B(config)#exit ISB_01_5B#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Gateway of last resort is not set
Gateway of last resort is not set
Gateway of last resort is not set
C 10.0.0.0 is directly connected, Serial0 C 13.0.0.0 is directly connected, Serial1
C 10.0.0.0 is directly connected, Serial0 C 11.0.0.0 is directly connected, Serial1 I 13.0.0.0 [100/651] via 10.0.0.1, 00:07:41, Serial0
C 13.0.0.0 is directly connected, Serial1 C 11.0.0.0 is directly connected, Serial0 I 10.0.0.0 [100/651] via 13.0.0.1, 00:07:44, Serial1
KHI_01_5B#show ip route Gateway of last resort is not set C 10.0.0.0 is directly connected, Serial0 C 13.0.0.0 is directly connected, Serial1 I 11.0.0.0 [100/651] via 13.0.0.2, 00:08:28, Serial1
RESULT: Note that first router table for remote networks was formed by RIP and when IGRP is enabled the new routing table or the information about remote networks to respective router is gathered by IGRP. It is due the administrative distance of IGRP i.e. 100 which less than that of RIP i.e. 120.
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
Lab9 Task: 24-10-07
Debugging IGRIP
SEM-V
¤Karachi Router
¤Lahore Router
¤Islamabad Router
KHI_01_5B#debug ip igrp events IGRP event debugging is on IGRP: sending update to 255.255.255.255 via Serial0 (10.0.0.1) IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
LHR_01_5B#debug ip igrp events IGRP event debugging is on IGRP: received update from 10.0.0.1 on Serial0 IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
ISB_01_5B#debug ip igrp events IGRP event debugging is on IGRP: received update from 11.0.0.1 on Serial0 IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: sending update to 255.255.255.255 via Serial1 (13.0.0.1) IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: sending update to 255.255.255.255 via Serial0 (10.0.0.2) IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: sending update to 255.255.255.255 via Serial0 (11.0.0.2) IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: received update from 10.0.0.2 on Serial0 IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: sending update to 255.255.255.255 via Serial1 (11.0.0.1) IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: sending update to 255.255.255.255 via Serial1 (13.0.0.2) IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: received update from 13.0.0.2 on Serial1 IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: received update from 11.0.0.2 on Serial1 IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: received update from 13.0.0.1 on Serial1 IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: sending update to 255.255.255.255 via Serial0 (10.0.0.1) IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: received update from 10.0.0.1 on Serial0 IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: received update from 11.0.0.1 on Serial0 IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: sending update to 255.255.255.255 via Serial1 (13.0.0.1) IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: sending update to 255.255.255.255 via Serial0 (10.0.0.2) IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: sending update to 255.255.255.255 via Serial0 (11.0.0.2) IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: received update from 10.0.0.2 on Serial0 IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: sending update to 255.255.255.255 via Serial1 (11.0.0.1) IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: sending update to 255.255.255.255 via Serial1 (13.0.0.2) IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: received update from 13.0.0.2 on Serial1 IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. IGRP: Total routes in update: 2
IGRP: received update from 11.0.0.2 on Serial1 IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
IGRP: received update from 13.0.0.1 on Serial1 IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. IGRP: Total routes in update: 1
KHI_01_5B#no debug all All possible debugging has been turned off
LHR_01_5B#no debug all All possible debugging has been turned off
ISB_01_5B#no debug all All possible debugging has been turned off
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
Data Communication & Networking
Lab9 Task: 24-10-07
Debugging IGRIP ¤Karachi Router
¤Lahore Router
¤Islamabad Router
KHI_01_5B# show ip protocols Routing Protocol is "igrp 100" Sending updates every 90 seconds, next due in 13 seconds Invalid after 270 seconds, hold down 280, flushed after 630 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Default networks flagged in outgoing updates Default networks accepted from incoming updates IGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 IGRP maximum hopcount 100 IGRP maximum metric variance 1 Redistributing: igrp 100 Routing for Networks: 10.0.0.0 13.0.0.0 Routing Information Sources: 10.0.0.2 100 00:00:03 13.0.0.2 100 00:00:03 Distance: (default is 100)
LHR_01_5B#no debug all All possible debugging has been turned off LHR_01_5B#show ip protocols Routing Protocol is "igrp 100" Sending updates every 90 seconds, next due in 13 seconds Invalid after 270 seconds, hold down 280, flushed after 630 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Default networks flagged in outgoing updates Default networks accepted from incoming updates IGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 IGRP maximum hopcount 100 IGRP maximum metric variance 1 Redistributing: igrp 100 Routing for Networks: 10.0.0.0 11.0.0.0 Routing Information Sources: 11.0.0.2 100 00:00:06 10.0.0.1 100 00:00:03 Distance: (default is 100)
ISB_01_5B#no debug all All possible debugging has been turned off ISB_01_5B#show ip protocols Routing Protocol is "igrp 100" Sending updates every 90 seconds, next due in 79 seconds Invalid after 270 seconds, hold down 280, flushed after 630 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Default networks flagged in outgoing updates Default networks accepted from incoming updates IGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 IGRP maximum hopcount 100 IGRP maximum metric variance 1 Redistributing: igrp 100 Routing for Networks: 11.0.0.0 13.0.0.0 Routing Information Sources: 13.0.0.1 100 00:00:00 11.0.0.1 100 00:00:03 Distance: (default is 100)
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
Data Communication & Networking
Lab12 Task: 15-11-07
Lab-12
Ethereal:
TAIMUR MUSHARRAF
SNIFFERS
05B-001-EE
SEC:A
SEM-V
1
Data Communication & Networking
Lab12 Task: 15-11-07
Data Communication & Networking
Lab12 Task: 15-11-07
Ethereal
MyNetMon:
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
2
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
3
Data Communication & Networking
Lab12 Task: 15-11-07
Smart Sniff:
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
4
Data Communication & Networking
Stand Alone Lab-17
Data Communication & Networking R1_5B-01-EE#ping 192.168.2.2 Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 m
Traceroute
Stand Alone Lab-17
R2_5B-01-EE#traceroute 192.168.2.2 Tracing the route to 192.168.2.2 1 192.168.1.1 0 msec 18 msec 0 msec 2 192.168.2.2 21 msec 18 msec *
Traceroute Command: Traceroute works by sending packets with low time to live (TTL) fields. the TTL specifies how many hops the packet is allowed before it is returned. When a packet can't reach it's destination because the TTL value is too low, the last host returns the packet and identifies itself. By sending the series of packets and incrementing the TTL value with each successive packet, Traceroute finds out who all the intermediary hosts are. Traceroute is used to find the quality of internet connection. The cmd is used as: tracert yahoo.com Depending on the ms values displayed after the processing of the cmd, the latency is found and the quality is determined.
Router 1 Router>enable Router#config t Router(config)#hostname R1_5B01-EE R1_5B-01-EE(config)#int e0 R1_5B-01-EE(config-if)#ip address 192.168.1.1 255.255.255.0 R1_5B-01-EE(config-if)#no shut R1_5B-01-EE(config-if)#exit R1_5B-01-EE(config)#int s0 R1_5B-01-EE(config-if)#ip address 192.168.2.1 255.255.255.0 R1_5B-01-EE(config-if)#no shut R1_5B-01-EE(config-if)#exit R1_5B-01-EE(config)#router rip R1_5B-01-EE(configrouter)#network 192.168.1.0 R1_5B-01-EE(configrouter)#network 192.168.2.0 R1_5B-01-EE#show ip route C 192.168.1.0 is directly connected,Ethernet0 C 192.168.2.0 is directly connected, Serial0 R1_5B-01-EE#ping 192.168.1.2 Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
TAIMUR MUSHARRAF
Router 2
Router 3
Router>enable Router#config t Router(config)#hostname R2_5B01-EE R2_5B-01-EE(config)#int e0 R2_5B-01-EE(config-if)#ip address 192.168.1.2 255.255.255.0 R2_5B-01-EE(config-if)#no shut %LINK-3-UPDOWN: Interface Ethernet0, changed state to up R2_5B-01-EE(config-if)#exit R2_5B-01-EE(config)#router rip R2_5B-01-EE(configrouter)#network 192.168.1.0 R2_5B-01-EE(configrouter)#network 192.168.2.0 R2_5B-01-EE#show ip route C 192.168.1.0 is directly connected, Ethernet0 R 192.168.2.0 [120/1] via 192.168.1.1, 00:09:30, Ethernet0
Router>enable Router#config t Router(config)#hostname R4_5B01-EE R4_5B-01-EE(config)#int s0 R4_5B-01-EE(config-if)#ip address 192.168.2.2 255.255.255.0 R4_5B-01-EE(config-if)#no shut %LINK-3-UPDOWN: Interface Serial0, changed state to up R4_5B-01-EE(config-if)#exit R4_5B-01-EE(config)#router rip R4_5B-01-EE(configrouter)#network 192.168.2.0 R4_5B-01-EE#show ip route C 192.168.2.0 is directly connected, Serial0 R 192.168.1.0 [120/1] via 192.168.2.1, 00:01:23, Serial0
R2_5B-01-EE#ping 192.168.2.2 Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2.2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
05B-001-EE
SEC:A
SEM-V
1
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
2
Data Communication & Networking
Stand Alone Lab-21
Total Allocated ISDN CCBs = 0 R1_5B-001-EE#config t Enter configuration commands, one per line. End with CNTL/Z. R1_5B-001-EE(config)#int bri0 R1_5B-001-EE(config-if)#dialer string 7782001 R1_5B-001-EE(config-if)#exit R1_5B-001-EE(config)#dialer-list 1 protocol ip permit R1_5B-001-EE(config)#int bri0 R1_5B-001-EE(config-if)#dialer-group 1 R1_5B-001-EE#ping 42.34.10.121 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 42.34.10.121, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
ISDN
Router 1
TAIMUR MUSHARRAF
05B-001-EE
Router> Router> Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2_5B-001-EE R2_5B-001-EE(config)#int bri0 R2_5B-001-EE(config-if)#ip address 42.34.10.121 255.255.255.0 R2_5B-001-EE(config-if)#no shut %LINK-3-UPDOWN: Interface Bri0, changed state to up R2_5B-001-EE(config-if)#end R2_5B-001-EE#config t Enter configuration commands, one per line. End with CNTL/Z. R2_5B-001-EE(config)#isdn switch-type basic-ni R2_5B-001-EE(config)#int bri0 R2_5B-001-EE(config-if)#isdn spid1 32177820020100 R2_5B-001-EE(config-if)#exit R2_5B-001-EE(config)#exit R2_5B-001-EE#show isdn status Global ISDN Switchtype = basic-ni ISDN BRI0 interface dsl 0, interface ISDN Switchtype = basic-ni Layer 1 Status: TESTING Layer 2 Status: TEI = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED TEI 64, ces = 1, state = 5(init) spid1 configured, no LDN, spid1 sent, spid1 valid Layer 3 Status: 0 Active Layer 3 Call(s) Active dsl 0 CCBs = 0 The Free Channel Mask: 0x80000003 SEC:A
SEM-V
Stand Alone Lab-21 Number of L2 Discards = 0, L2 Session ID = 100 Total Allocated ISDN CCBs = 0 R2_5B-001-EE#config t Enter configuration commands, one per line. End with CNTL/Z. R2_5B-001-EE(config)#int bri0 R2_5B-001-EE(config-if)#dialer string 7782002 R2_5B-001-EE(config-if)#exit R2_5B-001-EE(config)#dialer-list 1 protocol ip permit R2_5B-001-EE(config)#int bri0 R2_5B-001-EE(config-if)#dialer-group 1 R2_5B-001-EE(config-if)#exit R2_5B-001-EE(config)#exit
What is an ISDN?
Router 2
Router> Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1_5B-001-EE R1_5B-001-EE(config)#int bri0 R1_5B-001-EE(config-if)#ip address 42.34.10.121 255.255.255.0 R1_5B-001-EE(config-if)#no shut %LINK-3-UPDOWN: Interface Bri0, changed state to up R1_5B-001-EE(config-if)#end R1_5B-001-EE#config t Enter configuration commands, one per line. End with CNTL/Z. R1_5B-001-EE(config)#isdn switch-type basic-ni R1_5B-001-EE(config)#int bri0 R1_5B-001-EE(config-if)#isdn spid1 32177820010100 R1_5B-001-EE(config-if)#exit R1_5B-001-EE(config)#exit R1_5B-001-EE#show isdn status Global ISDN Switchtype = basic-ni ISDN BRI0 interface dsl 0, interface ISDN Switchtype = basic-ni Layer 1 Status: TESTING Layer 2 Status: TEI = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED TEI 64, ces = 1, state = 5(init) spid1 configured, no LDN, spid1 sent, spid1 valid Layer 3 Status: 0 Active Layer 3 Call(s) Active dsl 0 CCBs = 0 The Free Channel Mask: 0x80000003 Number of L2 Discards = 0, L2 Session ID = 100
Data Communication & Networking
x
http://www.networktutorials.info/index.html
ISDN network is a digital communication system that is capable of producing the maximum transmission speed of 1.4Mbps. 128Kbps speed is however more common in the digital technology. It's a international standard for sending data, voice, video over regular digital telephone lines. ISDN uses UTP (unshielded twisted pair cable) for transmission. Types of ISDN Network There are two basic types • Basic Rate Interface (BRI) – It consists of two 64 B-channels and one D-channel for transmitting control information. • Primary Rate Interface (PRI) -- It consists of 23 B-channels and one D-channel (for U.S.) or 30 B-channels and one D-channel (for Europe). The actual version of ISDN employs base band transmission. Another version, called B-ISDN, uses broadband transmission, which is able to support transmission rate of 1.5 Mbps. B-ISDN mainly requires fiber optic cables. To access the B channel, it is necessary to subscribe the ISDN phone line. Customers are also required to have some special ISDN devices, which are known as terminal adapters, which are used to communication with the telephone company switch or other ISDN devices.
x
http://www.webopedia.com
SPID: Service Profile Identifier, a number that identifies a specific ISDN line. When you obtain ISDN service, your telephone company assigns a SPID to your line. Part of the initialization procedure is to configure your ISDN terminal adapter to use this SPID. Most telephone companies in the U.S. use the Generic SPID Format, which is a 14-digit number. The first 10 digits identify the telephone number, called the Directory Number (DN). The remaining four digits identify a particular ISDN device, in the case where multiple devices share the same Directory Number.
1
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
2
Data Communication & Networking
Stand Alone Lab-34
Telnet
Data Communication & Networking
Stand Alone Lab-34
What is Telnet? http://www.apluskb.com/scripts/category_1pp196.html As a common way to remotely control a web server, Telnet is a protocol for remote computing on the Internet. It allows a computer to act as a remote terminal on another machine, anywhere on the Internet. This means that when you telnet to a particular host and port, the remote computer (which must have a Telnet server) accepts input directly from your computer (which must have a Telnet client) and output for your session is directed to your screen. There are many library and information resources that are accessible through Telnet.
SearchNetworking.com
Router 1
Router 2
Router> Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1_5B-001-EE R1_5B-001-EE(config)#line vty 0 4 R1_5B-001-EE(config-line)#login R1_5B-001-EE(config-line)#password boson R1_5B-001-EE(config-line)#exit R1_5B-001-EE(config)#int e0 R1_5B-001-EE(config-if)#ip address 34.25.67.18 255.255.255.0 R1_5B-001-EE(config-if)#no shut %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
Router> Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2_5B-001-EE R2_5B-001-EE(config)#int e0 R2_5B-001-EE(config-if)#ip address 34.25.67.2 255.255.255.0 R2_5B-001-EE(config-if)#no shut %LINK-3-UPDOWN: Interface Ethernet0, changed state to up R2_5B-001-EE(config-if)#end R2_5B-001-EE#telnet 34.25.67.18
Telnet is a user command and an underlying TCP/IP protocol for accessing remote computers. Through Telnet, an administrator or another user can access someone else's computer remotely. On the Web, HTTP and FTP protocols allow you to request specific files from remote computers, but not to actually be logged on as a user of that computer. With Telnet, you log on as a regular user with whatever privileges you may have been granted to the specific application and data on that computer. A Telnet command request looks like this (the computer name is made-up): telnet the.libraryat.whatis.edu The result of this request would be an invitation to log on with a userid and a prompt for a password. If accepted, you would be logged on like any user who used this computer every day. Telnet is most likely to be used by program developers and anyone who has a need to use specific applications or data located at a particular host computer.
Trying 34.25.67.18 ... Open % The Message that appeared was: Password: boson R1_5B-001-EE> R1_5B-001-EE>+<shift>+<6>- - -+<X> R2_5B-001-EE# %Screen Resumed back Router2 R2_5B-001-EE#show sessions Conn Host Address Byte Idle Conn Name * 1 34.25.67.18 34.25.67.18 0 9 34.25.67.18 R2_5B-001-EE#resume 1 Resuming connection 1 to 34.25.67.18 R2_5B-001-EE#disconnect 1 Closing connection to 34.25.67.18
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
1
TAIMUR MUSHARRAF
05B-001-EE
SEC:A
SEM-V
2
Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. KHI(config)#int e0 KHI(config-if)#ip address 10.0.0.1 255.0.0.0 KHI(config-if)#no shutdown %LINK-3-UPDOWN: Interface Ethernet0, changed state to up KHI(config-if)#exit KHI(config)#exit KHI#copy run startup Destination filename [startup-config]? Building configuration... [OK] %LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up KHI#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. KHI(config)#ip route 13.0.0.0 255.0.0.0 11.0.0.2 KHI(config)#ip route 13.0.0.0 255.0.0.0 11.0.0.2 KHI(config)#ping 11.0.0.2 ^ % Invalid input detected at '^' marker. KHI(config)#exit KHI#ping 11.0.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 11.0.0.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms KHI#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
Karachi Router: Router> Router>enable Router#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
KHI(config)#ro KHI(config)#rou KHI(config)#router ? eigrp Enhanced Interior Gateway Routing Protocol (EIGRP) rip Routing Information Protocol (RIP) igrp Interior Gateway Routing Protocol (IGRP) ospf Open Shortest Path First (OSPF) bgp Border Gateway Protocol (BGP) isis ISO IS-IS KHI(config)#router igrp 100 KHI(config-router)#network 10.0.0.0 KHI(config-router)#network 11.0.0.0 KHI(config-router)#exit KHI(config)#exit KHI#copy run startup Destination filename [startup-config]?
Router(config)#hostname KHI KHI(config)#int s0 KHI(config-if)#ip address 11.0.0.1 255.0.0.0 KHI(config-if)#ba KHI(config-if)#bandwidth 1544 KHI(config-if)#clock rate 64000 KHI(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up KHI(config-if)#exit %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down KHI(config)#exit KHI#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Lahore Router: Router#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
KHI#configure
1
2
Router(config)#hostname LHRm LHRm(config)#int s0 LHRm(config-if)#ip address 11.0.0.2 255.0.0.0 LHRm(config-if)#bandwidth 1544 LHRm(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up LHRm(config-if)#exit LHRm(config)#int e0 LHRm(config-if)#ip address 13.0.0.1 255.0.0.0 LHRm(config-if)#no shut %LINK-3-UPDOWN: Interface Ethernet0, changed state to up LHRm(config-if)#exit LHRm(config)#int s1 LHRm(config-if)#ip address 12.0.0.1 255.0.0.0 LHRm(config-if)#bandwidth 1544 LHRm(config-if)#no shut %LINK-3-UPDOWN: Interface Serial1, changed state to up LHRm(config-if)#exit LHRm(config)#exit %LINK-3-UPDOWN: Interface Serial1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down LHRm#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Building configuration... [OK]
%LINK-3-UPDOWN: Interface Serial1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up LHRm#ip route 10.0.0.0 255.0.0.0 11.0.0.1 ^ % Invalid input detected at '^' marker.
Router(config)#hostname LHRs LHRs(config)#int s1 LHRs(config-if)#ip address 12.0.0.2 255.0.0.0 LHRs(config-if)#bandwidth 1544 LHRs(config-if)#clock rate 64000 LHRs(config-if)#no shut %LINK-3-UPDOWN: Interface Serial1, changed state to up LHRs(config-if)#exit LHRs(config)#exit LHRs#copy run startup Destination filename [startup-config]? Building configuration... [OK]
LHRm#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C C C S
11.0.0.0 is directly connected, Serial0 13.0.0.0 is directly connected, Ethernet0 12.0.0.0 is directly connected, Serial1 10.0.0.0 [1/0] via 11.0.0.1
Lahore Router2: Router>enable Router#co Router#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
LHRm#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. LHRm(config)#ip route 10.0.0.0 255.0.0.0 11.0.0.1 LHRm(config)#ping 11.0.0.2 ^ % Invalid input detected at '^' marker.
LHRs#ping 12.0.0.1
LHRm(config)#exit LHRm#ping 11.0.0.2
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 12.0.0.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms LHRs#ping 11.0.0.1
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 11.0.0.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms LHRm#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 11.0.0.1, timeout is 2 seconds: ..... Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms LHRs#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route
LHRm(config)#router igrp 100 LHRm(config-router)#network 11.0.0.0 LHRm(config-router)# LHRm(config-router)#network 13.0.0.0 LHRm(config-router)#network 12.0.0.0 LHRm(config-router)#exit LHRm(config)#exit LHRm#copy run startup Destination filename [startup-config]?
Gateway of last resort is not set
3
4
C
12.0.0.0 is directly connected, Serial1
Switch
LHRs#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
>enable #configure t Enter configuration commands, one per line. End with CNTL/Z. (config)#vlan 22 name PC (config)#int eo/1 ^ % Invalid input detected at '^' marker. (config)#int e0/1 (config-if)#vlan-membership static 22 (config-if)#exit (config)#int e0/2 (config-if)#vlan-membership static 22 (config-if)#exit (config)#exit #copy run startup ^ % Invalid input detected at '^' marker.
LHRs(config)#router igrp 100 LHRs(config-router)#network 12.0.0.0 LHRs(config-router)#exit LHRs(config)#exit LHRs#copy run startup Destination filename [startup-config]? Building configuration... [OK] LHRs#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route
#show vlan
Gateway of last resort is not set
VLAN Name Status Ports -------------------------------------1 default Enabled 3-12, AUI, A, B 22 PC Enabled 1-2 1002 fddi-default Suspended 1003 token-ring-defau Suspended 1004 fddinet-default Suspended 1005 trnet-default Suspended -------------------------------------VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2 --------------------------------------------------------------------------1 Ethernet 100001 1500 0 0 0 Unkn 1002 1003 22 Ethernet 100022 1500 0 1 1 Unkn 0 0 1002 FDDI 101002 1500 0 0 0 Unkn 1 1003 1003 Token-Ring 101003 1500 1005 1 0 Unkn 1 1002 1004 FDDI-Net 101004 1500 0 0 1 IEEE 0 0 1005 Token-Ring-Net 101005 1500 0 0 1 IEEE 0 0 ---------------------------------------------------------------------------
C 12.0.0.0 is directly connected, Serial1 I 11.0.0.0 [100/651] via 12.0.0.1, 00:06:44, Serial1 I 13.0.0.0 [100/651] via 12.0.0.1, 00:09:12, Serial1
#show vlan-membership Port VLAN Membership Type Port VLAN Membership Type ----------------------------- ----------------------------1 22 Static 2 22 Static 3 1 Static 4 1 Static 5 1 Static 6 1 Static 7 1 Static 8 1 Static 9 1 Static 10 1 Static 11 1 Static 12 1 Static AUI A B
5
1 1 1
Static Static Static
6
HELP Manipulates ip address for Workstation.
PC1: C:>ipconfig /ip 10.0.0.2 255.0.0.0 C:>ipconfig /dg 10.0.0.1 C:>ping 10.0.0.3 Pinging 10.0.0.3 with 32 bytes of data:
IPCONFIG [/ip] [/dg] /ip Adds the ip address and subnet mask to the workstation /dg Adds the default gateway to the workstation
Reply from 10.0.0.3: bytes=32 time=60ms TTL=241 Reply from 10.0.0.3: bytes=32 time=60ms TTL=241 Reply from 10.0.0.3: bytes=32 time=60ms TTL=241 Reply from 10.0.0.3: bytes=32 time=60ms TTL=241 Reply from 10.0.0.3: bytes=32 time=60ms TTL=241
Examples: ¢ ipconfig /ip 157.1.1.12 255.0.0.0 ¢ ipconfig /dg 157.1.1.1 Boson BOSS 5.0 IP Configuration Ethernet adapter Local Area Connection: IP Address. . . . . . . . . . . . : 10.0.0.2 Subnet Mask . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 10.0.0.1
Ping statistics for 10.0.0.3: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 50ms, Maximum = 60ms, Average = 55ms C:>ping 10.0.0.1 Pinging 10.0.0.1 with 32 bytes of data:
You can also use winipcfg to configure the IP Address
Request timed out. Request timed out. Request timed out. Request timed out. Request timed out.
PC2: C:>ipconfig /ip 10.0.0.3 255.0.0.0 C:>ipconfig /dg 10.0.0.1
Ping statistics for 10.0.0.1: Packets: Sent = 5, Received = 0, Lost = 5 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
PC3:
C:>ping 13.0.0.2 Pinging 13.0.0.2 with 32 bytes of data:
C:>ipconfig /ip 13.0.0.2 255.0.0.0 C:>ipconfig /dg 13.0.0.1 C:>ping 13.0.0.01 Pinging 13.0.0.01 with 32 bytes of data:
C:>ipconfig /ip 13.0.0.2 ^ % Invalid input detected at '^' marker.
Request timed out. Request timed out. Request timed out. Request timed out. Request timed out.
Request timed out. Request timed out. Request timed out. Request timed out. Request timed out.
Ping statistics for 13.0.0.2: Packets: Sent = 5, Received = 0, Lost = 5 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
Ping statistics for 13.0.0.01: Packets: Sent = 5, Received = 0, Lost = 5 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:>ping 13.0.0.2 Pinging 13.0.0.2 with 32 bytes of data:
C:>ping 13.0.0.1 Pinging 13.0.0.1 with 32 bytes of data:
Request timed out. Request timed out. Request timed out. Request timed out. Request timed out.
Reply from 13.0.0.1: bytes=32 time=60ms TTL=241 Reply from 13.0.0.1: bytes=32 time=60ms TTL=241 Reply from 13.0.0.1: bytes=32 time=60ms TTL=241 Reply from 13.0.0.1: bytes=32 time=60ms TTL=241 Reply from 13.0.0.1: bytes=32 time=60ms TTL=241
Ping statistics for 13.0.0.2: Packets: Sent = 5, Received = 0, Lost = 5 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
Ping statistics for 13.0.0.1: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 50ms, Maximum = 60ms, Average = 55ms
C:>ipconfig
7
8
KHI(config-if)#exit KHI(config)#exit KHI#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Practice Sinerio 2
KHI#ping 11.0.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 11.0.0.2, timeout is 2 seconds: ..... Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms KHI#show ip ? ospf OSPF information dhcp Show items in the DHCP database eigrp IP-EIGRP show commands route IP routing table arp IP ARP Table protocols IP routing protocol process parameters interface IP interface status and configuration nat IP NAT information bgp BGP information KHI#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set
Karachi Router Router> Router>ENABLE Router#CONFIG Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
C
10.0.0.0 is directly connected, Ethernet0
%LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up KHI#ping 11.0.0.2
Router(config)#HOSTNAME KHI KHI(config)#INT S0 KHI(config-if)#ip address 11.0.0.1 255.0.0.0 KHI(config-if)#bandwidth 1544 KHI(config-if)#clock rate 64000 KHI(config-if)#no shut %LINK-3-UPDOWN: Interface Serial0, changed state to up KHI(config-if)#exit KHI(config)#exit %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down KHI#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 11.0.0.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms KHI#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. KHI(config)#rou KHI(config)#router igrp 100 KHI(config-router)#network 10.0.0.0 KHI(config-router)#network 11.0.0.0 KHI(config-router)#exit KHI(config)#exit KHI#copy run startup Destination filename [startup-config]? Building configuration... [OK]
KHI#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
KHI#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
KHI(config)#int e0 KHI(config-if)#ip address 10.0.0.1 255.0.0.0 KHI(config-if)#no shut %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
1
2
U - per-user static route
Lahore Router Router> Router>enable Router#co Router#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
Gateway of last resort is not set C C
10.0.0.0 is directly connected, Ethernet0 11.0.0.0 is directly connected, Serial0
KHI#ping 10.0.0.4
Router(config)#hostname LHR LHR(config)#int s0 LHR(config-if)#ip address 11.0.0.2 255.0.0.0 LHR(config-if)#bandwidth 1544 LHR(config-if)#no shut %LINK-3-UPDOWN: Interface Serial0, changed state to up LHR(config-if)#exit LHR(config)#exit %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down LHR#copy run startup Destination filename [startup-config]? Building configuration... [OK]
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.4, timeout is 2 seconds: ..... Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms KHI#ping 10.0.0.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.10, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms KHI#ping 10.0.0.4 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.4, timeout is 2 seconds: ..... Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms KHI#ping 10.0.0.4
LHR#co LHR#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.4, timeout is 2 seconds: ..... Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms KHI#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
LHR(config)#int s0 LHR(config-if)#ip address 11.0.0.2 255.0.0.0 LHR(config-if)#bandwidth 1544 LHR(config-if)#clock rate 64000 %LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up LHR(config-if)#no shut LHR(config-if)#exit LHR(config)#exit LHR#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
KHI(config)#ip route 10.0.0.0 255.0.0.0 10.0.0.10 KHI(config)#exit KHI#copy run startup Destination filename [startup-config]? Building configuration... [OK]
LHR(config)#router igrp 100 LHR(config-router)#network 11.0.0.0 LHR(config-router)#exit LHR(config)#exit LHR#copy run startup Destination filename [startup-config]? Building configuration... [OK]
KHI#ping 10.0.0.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.10, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms KHI#ping 10.0.0.4 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.4, timeout is 2 seconds: ..... Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms
LHR#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C 11.0.0.0 is directly connected, Serial0 I 10.0.0.0 [100/651] via 11.0.0.1, 00:09:34, Serial0
3
4
hostname Set the system's network name interface Select an interface to configure ip Global IP configuration subcommands line Configure a terminal line mac-address-table Configure the mac address table rip Routing information protocol configuration service Configuration Command spantree Spanning tree subsystem switching-mode Sets the switching mode uplink-fast Enable Uplink fast vlan VLAN configuration vlan-membership VLAN membership server configuration vtp Global VTP configuration commands (config)#int ? ethernet IEEE 802.3 (config)#int e? ethernet
LHR#ping 10.0.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds: ..... Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms LHR#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. LHR(config)#ip route 10.0.0.0 255.0.0.0 11.0.0.1 LHR(config)#exit LHR#copy run startup Destination filename [startup-config]? Building configuration... [OK] LHR#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route
(config)#int e0/26 ^ % Invalid input detected at '^' marker. (config)#int e0/1 (config-if)#vlan-membership static 10 (config-if)#exit (config)#int e0/2 (config-if)#vlan-membership static 10 (config-if)#exit (config)#int e0/3 (config-if)#vlan-membership static 10 (config-if)#exit (config)#int e0/4 (config-if)#vlan-membership static 10 (config-if)#exit (config)#int e0/5 (config-if)#vlan-membership static 10 (config-if)#exit (config)#int e0/6 (config-if)#vlan-membership static 10 (config-if)#exit (config)#exit #show ? vlan Show VLAN information vtp VLAN trunk protocol vlan-membership Show VLAN membership information trunk Display trunk information tftp TFTP configuration and status terminal Display console/RS-232 port configuration spantree Spanning tree subsystem running-config Show current operating configuration cdp cdp information mac-address-table MAC forwarding table history Display the session command history ip Display IP configuration version System hardware and software status interfaces Interface status and configuration line Display console/RS-232 port configuration #show vla #show vlan-membership Port VLAN Membership Type Port VLAN Membership Type ----------------------------- ----------------------------1 10 Static
Gateway of last resort is not set C S
11.0.0.0 is directly connected, Serial0 10.0.0.0 [1/0] via 11.0.0.1
LHR# LHR#ping 10.0.0.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.10, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Switch >enable #configure %Incomplete command. #configure t Enter configuration commands, one per line. End with CNTL/Z. (config)#int e0/1 (config-if)#exit (config)#int e0 ^ % Invalid input detected at '^' marker. (config)#int e0/26 ^ % Invalid input detected at '^' marker. (config)#? banner cdp enable end exit
Define a login banner Global CDP configuration subcommands Modify enable password parameters Exit from configure mode Exit from configure mode
5
6
2 3 4 5 6 7 8 9 10 11 12 AUI A B
10 10 10 10 10 1 1 1 1 1 1
Static Static Static Static Static Static Static Static Static Static Static
1 1 1
Static Static Static
Reply from 10.0.0.4: bytes=32 time=60ms TTL=241 Reply from 10.0.0.4: bytes=32 time=60ms TTL=241 Ping statistics for 10.0.0.4: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 50ms, Maximum = 60ms, Average = 55ms C:>ping 10.0.0.1 Pinging 10.0.0.1 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Request timed out.
# #configure t Enter configuration commands, one per line. End with CNTL/Z. (config)#ip address 10.0.0.10 255.0.0.0 (config)#exit #show mac-address-table Mac Address Table -----------------------------------------Vlan Mac Address Type Ports ---- -----------------10 000C.9074.9797 DYNAMIC Ethernet0/6 10 000C.9886.8081 DYNAMIC Ethernet0/5 10 000C.8321.7106 DYNAMIC Ethernet0/4 10 000C.6686.6632 DYNAMIC Ethernet0/3 10 000C.8064.9150 DYNAMIC Ethernet0/2 10 000C.9001.1327 DYNAMIC Ethernet0/1 1 000C.3070.1825 DYNAMIC Fa0/26
Ping statistics for 10.0.0.1: Packets: Sent = 5, Received = 0, Lost = 5 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:>ipconfig /dg 10.0.0.10
e-Station2: C:> C:>ipconfig /ip 10.0.0.3 255.0.0.0 C:>ipconfig /dg 10.0.0.1 C:>ipconfig /dg 10.0.0.10
e-Station3: C:> C:>ipconfig /ip 10.0.0.4 255.0.0.0 C:> C:>ipconfig /dg 10.0.0.1 C:>show ipconfig C:>? ipconfig ping winipcfg show tracert Trace route to destination help ver dir Shows TFTP Configs type View specific TFTP Config telnet tacacs Add or Edit TACACS database net exit C:>show ip config ^ % Invalid input detected at '^' marker.
Total Mac Addresses for this criterion: 7
e-Station1: Press Enter to begin C:> C:>? ipconfig ping winipcfg show tracert Trace route to destination help ver dir Shows TFTP Configs type View specific TFTP Config telnet tacacs Add or Edit TACACS database net exit C:>ipconfig /ip 10.0.0.2 255.0.0.0 C:>ipconfig /dg 10.0.0.1 C:>ping 10.0.0.4 Pinging 10.0.0.4 with 32 bytes of data:
C:>show ? Name of your TFTP config tftp-configs C:>ip config ^ % Invalid input detected at '^' marker.
Reply from 10.0.0.4: bytes=32 time=60ms TTL=241 Reply from 10.0.0.4: bytes=32 time=60ms TTL=241 Reply from 10.0.0.4: bytes=32 time=60ms TTL=241
7
8
C:>ipconfig
e-Station5: C:> C:>ipconfig /ip 10.0.0.6 255.0.0.0 C:>ipconfig /dg 10.0.0.1 C:>ipconfig
HELP Manipulates ip address for Workstation. IPCONFIG [/ip] [/dg] /ip Adds the ip address and subnet mask to the workstation /dg Adds the default gateway to the workstation
HELP Manipulates ip address for Workstation.
Examples: ¢ ipconfig /ip 157.1.1.12 255.0.0.0 ¢ ipconfig /dg 157.1.1.1
IPCONFIG [/ip] [/dg] /ip Adds the ip address and subnet mask to the workstation /dg Adds the default gateway to the workstation
Boson BOSS 5.0 IP Configuration Ethernet adapter Local Area Connection: IP Address. . . . . . . . . . . . : 10.0.0.4 Subnet Mask . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 10.0.0.1
Examples: ¢ ipconfig /ip 157.1.1.12 255.0.0.0 ¢ ipconfig /dg 157.1.1.1 Boson BOSS 5.0 IP Configuration Ethernet adapter Local Area Connection: IP Address. . . . . . . . . . . . : 10.0.0.6 Subnet Mask . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 10.0.0.1
You can also use winipcfg to configure the IP Address C:>ipconfig /dg 10.0.0.10
e-Station4:
You can also use winipcfg to configure the IP Address
Press Enter to begin C:> C:>ipconfig /ip 10.0.0.5 255.0.0.0 C:>ipconfig /dg 10.0.0.1 C:>ipconfig
C:>ipconfig /dg 10.0.0.10
e-Station6: C:> C:>ipconfig /ip 10.0.0.7 255.0.0.0 C:>ipconfig /dg 10.0.0.1 C:>ipconfig
HELP Manipulates ip address for Workstation. IPCONFIG [/ip] [/dg] /ip Adds the ip address and subnet mask to the workstation /dg Adds the default gateway to the workstation
HELP Manipulates ip address for Workstation. IPCONFIG [/ip] [/dg] /ip Adds the ip address and subnet mask to the workstation /dg Adds the default gateway to the workstation
Examples: ¢ ipconfig /ip 157.1.1.12 255.0.0.0 ¢ ipconfig /dg 157.1.1.1
Examples: ¢ ipconfig /ip 157.1.1.12 255.0.0.0 ¢ ipconfig /dg 157.1.1.1
Boson BOSS 5.0 IP Configuration Ethernet adapter Local Area Connection: IP Address. . . . . . . . . . . . : 10.0.0.5 Subnet Mask . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 10.0.0.1
Boson BOSS 5.0 IP Configuration Ethernet adapter Local Area Connection: IP Address. . . . . . . . . . . . : 10.0.0.7 Subnet Mask . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 10.0.0.1
You can also use winipcfg to configure the IP Address C:>ipconfig /dg 10.0.0.10
You can also use winipcfg to configure the IP Address C:>ipconfig /dg 10.0.0.10 C:>ipconfig HELP Manipulates ip address for Workstation. IPCONFIG [/ip] [/dg]
9
10
/ip /dg
Adds the ip address and subnet mask to the workstation Adds the default gateway to the workstation
Examples: ¢ ipconfig /ip 157.1.1.12 255.0.0.0 ¢ ipconfig /dg 157.1.1.1 Boson BOSS 5.0 IP Configuration Ethernet adapter Local Area Connection: IP Address. . . . . . . . . . . . : 10.0.0.7 Subnet Mask . . . . . . . . . . . : 255.0.0.0 Default Gateway . . . . . . . . . : 10.0.0.10
You can also use winipcfg to configure the IP Address
Problem: The mistake was that switch interface with Karachi Router was given the same ip [Network Address] as with the e-stations on the other interfaces of Switch so that Routers couldn’t reach the e-stations….
11