LAPORAN PRAKTIKUM CISCO PACKET TREACER 15.6.2 - Configure IPv4 and IPv6 Static and Default Routers

NAMA : PUPUT ANGGRAENI

KELAS : XI TJKT B 


Pengertian cisco packet treacer

Pengertian Packet Tracer adalah simulator alat-alat jaringan Cisco yang sering digunakan sebagai media pembelajaran dan pelatihan, dan juga dalam bidang penelitian simulasi jaringan komputer. Program ini dibuat oleh Cisco Systems dan disediakan gratis untuk fakultas, siswa dan alumni yang telah berpartisipasi di Cisco Networking Academy. Tujuan utama Packet Tracer adalah untuk menyediakan alat bagi siswa dan pengajar agar dapat memahami prinsip jaringan komputer dan juga membangun skill di bidang alat-alat jaringan Cisco.






Tujuan

Bagian 1: Membangun Jaringan dan Mengonfigurasi Pengaturan Perangkat Dasar

Bagian 2: Konfigurasikan dan verifikasi pengalamatan IP dan IPv6 pada R1 dan R2

Bagian 3: Konfigurasikan dan verifikasi perutean statis dan default untuk IPv4 di R1 dan R2

Bagian 4: Konfigurasikan dan verifikasi perutean statis dan default untuk IPv6 di R1 dan R2


Sumber Daya yang Dibutuhkan

 2 Router (Cisco 4221 dengan Cisco IOS XE Release 16.9.4 universal image atau sebanding)

 2 Switch (Cisco 2960 dengan Cisco IOS Release 15.2(2) lanbasek9 image atau sebanding) - Opsional

 2 PC (Windows dengan program emulasi terminal, seperti Tera Term)

 Kabel konsol untuk mengkonfigurasi perangkat Cisco IOS melalui port konsol

 Kabel Ethernet seperti yang ditunjukkan pada topologi
instruksi


instruksi

Bagian 1: Membangun Jaringan dan Mengonfigurasi Pengaturan Perangkat Dasar

Langkah 1: Kabel jaringan seperti yang ditunjukkan pada topologi.



Langkah 2: Konfigurasikan pengaturan dasar untuk setiap router.

perintah :

R1
router(config)# hostname R1
R1(config)# no ip domain-lookup
R1(config)# enable secret class
R1(config)# line console 0
R1(config-line)# password cisco
R1(config-line)# login
R1(config)# line vty 0 4
R1(config-line)# password cisco
R1(config-line)# login
R1(config)# service password-encryption
R1(config)# banner motd #Authorized Users Only!#
R1(config)# exit
R1# copy running-config startup-config

R2
router(config)# hostname R2
R2(config)# no ip domain-lookup
R2(config)# enable secret class
R2(config)# line console 0
R2(config-line)# password cisco
R2(config-line)# login
R2(config)# line vty 0 4
R2(config-line)# password cisco
R2(config-line)# login
R2(config)# service password-encryption
R2(config)# banner motd #Authorized Users Only!#
R2(config)# exit
R2# copy running-config startup-config


Langkah 3: Konfigurasikan pengaturan dasar untuk setiap sakelar.

perintah :

S1
switch(config)# hostname S1
S1(config)# no ip domain-lookup
S1(config)# enable secret class
S1(config)# line console 0
S1(config-line)# password cisco
S1(config-line)# login
S1(config)# line vty 0 15
S1(config-line)# password cisco
S1(config-line)# login
S1(config)# service password-encryption
S1(config)# banner motd #Authorized Users Only!#
S1(config)# interface range f0/1-3, f0/6-24, g0/1-2
S1(config-if-range)# shutdown
S1(config-if-range)# exit
S1# copy running-config startup-config

S2
switch(config)# hostname S2
S2(config)# no ip domain-lookup
S2(config)# enable secret class
S2(config)# line console 0
S2(config-line)# password cisco
S2(config-line)# login
S2(config)# line vty 0 15
S2(config-line)# password cisco
S2(config-line)# login
S2(config)# service password-encryption
S2(config)# banner motd #Authorized Users Only!#
S2(config)# interface range f0/1-3, f0/6-24, g0/1-2
S2(config-if-range)# shutdown
S2(config-if-range)# exit
S2# copy running-config startup-config

Bagian 2: Konfigurasikan dan verifikasi pengalamatan IPv4 dan IPv6 pada R1 dan R2

Langkah 1: Konfigurasikan alamat IP untuk kedua router.

perintah :

R1
R1(config)# ipv6 unicast-routing
R1(config)# interface g0/0/0
R1(config-if)# ip address 172.16.1.1 255.255.255.0
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:2::1/64
R1(config-if)# no shutdown
R1(config-if)# interface g0/0/1
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:1::1/64
R1(config-if)# no shutdown
R1(config-if)# interface lo1
R1(config-if)# ip address 10.1.0.1 255.255.255.0
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:10::1/64
R1(config-if)# no shutdown
R1(config-if)# interface lo2
R1(config-if)# ip address 209.165.200.225 255.255.255.224
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:209::1/64
R1(config-if)# no shutdown

R2
R2(config)# ipv6 unicast-routing
R2(config)# interface g0/0/0
R2(config-if)# ip address 172.16.1.2 255.255.255.0
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# ipv6 address 2001:db8:acad:2::2/64
R2(config-if)# no shutdown
R2(config-if)# interface g0/0/1
R2(config-if)# ip address 192.168.1.2 255.255.255.0
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# ipv6 address 2001:db8:acad:1::2/64
R2(config-if)# no shutdown
R2(config-if)# interface lo1
R2(config-if)# ip address 10.2.0.1 255.255.255.0
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# ipv6 address 2001:db8:acad:11::2/64
R2(config-if)# no shutdown
R2(config-if)# interface lo2
R2(config-if)# ip address 209.165.200.193 255.255.255.224
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# ipv6 address 2001:db8:acad:210::1/64
R2(config-if)# no shutdown


Langkah 2: Verifikasi pengalamatan

R1# show ip interface brief

Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0   172.16.1.1      YES unset  up                    up
GigabitEthernet0/0/1   192.168.1.1     YES manual up                    up
Serial0/1/0            unassigned      YES unset  up                    up
Serial0/1/1            unassigned      YES manual up                    up
Loopback1              10.1.0.1        YES manual up                    up
Loopback2              209.165.200.225 YES manual up                    up
f

R2# show ip interface brief

Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0   172.16.1.2      YES manual up                    up
GigabitEthernet0/0/1   192.168.1.2     YES manual up                    up
GigabitEthernet0       unassigned      YES unset  down                  down
Loopback1              10.2.0.1        YES manual up                    up
Loopback2              209.165.200.193 YES manual up                    up



R1# show ip interface brief

Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0   172.16.1.1      YES unset  up                    up
GigabitEthernet0/0/1   192.168.1.1     YES manual up                    up
Serial0/1/0            unassigned      YES unset  up                    up
Serial0/1/1            unassigned      YES manual up                    up
Loopback1              10.1.0.1        YES manual up                    up
Loopback2              209.165.200.225 YES manual up                    up
f
R2# show ip interface brie
Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0   172.16.1.2      YES manual up                    up
GigabitEthernet0/0/1   192.168.1.2     YES manual up                    up
GigabitEthernet0       unassigned      YES unset  down                  down
Loopback1              10.2.0.1        YES manual up                    up
Loopback2              209.165.200.193 YES manual up

R1# show ipv6 interface brief

GigabitEthernet0/0/0   [up/up]
    FE80::1
    2001:DB8:ACAD:2::1
GigabitEthernet0/0/1   [up/up]
    FE80::1
    2001:DB8:ACAD:1::1
Loopback1              [up/up]
    FE80::1
    2001:DB8:ACAD:10::1
Loopback2              [up/up]
    FE80::1
    2001:DB8:ACAD:209::1

R2# show ipv6 interface brief
GigabitEthernet0/0/0   [up/up]
    FE80::2
    2001:DB8:ACAD:2::2
GigabitEthernet0/0/1   [up/up]
    FE80::2
    2001:DB8:ACAD:1::2
Loopback1              [up/up]
    FE80::2
    2001:DB8:ACAD:11::2
Loopback2              [up/up]
    FE80::2
    2001:DB8:ACAD:210::1
                   

Langkah 3: Simpan konfigurasi Anda

perintah :

R1
R1# copy running-config startup-config

R2
R2# copy running-config startup-config


Bagian 3: Konfigurasikan dan verifikasi statis dan default untuk IPv4 di R1 dan R2

Langkah 1: Pada R1, konfigurasikan rute statis ke jaringan Loopback1 R2, menggunakan alamat G0/0/1 R2 sebagai hop berikutnya.

perintah :

R1#ping 192.168.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/1/5 ms

R1(config)# ip route 10.2.0.0 255.255.255.0 192.168.1.2


Langkah 2: Pada R1, konfigurasikan rute default statis melalui alamat G0/0/0 R2.

perintah : 

R1#ping 172.16.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/0 ms
R1(config)# ip route 0.0.0.0 0.0.0.0 172.16.1.2
R1(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.2 80
R2(config)# ip route 0.0.0.0 0.0.0.0 172.16.1.1

R1# show ip route

Codes: L - local, C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override, p - overrides from PfR

Gateway of last resort is 172.16.1.2 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 172.16.1.2
      10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C        10.1.0.0/24 is directly connected, Loopback1
L        10.1.0.1/32 is directly connected, Loopback1
S        10.2.0.0/24 [1/0] via 192.168.1.2
      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.16.1.0/24 is directly connected, GigabitEthernet0/0/0
L        172.16.1.1/32 is directly connected, GigabitEthernet0/0/0
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/24 is directly connected, GigabitEthernet0/0/1
L        192.168.1.1/32 is directly connected, GigabitEthernet0/0/1
      209.165.200.0/24 is variably subnetted, 2 subnets, 2 masks
C        209.165.200.224/27 is directly connected, Loopback2
L        209.165.200.225/32 is directly connected, Loopback2

R1# traceroute 10.2.0.1

Type escape sequence to abort.
Tracing the route to 10.2.0.1
VRF info: (vrf in name/id, vrf out name/id)
  1 192.168.1.2 1 msec * 2 msec
R1# traceroute 209.165.200.193
Type escape sequence to abort.
Tracing the route to 209.165.200.193
VRF info: (vrf in name/id, vrf out name/id)
  1 172.16.1.2 2 msec * 3 msec

R1# config terminal
R1(config)# interface g0/0/0
R1(config-if)# shutdown
R1(config-if)# end

R1# show ip route static
Codes: L - local, C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP

S*    0.0.0.0/0 [80/0] via 192.168.1.2
      10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
S        10.2.0.0/24 [1/0] via 192.168.1.2

R1# traceroute 209.165.200.193

Type escape sequence to abort.
Tracing the route to 209.165.200.193
VRF info: (vrf in name/id, vrf out name/id)
  1 192.168.1.2 1 msec * 1 msec

R1# config terminal
R1(config)# interface g0/0/0
R1(config-if)# no shutdown
R1(config-if)# end

Bagian 4: Konfigurasikan dan verifikasi perutean statis dan default untuk IPv6 di R1 dan R2

Langkah 1: Pada R2, konfigurasikan rute statis ke jaringan Loopback1 R1, menggunakan alamat G0/0/1 R1 sebagai hop berikutnya.

perintah :

R2(config)# ipv6 route 2001:db8:acad:10::/64 2001:db8:acad:1::1

Langkah 2: Pada R2, konfigurasikan rute default statis melalui alamat G0/0/0 R1.

perintah :

R2(config)# ipv6 route ::/0 2001:db8:acad:2::1

Langkah 3: Pada R2, konfigurasikan rute default statis mengambang melalui alamat G0/0/1 R1.

perintah :

R2(config)# ipv6 route ::/0 2001:db8:acad:1::1 80


Langkah 4: Pada R1, konfigurasikan rute default statis melalui alamat G0/0/0 R1.

perintah : 

R1(config)# ipv6 route ::/0 2001:db8:acad:2::2


R2# show ipv6 route

IPv6 Routing Table - default - 11 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
       NDr - Redirect, RL - RPL, O - OSPF Intra, OI - OSPF Inter
       OE1 - OSPF ext 1, OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1
       ON2 - OSPF NSSA ext 2, a - Application
S   ::/0 [1/0]
     via 2001:DB8:ACAD:2::1
C   2001:DB8:ACAD:1::/64 [0/0]
     via GigabitEthernet0/0/1, directly connected
L   2001:DB8:ACAD:1::2/128 [0/0]
     via GigabitEthernet0/0/1, receive
C   2001:DB8:ACAD:2::/64 [0/0]
     via GigabitEthernet0/0/0, directly connected
L   2001:DB8:ACAD:2::2/128 [0/0]
     via GigabitEthernet0/0/0, receive
S   2001:DB8:ACAD:10::/64 [1/0]
     via 2001:DB8:ACAD:1::1
C   2001:DB8:ACAD:11::/64 [0/0]
     via Loopback1, directly connected
L   2001:DB8:ACAD:11::1/128 [0/0]
     via Loopback1, receive
C   2001:DB8:ACAD:210::/64 [0/0]
     via Loopback2, directly connected
L   2001:DB8:ACAD:210::1/128 [0/0]
     via Loopback2, receive
L   FF00::/8 [0/0]
     via Null0, receive

R2# traceroute 2001:db8:acad:10::1

Type escape sequence to abort.
Tracing the route to 2001:DB8:ACAD:10::1

  1 2001:DB8:ACAD:1::1 6 msec 1 msec 1 msec

R2# traceroute 2001:db8:acad:209::1
Type escape sequence to abort.
Tracing the route to 2001:DB8:ACAD:209::1

  1 2001:DB8:ACAD:2::1 1 msec 2 msec 1 msec

R2# config terminal
R2(config)# interface g0/0/0
R2(config-if)# shutdown
R2(config-if)# end

R2# show ipv6 route static

Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       NDr - Redirect, RL - RPL, O - OSPF Intra, OI - OSPF Inter
       OE1 - OSPF ext 1, OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1
       ON2 - OSPF NSSA ext 2, a - Application
S   ::/0 [80/0]
     via 2001:DB8:ACAD:1::1
S   2001:DB8:ACAD:10::/64 [1/0]
     via 2001:DB8:ACAD:1::1 

R2# traceroute 2001:db8:acad:209::1
Type escape sequence to abort.
Tracing the route to 2001:DB8:ACAD:209::1

  1 2001:DB8:ACAD:1::1 2 msec 1 msec 1 msec


Router R1

enable 
configure terminal 
hostname R1
no ip domain-lookup 
enable secret class
line console 0
password cisco
login
line vty 0 4
password cisco
login
service password-encryption
banner motd $ Authorized Users Only! $

ipv6 unicast-routing
interface g0/0/0
ip address 172.16.1.1 255.255.255.0
ipv6 address fe80::1 link-local
ipv6 address 2001:db8:acad:2::1/64
no shutdown
interface g0/0/1
ip address 192.168.1.1 255.255.255.0
ipv6 address fe80::1 link-local
ipv6 address 2001:db8:acad:1::1/64
no shutdown
interface lo1
ip address 10.1.0.1 255.255.255.0
ipv6 address fe80::1 link-local
ipv6 address 2001:db8:acad:10::1/64
no shutdown
interface lo2
ip address 209.165.200.225 255.255.255.224
ipv6 address fe80::1 link-local
ipv6 address 2001:db8:acad:209::1/64
no shutdown

ip route 10.2.0.0 255.255.255.0 192.168.1.2
ip route 0.0.0.0 0.0.0.0 172.16.1.2
ip route 0.0.0.0 0.0.0.0 192.168.1.2 80
ipv6 route ::/0 2001:db8:acad:2::2

end
copy running-config startup-config

Router R2

enable 
configure terminal 
hostname R2
no ip domain-lookup 
enable secret class
line console 0
password cisco
login
line vty 0 4
password cisco
login
service password-encryption
banner motd $ Authorized Users Only! $

ipv6 unicast-routing
interface g0/0/0
ip address 172.16.1.2 255.255.255.0
ipv6 address fe80::2 link-local
ipv6 address 2001:db8:acad:2::2/64
no shutdown
interface g0/0/1
ip address 192.168.1.2 255.255.255.0
ipv6 address fe80::2 link-local
ipv6 address 2001:db8:acad:1::2/64
no shutdown
interface lo1
ip address 10.2.0.1 255.255.255.0
ipv6 address fe80::2 link-local
ipv6 address 2001:db8:acad:11::2/64
no shutdown
interface lo2
ip address 209.165.200.193 255.255.255.224
ipv6 address fe80::2 link-local
ipv6 address 2001:db8:acad:210::1/64
no shutdown

ip route 0.0.0.0 0.0.0.0 172.16.1.1
ipv6 route 2001:db8:acad:10::/64 2001:db8:acad:1::1
ipv6 route ::/0 2001:db8:acad:2::1
ipv6 route ::/0 2001:db8:acad:1::1 80
end

copy running-config startup-config

Switch S1

enable 
configure terminal 
hostname S1
no ip domain-lookup 
enable secret class
line console 0
password cisco
login
line vty 0 15
password cisco
login
service password-encryption
interface range f0/1-3, f0/6-24, g0/1-2
shutdown 
end
copy running-config startup-config

Switch S2

enable 
configure terminal 
hostname S2
no ip domain-lookup 
enable secret class
line console 0
password cisco
login
line vty 0 15
password cisco
login
service password-encryption
interface range f0/1-3, f0/6-24, g0/1-2
shutdown 
end
copy running-config startup-config


LINK VIDIO 

PART 1 : https://drive.google.com/file/d/1kouAp4urQhxCL9xm8AMbgsYwf5MCQAdd/view?usp=sharing

PART 2 : https://drive.google.com/file/d/1_QnoXBkEWUTJkDIDYLzPQd2mNximzZUv/view?usp=sharing

PART 3 : https://drive.google.com/file/d/1oVFrxuwcByClIdGtE4aS1sBQTL5Vuarn/view?usp=sharing


Komentar

Postingan Populer