CCNA R&S Bootcamp
Hands-on Lab 11.1: Preparing for NAT
R1#config t
R1(config)#interface fa0/0
R1(config-if)#ip nat out
R1(config-if)#ip nat outside
R1(config-if)#exit
R1(config)#interface se0/0
R1(config-if)#ip nat inside
R1(config-if)#exit
R1(config)#access-list 1 permit 192.168.3.0 0.0.0.255
R1(config)#access-list 1 permit 192.168.4.0 0.0.0.255
R1(config)#access-list 1 permit 192.168.5.0 0.0.0.255
R1(config)#ip nat pool internet 192.168.1.1 192.168.1.1 netmask 255.255.255.0
R1(config)#ip nat inside source list 1 pool internet overload
R1(config)#exit
R1#write
Building configuration...
[OK]
R1#
PC>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=156ms TTL=126
Reply from 192.168.1.2: bytes=32 time=125ms TTL=126
Reply from 192.168.1.2: bytes=32 time=125ms TTL=126
Reply from 192.168.1.2: bytes=32 time=136ms TTL=126
Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 125ms, Maximum = 156ms, Average = 135ms
PC>
R1#show ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 192.168.1.1:10 192.168.3.254:10 192.168.1.2:10 192.168.1.2:10
192.168.1.2:11
icmp 192.168.1.1:11 192.168.3.254:11 192.168.1.2:11 192.168.1.2:12
icmp 192.168.1.1:12 192.168.3.254:12 192.168.1.2:12 192.168.1.2:9
192.168.1.2:80
icmp 192.168.1.1:9 192.168.3.254:9 192.168.1.2:9 192.168.1.2:80
tcp 192.168.1.1:1028 192.168.5.254:1028 192.168.1.2:80
tcp 192.168.1.1:1029 192.168.5.254:1029 192.168.1.2:80
R1#
51
CCNA R&S Bootcamp
Lab 12
Cisco’s Wireless Technologies
Hands-on Labs
Pada Hands-on Lab berikut, anda akan melakukan konfigurasi Wireless Router Cisco sesuai dengan topologi dibawah
ini (LAB-7):
Perangkat IOS Version Interface IP Address
(Hostname c2600-i-mz.122-28.bin
FastEthernet0/0 192.168.1.1/24
) FastEthernet0/1 -
R1 (ISP) Serial0/0
FastEthernet0/0 192.168.2.1/30
R2 c2600-i-mz.122-28.bin FastEthernet0/1 192.168.3.1/24
Serial0/0
R3 c2600-i-mz.122-28.bin Serial0/1 -
FastEthernet0/0 192.168.2.2/30
SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 192.168.4.1/30
SW2 c2950-i6q4l2-mz.121-22.EA4.bin Serial0/0 192.168.5.1/24
SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24
PC1 FastEthernet0/1 – 24 -
PC2 FastEthernet0/1 – 24 192.168.4.2/30
PC3 FastEthernet0
Wireless FastEthernet0 -
Router3 FastEthernet0 -
Internet0/0 -
192.168.1.254/24
Access Point LAN 192.168.3.254/24
DHCP Range 192.168.5.254/24
192.168.1.2/24
192.168.0.1/24
192.168.0.2/24 s.d 192.168.0.254/24
52
CCNA R&S Bootcamp
Konfigurasi Wireless Router3 Menggunakan Web Utility:
1. Akses melalui URL standar.
Arahkan browser anda ke http://192.168.1.1.
2. Masukkan informasi autentikasi.
3. Ganti alamat Internet0/0 menjadi alamat static
53
CCNA R&S Bootcamp
4. Set alamat IP untuk interface Internet0/0 menjadi 192.168.1.2/24 dan Default-Gateway 192.168.1.1
5. Aktifkan DHCP Server dengan range Valid pada Network 192.168.0.0/24, dan jangan lupa di simpan
(save)
6. Periksa koneksi pada Laptop3
PC>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=78ms TTL=255
Reply from 192.168.1.2: bytes=32 time=93ms TTL=255
Reply from 192.168.1.2: bytes=32 time=94ms TTL=255
Reply from 192.168.1.2: bytes=32 time=94ms TTL=255
Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
54
CCNA R&S Bootcamp
Minimum = 78ms, Maximum = 94ms, Average = 89ms
PC>
Lab 13
Internet Protocol Version 6 (IPv6)
Hands-On Lab
Pada Hands-on Lab berikut, anda akan melakukan konfigurasi IPv6 pada setiap Router sesuai dengan topologi dibawah
ini:
• Konfigurasi RIPng
• Verifikasi RIPng
• Konfigurasi EIGRPv6 (AS:10)
• Verifikasi EIGRPv6
• Konfigurasi OSPFv3 (Process-ID: 10, Area 0)
• Verifikasi OSPFv3
Perangkat IOS Version Interface IP Address
(Hostname c1841-advipservicesk9-mz.124-15.T1.bin
FastEthernet0/0 2001:DB8:0:1::1/64
) FastEthernet0/1 -
R1 Serial0/0/0
FastEthernet0/0 FC00:0:0:1::1/64
R2 c1841-advipservicesk9-mz.124-15.T1.bin FastEthernet0/1 2001:DB8:0:2::1/64
Serial0/0/0
R3 c1841-advipservicesk9-mz.124-15.T1.bin Serial0/1/0 -
FastEthernet0/0 FC00:0:0:1::2/64
SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 FC00:0:0:2::1/64
SW2 c2950-i6q4l2-mz.121-22.EA4.bin Serial0/0/0 2001:DB8:0:3::1/64
SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24
FastEthernet0/1 – 24 -
FastEthernet0/1 – 24 FC00:0:0:2::2/64
-
-
-
55
CCNA R&S Bootcamp FastEthernet0 Autoconfig
FastEthernet0 Autoconfig
PC1 FastEthernet0 Autoconfig
PC2
PC3
Konfigurasi RIPng pada R1, R2, dan R3:
Router>enable
Router#config t
Router(config)#hostname R1
R1(config)#ipv6 unicast-routing
R1(config)#interface fa0/0
R1(config-if)#ipv6 enable
R1(config-if)#ipv6 address 2001:DB8:0:1::1/64
R1(config-if)#ipv6 rip 1 enable
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#interface se0/0/0
R1(config-if)#ipv6 enable
R1(config-if)#ipv6 address FC00:0:0:1::1/64
R1(config-if)#ipv6 rip 1 enable
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#exit
R1#write
Building configuration...
[OK]
R1#
Router>enable
Router#config t
Router(config)#hostname R2
R2(config)#ipv6 unicast-routing
R2(config)#int se0/0/0
R2(config-if)#ipv6 enable
R2(config-if)#ipv6 address FC00:0:0:1::2/64
R2(config-if)#ipv6 rip 1 enable
R2(config-if)#clock rate 64000
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#interface se0/1/0
R2(config-if)#ipv6 enable
R2(config-if)#ipv6 address FC00:0:0:2::1/64
R2(config-if)#ipv6 rip 1 enable
R2(config-if)#clock rate 64000
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#interface fa0/0
R2(config-if)#ipv6 enable
R2(config-if)#ipv6 address 2001:DB8:0:2::1/64
R2(config-if)#ipv6 rip 1 enable
R2(config-if)#no shut
R2(config-if)#exit
56
CCNA R&S Bootcamp
R2(config)#exit
R2#write
Building configuration...
[OK]
R2#
Router>enable
Router#config t
Router#hostname R3
Router(config)#ipv6 unicast-routing
R3(config)#int se0/0/0
R3(config-if)#ipv6 enable
R3(config-if)#ipv6 add FC00:0:0:2::2/64
R3(config-if)#ipv6 rip 1 enable
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#int fa0/0
R3(config-if)#ipv6 enable
R3(config-if)#ip
R3(config-if)#ipv6 add 2001:DB8:0:3::1/64
R3(config-if)#ipv6 rip 1 enable
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#exit
R3#
R3#write
Building configuration...
[OK]
R3#
Verifikasi RIPng pada R1 dan PC1. (lakukan sendiri untuk R2, R3, PC2 dan PC3):
R1#show ipv6 route
IPv6 Routing Table - 8 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2001:DB8:0:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:DB8:0:1::1/128 [0/0]
via ::, FastEthernet0/0
R 2001:DB8:0:2::/64 [120/1]
via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0
R 2001:DB8:0:3::/64 [120/2]
via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0
C FC00:0:0:1::/64 [0/0]
via ::, Serial0/0/0
L FC00:0:0:1::1/128 [0/0]
via ::, Serial0/0/0
R FC00:0:0:2::/64 [120/1]
via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0
L FF00::/8 [0/0]
via ::, Null0
57
CCNA R&S Bootcamp
R1#show ipv6 rip database
RIP process "1" local RIB
2001:DB8:0:2::/64, metric 1, installed
Serial0/0/0/FE80::206:2AFF:FE8E:BD6E, expires in 169 sec
2001:DB8:0:3::/64, metric 2, installed
Serial0/0/0/FE80::206:2AFF:FE8E:BD6E, expires in 169 sec
FC00:0:0:2::/64, metric 1, installed
Serial0/0/0/FE80::206:2AFF:FE8E:BD6E, expires in 169 sec
R1#
PC1>ping 2001:DB8:0:2:260:70FF:FED5:8002
Pinging 2001:DB8:0:2:260:70FF:FED5:8002 with 32 bytes of data:
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=281ms TTL=126
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=140ms TTL=126
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=139ms TTL=126
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=143ms TTL=126
Ping statistics for 2001:DB8:0:2:260:70FF:FED5:8002:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 139ms, Maximum = 281ms, Average = 175ms
PC1>ping 2001:DB8:0:3:2E0:A3FF:FE79:8BEB
Pinging 2001:DB8:0:3:2E0:A3FF:FE79:8BEB with 32 bytes of data:
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=297ms TTL=125
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=174ms TTL=125
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=188ms TTL=125
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=174ms TTL=125
Ping statistics for 2001:DB8:0:3:2E0:A3FF:FE79:8BEB:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 174ms, Maximum = 297ms, Average = 208ms
PC1>
Konfigurasi EIGRPv6 (AS:10) pada R1, R2, dan R3:
R1>enable
R1#config t
R1(config)#ipv6 router eigrp 10
R1(config-rtr)#router-id 1.1.1.1
R1(config-rtr)#no shut
R1(config-if)#exit
R1(config)#interface fa0/0
R1(config-if)#no ipv6 rip 1 enable
R1(config-if)#ipv6 eigrp ?
<1-65535> AS number
R1(config-if)#ipv6 eigrp 10
R1(config-if)#exit
R1(config)#interface se0/0/0
R1(config-if)#no ipv6 rip 1 enable
58
CCNA R&S Bootcamp
R1(config-if)#ipv6 eigrp 10
R1(config-if)#exit
R1(config)#exit
R1#write
Building configuration...
[OK]
R1#
R2>enable
R2#config t
R2(config)#ipv6 router eigrp 10
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#no shutdown
R2(config-rtr)#exit
R2(config)#int se0/0/0
R2(config-if)#no ipv6 rip 1 enable
R2(config-if)#ipv6 eigrp 10
R2(config-if)#exit
R2(config)#int se0/1/0
R2(config-if)#no ipv6 rip 1 enable
R2(config-if)#ipv6 eigrp 10
R2(config-if)#exit
R2(config)#int fa0/0
R2(config-if)#no ipv6 rip 1 enable
R2(config-if)#ipv6 eigrp 10
R2(config-if)#exit
R2(config)#exit
R2#write
Building configuration...
[OK]
R2#
R3>enable
R3#config t
R3(config)#ipv6 router eigrp 10
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#no shut
R3(config-rtr)#exit
R3(config)#int se0/0/0
R3(config-if)#no ipv6 rip 1 enable
R3(config-if)#ipv6 eigrp 10
R3(config-if)#exit
R3(config)#int fa0/0
R3(config-if)#no ipv6 rip 1 enable
R3(config-if)#ipv6 eigrp 10
R3(config-if)#exit
R3(config)#exit
R3#write
Building configuration...
[OK]
R3#
59
CCNA R&S Bootcamp
Verifikasi EIGRPv6 (AS:10) pada R1 dan PC1. (Lakukan sendiri untuk R2, R3, PC2 dan
PC3):
R1#show ipv6 route
IPv6 Routing Table - 8 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2001:DB8:0:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:DB8:0:1::1/128 [0/0]
via ::, FastEthernet0/0
D 2001:DB8:0:2::/64 [90/20514560]
via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0
D 2001:DB8:0:3::/64 [90/21026560]
via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0
C FC00:0:0:1::/64 [0/0]
via ::, Serial0/0/0
L FC00:0:0:1::1/128 [0/0]
via ::, Serial0/0/0
D FC00:0:0:2::/64 [90/21024000]
via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0
L FF00::/8 [0/0]
via ::, Null0
R1#show ipv6 eigrp neighbors
IPv6-EIGRP neighbors for process 10
H Address Interface Hold Uptime SRTT RTO Q Seq
(ms) Cnt Num
0 FE80::206:2AFF:FE8E:BD6ESe0/0/0 (sec) 13 00:10:01 40 5
1000 0
R1#show ipv6 eigrp topology
IPv6-EIGRP Topology Table for AS 10/ID(1.1.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 2001:DB8:0:1::/64, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P FC00:0:0:1::/64, 1 successors, FD is 20512000
via Connected, Serial0/0/0
P FC00:0:0:2::/64, 1 successors, FD is 21024000
via FE80::206:2AFF:FE8E:BD6E (21024000/20512000), Serial0/0/0
P 2001:DB8:0:2::/64, 1 successors, FD is 20514560
via FE80::206:2AFF:FE8E:BD6E (20514560/28160), Serial0/0/0
P 2001:DB8:0:3::/64, 1 successors, FD is 21026560
via FE80::206:2AFF:FE8E:BD6E (21026560/20514560), Serial0/0/0
R1#
PC1>ping 2001:DB8:0:2:260:70FF:FED5:8002
Pinging 2001:DB8:0:2:260:70FF:FED5:8002 with 32 bytes of data:
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=141ms TTL=126
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=156ms TTL=126
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=125ms TTL=126
60
CCNA R&S Bootcamp
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=141ms TTL=126
Ping statistics for 2001:DB8:0:2:260:70FF:FED5:8002:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 125ms, Maximum = 156ms, Average = 140ms
PC1>ping 2001:DB8:0:3:2E0:A3FF:FE79:8BEB
Pinging 2001:DB8:0:3:2E0:A3FF:FE79:8BEB with 32 bytes of data:
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=172ms TTL=125
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=172ms TTL=125
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=172ms TTL=125
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=187ms TTL=125
Ping statistics for 2001:DB8:0:3:2E0:A3FF:FE79:8BEB:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 172ms, Maximum = 187ms, Average = 175ms
PC1>
Konfigurasi OSPFv3 (Process-ID:10, Area:0) pada R1, R2, dan R3:
R1#config t
R1(config)#no ipv6 router eigrp 10
R1(config)#ipv6 router ospf 10
R1(config-rtr)#router-id 1.1.1.1
R1(config-rtr)#exit
R1(config)#int fa0/0
R1(config-if)#no ipv6 eigrp 10
R1(config-if)#ipv6 ospf 10 area 0
R1(config-if)#exit
R1(config)#int se0/0/0
R1(config-if)#no ipv6 eigrp 10
R1(config-if)#ipv6 ospf 10 area 0
R1(config-if)#exit
R1(config)#exit
R1#write
Building configuration...
[OK]
R1#
R2>enable
R2#config t
R2(config)#no ipv6 router eigrp 10
R2(config)#ipv6 router ospf 10
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#exit
R2(config)#int se0/0/0
R2(config-if)#no ipv6 eigrp 10
R2(config-if)#ipv6 ospf 10 area 0
R2(config-if)#exit
R2(config)#int fa0/0
61
CCNA R&S Bootcamp
R2(config-if)#no ipv6 eigrp 10
R2(config-if)#ipv6 ospf 10 area 0
R2(config-if)#exit
R2(config)#int se0/1/0
R2(config-if)#no ipv6 eigrp 10
R2(config-if)#ipv6 ospf 10 area 0
R2(config-if)#exit
R2(config)#exit
R2#write
Building configuration...
[OK]
R2#
R3>enable
R3#config t
R3(config)#no ipv6 router eigrp 10
R3(config)#ipv6 router ospf 10
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#exit
R3(config)#int se0/0/0
R3(config-if)#no ipv6 eigrp 10
R3(config-if)#ipv6 ospf 10 area 0
R3(config-if)#exit
R3(config)#int fa0/0
R3(config-if)#no ipv6 eigrp 10
R3(config-if)#ipv6 ospf 10 area 0
R3(config-if)#exit
R3(config)#exit
R3#write
Building configuration...
[OK]
R3#
Verifikasi OSPFv3 (Process-ID:10, Area:0) pada R1 dan PC1, (lakukan sendiri pada R2, R3,
PC2, dan PC3):
R1#show ipv6 route
IPv6 Routing Table - 8 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2001:DB8:0:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:DB8:0:1::1/128 [0/0]
via ::, FastEthernet0/0
O 2001:DB8:0:2::/64 [110/781]
via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0
O 2001:DB8:0:3::/64 [110/1562]
via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0
C FC00:0:0:1::/64 [0/0]
via ::, Serial0/0/0
L FC00:0:0:1::1/128 [0/0]
62
CCNA R&S Bootcamp
via ::, Serial0/0/0
O FC00:0:0:2::/64 [110/781]
via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0
L FF00::/8 [0/0]
via ::, Null0
R1#show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface
2.2.2.2 0 FULL/ - 00:00:31 3 Serial0/0/0
R1#show ipv6 ospf database
OSPF Router with ID (1.1.1.1) (Process ID 10)
Router Link States (Area 0)
ADV Router Age Seq# Link count Bits
1.1.1.1 317
2.2.2.2 114 0x80000002 1
3.3.3.3 114 0x80000003 2
0x80000002 1
Link (Type-8) Link States (Area 0)
ADV Router Age Seq# Link ID
1.1.1.1
1.1.1.1 448 0x80000001 1
2.2.2.2 321 0x80000003 3
317 0x80000002 3
Intra Area Prefix Link States (Area 0)
ADV Router Age Seq# Link ID Ref-lstype Ref-LSID
1.1.1.1 0
2.2.2.2 426 0x80000002 2 0x2001 0
3.3.3.3 223 0x80000003 2 0x2001 0
R1#
92 0x80000002 2 0x2001
PC1>ping 2001:DB8:0:2:260:70FF:FED5:8002
Pinging 2001:DB8:0:2:260:70FF:FED5:8002 with 32 bytes of data:
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=94ms TTL=126
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=141ms TTL=126
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=141ms TTL=126
Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=156ms TTL=126
Ping statistics for 2001:DB8:0:2:260:70FF:FED5:8002:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 94ms, Maximum = 156ms, Average = 133ms
PC>ping 2001:DB8:0:3:2E0:A3FF:FE79:8BEB
Pinging 2001:DB8:0:3:2E0:A3FF:FE79:8BEB with 32 bytes of data:
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=156ms TTL=125
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=172ms TTL=125
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=188ms TTL=125
Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=171ms TTL=125
Ping statistics for 2001:DB8:0:3:2E0:A3FF:FE79:8BEB:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
63
CCNA R&S Bootcamp
Approximate round trip times in milli-seconds:
Minimum = 156ms, Maximum = 188ms, Average = 171ms
PC1>
Lab 14
Wide Area Networks
Hands-on Lab
Pada sesi ini, anda akan mengkonfigurasi beberapa poin dibawah ini
• Konfigurasi dan verifikasi Enkapsulasi PPP menggunakan Autentikasi CHAP
• Konfigurasi dan Verifikasi Frame Relay
Konfigurasi dan verifikasi Enkapsulasi PPP menggunakan Autentikasi CHAP
Pastikan anda telah melakukan konfigurasi OSPF (Process-ID: 10, Area:0)untuk topologi dibawah ini (gunakan step-
by-step pada Hands-on Lab Bab 7):
Perangkat IOS Version Interface IP Address
(Hostname c2600-i-mz.122-28.bin
FastEthernet0/0 192.168.1.1/24
) FastEthernet0/1 -
R1 Serial0/0
FastEthernet0/0 192.168.2.1/30
R2 c2600-i-mz.122-28.bin FastEthernet0/1 192.168.3.1/24
Serial0/0
R3 c2600-i-mz.122-28.bin Serial0/1 -
FastEthernet0/0 192.168.2.2/30
FastEthernet0/1 192.168.4.1/30
Serial0/0 192.168.5.1/24
64 -
192.168.4.2/30
CCNA R&S Bootcamp
SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -
SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -
SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -
PC1 FastEthernet0 192.168.1.254/24
PC2 FastEthernet0 192.168.3.254/24
PC3 FastEthernet0 192.168.5.254/24
R1#config t
R1(config)#username R2 password cisco
R1(config)#interface se0/0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#exit
R1(config)#exit
R1#write
Building configuration...
[OK]
R1#
R2#config t
R2(config)#username R1 password cisco
R2(config)#username R3 password cisco
R2(config)#interface se0/0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#exit
R2(config)#exit
R2#write
Building configuration...
[OK]
R2#
R3#config t
R3(config)#username R2 password cisco
R3(config)#interface se0/0
R3(config-if)#encapsulation ppp
R3(config-if)#ppp authentication chap
R3(config-if)#exit
R3(config)#exit
R3#write
Building configuration...
[OK]
R3#
Verifikasi pada R1, lakukan sendiri pada R2 dan R3:
R1#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
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
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, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
65
CCNA R&S Bootcamp
Gateway of last resort is not set
C 192.168.1.0/24 is directly connected, FastEthernet0/0
192.168.2.0/30 is subnetted, 1 subnets
C 192.168.2.0 is directly connected, Serial0/0
O 192.168.3.0/24 [110/782] via 192.168.2.2, 00:07:28, Serial0/0
192.168.4.0/24 is variably subnetted, 2 subnets, 2 masks
R 192.168.4.0/24 [120/1] via 192.168.2.2, 00:00:06, Serial0/0
O 192.168.4.0/30 [110/1562] via 192.168.2.2, 00:06:34, Serial0/0
O 192.168.5.0/24 [110/1563] via 192.168.2.2, 00:06:23, Serial0/0
R1#show interface se0/0
Serial0/0 is up, line protocol is up (connected)
Hardware is HD64570
Description: "terhubung ke R2 se-0/0"
Internet address is 192.168.2.1/30
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP Open
Open: IPCP, CDPCP
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 96 kilobits/sec
5 minute input rate 30 bits/sec, 0 packets/sec
5 minute output rate 30 bits/sec, 0 packets/sec
26 packets input, 1820 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
22 packets output, 1404 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
R1#
66
CCNA R&S Bootcamp
Konfigurasi dan Verifikasi Frame Relay
Pastikan anda telah melakukan konfigurasi OSPF (Process-ID: 10, Area:0)untuk topologi dibawah ini (gunakan step-
by-step pada Hands-on Lab Bab 7):
Perangkat IOS Version Interface IP Address
(Hostname c2600-i-mz.122-28.bin
FastEthernet0/0 192.168.1.1/24
) FastEthernet0/1 -
R1 Serial0/0 (DLCI: 102)
FastEthernet0/0 192.168.2.1/30
R2 c2600-i-mz.122-28.bin FastEthernet0/1 -
Serial0/0 -
R3 c2600-i-mz.122-28.bin Serial0/1 -
FastEthernet0/0 -
SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1
SW2 c2950-i6q4l2-mz.121-22.EA4.bin Serial0/0 (DLCI: 201) 192.168.5.1/24
SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -
PC1 FastEthernet0/1 – 24
PC2 FastEthernet0/1 – 24 192.168.2.2/30
PC3 FastEthernet0 -
FastEthernet0 -
FastEthernet0 -
192.168.1.254/24
192.168.3.254/24
192.168.5.254/24
FR-Switch#config t
67
CCNA R&S Bootcamp
FR-Switch(config)#frame-relay switching
FR-Switch(config)#interface serial 0/0
FR-Switch(config-if)#clock rate 64000
FR-Switch(config-if)#encapsulation frame-relay
FR-Switch(config-if)#frame-relay intf-type dce
FR-Switch(config-if)#frame-relay route 102 interface serial 0/1 201
FR-Switch(config-if)#no shutdown
FR-Switch(config-if)#exit
FR-Switch(config)#interface serial 0/1
FR-Switch(config-if)#clock rate 64000
FR-Switch(config-if)#encapsulation frame-relay
FR-Switch(config-if)#frame-relay intf-type dce
FR-Switch(config-if)#frame-relay route 201 interface serial 0/0 102
FR-Switch(config-if)#no shutdown
FR-Switch(config-if)#exit
FR-Switch(config)#exit
FR-Switch#write
Building configuration...
[OK]
FR-Switch#
R1#config t
R1(config)#interface serial 0/0
R1(config-if)#encapsulation frame-relay
R1(config-if)#no frame-relay inverse-arp
R1(config-if)#frame-relay map ip 192.168.2.2 102 broadcast
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
R1#write
Building configuration...
[OK]
R1#
R2#config t
R2(config)#interface serial 0/0
R2(config-if)#encapsulation frame-relay
R2(config-if)#no frame-relay inverse-arp
R2(config-if)#frame-relay map ip 192.168.2.1 201 broadcast
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#exit
R2#write
Building configuration...
[OK]
R2#
R1#ping 192.168.2.2
Type escape sequence to abort.
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 = 28/29/32
ms
68
CCNA R&S Bootcamp
R2#ping 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32
ms
69