Sumber Daya yang Dibutuhkan
• 2 Router (Cisco 4221 dengan Cisco IOS XE Rilis 16.9.4 image universal atau sebanding)
• 2 Switch (Cisco 2960 dengan Cisco IOS Release 15.2(2) lanbasek9 image atau sebanding)
• 1 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
1.Pertama-tama tambahkan 2 Router, 2 Switch, dan 2 PC. Hubungkan Router, Switch, dan PC sesusai dengan topologi diatas menggunakan kabel Copper Straigth Trough. Setelah itu Konfigurasi dasar Router 1 terlebih dahulu, lalu lanjut dengan Router 2 lalu Switch.
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
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
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# copy running-config startup-config
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# copy running-config startup-config
2.Lalu kembali konfigurasi Router 1 jika sudah lanjut ke Router 2
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
R1# copy running-config startup-config
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
R2# copy running-config startup-config
3.Kembali ke router 1 dan jika sudah ke router 2
R1(config)# ip route 10.2.0.0 255.255.255.0 192.168.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# traceroute 10.2.0.1d
R1# traceroute 209.165.200.193
R1# config terminal
R1(config)# interface g0/0/0
R1(config-if)# shutdown
R1(config-if)# end
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# 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# traceroute 2001:db8:acad:209::1


Komentar
Posting Komentar