Langsung ke konten utama

15.6.2 Lab – Configure IPv4 and IPv6 Static and Default Routes

 


1. sambungkan R1,R2,S1,& S2 menggunakan cable Copper Straigh seperti di topology 

2. klik R1 & R2 >CLI


router(config)# hostname R1
router(config)# hostname R2

R1(config)# no ip domain-lookup
R2(config)# no ip domain-lookup

R1(config)# enable secret class
R2(config)# enable secret class

R1(config)# line console 0
R1(config-line)# password cisco
R1(config-line)# login

R2(config)# line console 0
R2(config-line)# password cisco
R2(config-line)# login

R1(config)# line vty 0 4
R1(config-line)# password cisco
R1(config-line)# login

R2(config)# line vty 0 4
R2(config-line)# password cisco
R2(config-line)# login

R1(config)# service password-encryption
R2(config)# service password-encryption

R1(config)# banner motd $ Authorized Users Only! $
R2(config)# banner motd $ Authorized Users Only! $

R1(config)# exit
R1# copy running-config startup-config

R2(config)# exit
R2# copy running-config startup-config

3. klik S1 & S2 >CLI 

switch(config)# hostname S1
switch(config)# hostname S2

S1(config)# no ip domain-lookup
S2(config)# no ip domain-lookup

S1(config)# enable secret class
S2(config)# enable secret class

S1(config)# line console 0
S1(config-line)# password cisco
S1(config-line)# login

S2(config)# line console 0
S2(config-line)# password cisco
S2(config-line)# login

S1(config)# line vty 0 15
S1(config-line)# password cisco
S1(config-line)# login

S2(config)# line vty 0 15
S2(config-line)# password cisco
S2(config-line)# login

S1(config)# service password-encryption
S2(config)# service password-encryption

S1(config)# banner motd $ Authorized Users Only! $
S2(config)# banner motd $ Authorized Users Only! $

S1(config)# interface range f0/1-3, f0/6-24, g0/1-2
S1(config-if-range)# shutdown

S2(config)# interface range f0/1-3, f0/6-24, g0/1-2
S2(config-if-range)# shutdown

S1(config-if-range)# exit
S1# copy running-config startup-config

S2(config-if-range)# exit
S2# copy running-config startup-config

4. klik R1 & R2 >CLI

R1(config)# ipv6 unicast-routing
R2(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(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

R1# show ip interface brief
R2# show ip interface brief

R1# show ipv6 interface brief
R1# copy running-config startup-config

R2# copy running-config startup-config

R1#ping 192.168.1.2
R1(config)# ip route 10.2.0.0 255.255.255.0 192.168.1.2
R1#ping 172.16.1.2
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
R1# traceroute 10.2.0.1
R1# traceroute 209.165.200.193
R1# config terminal
R1(config)# interface g0/0/0
R1(config-if)# shutdown
R1(config-if)# end
R1# show ip route static
R1# traceroute 209.165.200.193
R1# config terminal
R1(config)# interface g0/0/0
R1(config-if)# no shutdown
R1(config-if)# end

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

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

R2# show ipv6 route
R2# traceroute 2001:db8:acad:10::1
R2# traceroute 2001:db8:acad:209::1
R2# config terminal
R2(config)# interface g0/0/0
R2(config-if)# shutdown
R2(config-if)# end
R2# show ipv6 route static
R2# traceroute 2001:db8:acad:209::1


link yt:

Komentar

Postingan populer dari blog ini

1.1.7-packet-tracer---basic-switch-configuration---physical-mode

 1.1.7-packet-tracer---basic-switch-configuration---physical-mode Halaww manteman perkenalkan nama saya Bunga Clara dari kelas XI TJKT, disini saya mau berbagi cara mengconfig  1.1.7-packet-tracer---basic-switch-configuration---physical-mode > sambungkan S1 f0/6 dengan Pc F0 menggunakan cable Copper Straight-through  > sambungkan S1 Console dengan Pc RS232 menggunakan cable Console Langkah-langkah: 1. klik pc> ip configuration> masukan ip address pc   ipv4 address:192.168.1.10 subnet:255.255.255.0 default gateway:192.168.1.1 ipv6 address:2001:db8:acad:1::10/64 default gateway:fe80::1 2. masuk ke terminal pc>ketikan perintah berikut: enable conf t no ip domain lookup h S1 service password-encryption enable secret class banner motd #Unauthorized access is strictly prohibited .# int vlan 99 ip address 192.168.1.2 255.255.255.0 ipv6 address 2001:db8:acad:1::2/64 ipv6 address fe80::2 link-local ip default-gateway 192.168.1.1 note: jika completion nya tidak ...

Menginstal dan Mengconfig mail server (postfix dan dovecot)

Mail Server  Pengertian:      Mail server adalah server atau layanan komputer yang digunakan untuk mengirim, menerima, menyimpan, dan mengelola email antar pengguna dalam jaringan lokal atau internet. 1. Menginstal postfix dan dovecot. Gambar 1.1 2. Mengaktifkan dan Menjalankan Postfix Dovecot. Gambar 1.2 3. Mengetikan nano /etc/postfix/main.cf untuk mengubah isi filenya. Gambar 1.3 4. Mengubah hostname,domain, dan menambahkan seperti di tampilkan pada Gambar 1.4 Gambar 1.4 5. Menambahkan mydestination menggunakan domain. Gambar 1.5 6. Mengubah inet interface dan protocols. Gambar 1.6 7. Membuat user baru seperti yang di tampilkan pada Gambar 1.7 untuk akun yang mengirim dan menerikan pesan email. Gambar 1.7 8. Membuka port yang di butuhkan Mail server seperti yang di tampilkan pada Gambar 1.8 agar layanan server tetap terjaga keamanannya dari gangguan pihak luar. Gambar 1..8 9. Menginstal aplikasi thunderbird.  https://www.thunderbird.net/en-US/desktop/ Gambar ...

Menginstal MariaDB versi 10.6.22 Red Hat Enterprise Linux (RHEL 9)

  1. Mengetikan perintah seperti yang di tampilkan Gambar 1.1 Gambar 1.1 2. Mengetikan isi file  Gambar 1.2 3. Menginstal Mariadb Gambar 1.3 4.  Mengaktifkan dan Memulai Mariadb Gambar 1.4 Gambar 1.5