[Share] Cisco Routing, Switching, And NAT (UPDATE 2)
#1
Ngepost ah  hehehhehe
semoga bisa bermanfaat .. tapi masih tahap pembelajaran juga ini ane .. 
oh iya nanti dulu ya, masih mau dibuat tutorialnya .. tapi ini topologinya .. semoga bisa dimengerti :v


[Image: Capture.PNG]
  • Kita Setting Router Germany (Routing OSPF dan RIP)
Spoiler! :

Router>enabl

Router>enable
Router#conf ter
Router#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname GERMANY
GERMANY(config)#inter
GERMANY(config)#interface se
GERMANY(config)#interface serial 0/0/0
GERMANY(config-if)#ip add 10.10.10.1 255.255.255.252
GERMANY(config-if)#desc KONEKSI SERIAL KE ROUTER INDONESIA
GERMANY(config-if)#no shu
GERMANY(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
GERMANY(config-if)#exit
GERMANY(config)#int ser
GERMANY(config)#int serial 0/0/1
GERMANY(config-if)#ip add 10.10.11.1 255.255.255.252
GERMANY(config-if)#desc KONEKSI SERIAL KE ROUTER ENGLAND
GERMANY(config-if)#no shu
GERMANY(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
GERMANY(config-if)#clo
GERMANY(config-if)#clock ra
GERMANY(config-if)#clock rate 56000
GERMANY(config-if)#exit
GERMANY(config)#int se
GERMANY(config)#int serial 0/0/0
GERMANY(config-if)#clock rate 56000
GERMANY(config-if)#exit
GERMANY(config)#do wr
Building configuration...
[OK]
GERMANY(config)#rout
GERMANY(config)#router rip
GERMANY(config-router)#ver
GERMANY(config-router)#version 2
GERMANY(config-router)#net 10.10.10.0
GERMANY(config-router)#exit
GERMANY(config)#router
GERMANY(config)#router os
GERMANY(config)#router ospf 1
GERMANY(config-router)#net 10.10.11.0 0.0.0.3 area 0
GERMANY(config-router)#exit
GERMANY(config)#do wr
Building configuration...
[OK]
GERMANY(config)#
GERMANY#
%SYS-5-CONFIG_I: Configured from console by console

GERMANY#


  • Kita Setting Router INA (Routing RIP dan EIGRP)
Spoiler! :

Router>en

Router>enable
Router#conf te
Router#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname INA
INA(config)#int ser
INA(config)#int serial 0/0/0
INA(config-if)#ip add 10.10.10.2 255.255.255.252
INA(config-if)#desc KONEKSI SERIAL KE ROUTER GERMANY
INA(config-if)#no shu
INA(config-if)#no shutdown

INA(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

INA(config-if)#exit
INA(config)#inter
INA(config)#interface ser
INA(config)#interface serial 0/0/1
INA(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

INA(config-if)#ip add 10.10.10.6 255.255.255.252
INA(config-if)#clock rate 56000
INA(config-if)#desc KONEKSI SERIAL KE ROUTER ENGLAND
INA(config-if)#no shu
INA(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
INA(config-if)#exit
INA(config)#router rip
INA(config-router)#ver
INA(config-router)#version 2
INA(config-router)#net 10.10.10.0
INA(config-router)#exit
INA(config)#do wr
Building configuration...
[OK]
INA(config)#do ping 10.10.10.1


Jam Kantor sudah manggil2 buat pulang, besok lagi ya :v

=)) kita lanjutkan hari ini hehe
  • Sekarang setting router JAPAN (Routing OSPF 1 Area 0 dan OSPF 1 Area 1)
Spoiler! :

Router>en

Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname JAPAN
JAPAN(config)#int se
JAPAN(config)#int serial 0/0/0
JAPAN(config-if)#ip add 10.10.10.2 255.255.255.252
JAPAN(config-if)#DESC KONEKSI SERIAL KE ROUTER USA
JAPAN(config-if)#no sh
JAPAN(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
JAPAN(config-if)#exit
JAPAN(config)#int ser
JAPAN(config)#int serial 0/0/1
JAPAN(config-if)#ip add 10.10.10.14 255.255.255.252
JAPAN(config-if)#no shu
JAPAN(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
JAPAN(config-if)#clo
JAPAN(config-if)#clock ra
JAPAN(config-if)#clock rate 56000
JAPAN(config-if)#clock rate 56000
JAPAN(config-if)#desc KONEKSI SERIAL KE ROUTER ENGLAND
JAPAN(config-if)#no shu
JAPAN(config-if)#no shutdown
JAPAN(config-if)#exit
JAPAN(config)#int se
JAPAN(config)#int serial 0/0/0
JAPAN(config-if)#ip add 10.10.12.1 255.255.255.252
JAPAN(config-if)#exit
JAPAN(config)#do wr
Building configuration...
[OK]
JAPAN(config)#router os
JAPAN(config)#router ospf 1
JAPAN(config-router)#net 10.10.12.0 0.0.0.3 area 1
JAPAN(config-router)#exit
JAPAN(config)#rou
JAPAN(config)#router os
JAPAN(config)#router ospf 1
JAPAN(config-router)#net
JAPAN(config-router)#network 10.10.10.12 0.0.0.3 area 0
JAPAN(config-router)#exit
JAPAN(config)#do wr
Building configuration...
[OK]
JAPAN(config)#

  • Setting Router USA (Routing Ospf 1 Area 1 dan Eigrp)
Spoiler! :

Router>ena

Router>enable
Router#con
Router#conf t
Router#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname USA
USA(config)#int se
USA(config)#int serial 0/0/0
USA(config-if)#ip add 10.10.10.10 255.255.255.252
USA(config-if)#no shu
USA(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
USA(config-if)#DESC KONEKSI SERIAL KE ROUTER ENGLAND
USA(config-if)#exit
USA(config)#int ser
USA(config)#int serial 0/0/1
USA(config-if)#ip add 10.10.12.2 255.255.255.252
USA(config-if)#no shu
USA(config-if)#no shutdown

USA(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

USA(config-if)#desc KONK
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to upEKSI SERIAL KE ROUTER JAPAN
USA(config-if)#clock rate 56000
USA(config-if)#exit
USA(config)#do wr
Building configuration...
[OK]
USA(config)#router ospf 1
USA(config-router)#net 10.10.12.0 0.0.0.3 area 1
USA(config-router)#exit
00:22:04: %OSPF-5-ADJCHG: Process 1, Nbr 10.10.12.2 on Serial0/0/1 from LOADING to FULL, Loading Done

USA(config)#router ei
USA(config)#router eigrp 1
USA(config-router)#net 10.10.10.8 0.0.0.3 ?
<cr>
USA(config-router)#net 10.10.10.8 0.0.0.3
USA(config-router)#no aut
USA(config-router)#no auto-summary
USA(config-router)#exit
USA(config)#do wr
Building configuration...
[OK]
USA(config)#

  • Nah saatnya kita setting router yang banyak kabel n interfacenya :v ENGLAND (ROUTING EIGRP dan OSPF)
Spoiler! :

Router>en

Router>enable
Router#conf te
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ENGLAND
ENGLAND(config)#int seri
ENGLAND(config)#int serial 0/0/0
ENGLAND(config-if)#ip add 10.10.10.5 255.255.255.252
ENGLAND(config-if)#no shu
ENGLAND(config-if)#no shutdown

ENGLAND(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

ENGLAND(config-if)#de
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
sc KONEKSI SERIAL KE ROUTER INA
ENGLAND(config-if)#EXIT
ENGLAND(config)#INT SER
ENGLAND(config)#INT SERial 0/0/1
ENGLAND(config-if)#IP ADD 10.10.10.9 255.255.255.252
ENGLAND(config-if)#CLOCK RATE 56000
ENGLAND(config-if)#DESC KONEKSI SERIAL KE ROUTER USA
ENGLAND(config-if)#NO SHU
ENGLAND(config-if)#NO SHUtdown

ENGLAND(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

ENGLAND(config-if)#EXIT
ENGLAND(config)#INT SE
ENGLAND(config)#INT SErial
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
0/1/0
ENGLAND(config-if)#IP ADD 10.10.10.13 255.255.255.252
ENGLAND(config-if)#NO SHU
ENGLAND(config-if)#NO SHUtdown

ENGLAND(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
DESC KONEKSI SERIAL KE ROUTER
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
JAPAN
ENGLAND(config-if)#EXIT
ENGLAND(config)#DO WR
Building configuration...
[OK]
ENGLAND(config)#INT SE
ENGLAND(config)#INT SErial 0/1/1
ENGLAND(config-if)#IP ADD 10.10.11.2 255.255.255.252
ENGLAND(config-if)#NO SHU
ENGLAND(config-if)#NO SHUtdown

ENGLAND(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/1, changed state to up

ENGLAND(config-if)#DESC KONEKSI
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/1, changed state to up
SERIAL KE ROUTER GERMANY
ENGLAND(config-if)#EXIT
ENGLAND(config)#DO WR
Building configuration...
[OK]
ENGLAND(config)#router ospf 1
ENGLAND(config-router)#net 10.10.11.0 0.0.0.3 area 0
ENGLAND(config-router)#net 10.10
00:30:44: %OSPF-5-ADJCHG: Process 1, Nbr 10.10.11.1 on Serial0/1/1 from LOADING to FULL, Loading Done
.10.12 0.0.0.3 area 0
ENGLAND(config-router)#exit
ENGLAND(config)#do wr
00:31:18: %OSPF-5-ADJCHG: Process 1, Nbr 10.10.12.2 on Serial0/1/0 from LOADING to FULL, Loading Done

Building configuration...
[OK]
ENGLAND(config)#router eigrp 1
ENGLAND(config-router)#net 10.10.10.4 0.0.0.3
ENGLAND(config-router)#no aut
ENGLAND(config-router)#no auto-summary
ENGLAND(config-router)#net 10.10.10.8 0.0.0.3
ENGLAND(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 10.10.10.10 (Serial0/0/1) is up: new adjacency
exit
ENGLAND(config)#do wr
Building configuration...
[OK]
ENGLAND(config)#


Nah sampai disini routing untuk tiap router tidak akan bisa berjalan dengan baik, Kecuali Routing OSPF 1 Area 0 dan OSPF 1 Area 1 itu sudah terhubung dengan baik. Disini Router germany sudah bisa ngeping ke Router England, Japan dan USA -> Tapi Melalui Routing OSPF, Jadi misalkan GERMANY ingin ping ke USA melalui Router INA, Bakal RTO :v .. Bahaha, Jangankan ke USA Pakde . ke ENGLAND melalui INA aja g bakal bisa :v, Baik Saatnya troubleshooting konfigurasi heheheheheh 

Cek Sekarang, awal kita cek adalah Router apa ???
  • Germany Again
Ketik Perintah ini 
Spoiler! :

show running-config

  • Kita Cek disitu apa yang tidak ada ?? hehhehe 
Spoiler! :

GERMANY#sh running-config

Building configuration...

Current configuration : 1117 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname GERMANY
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO1941/K9 sn FTX15240WM0
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
description KONEKSI SERIAL KE ROUTER INDONESIA
ip address 10.10.10.1 255.255.255.252
clock rate 56000
!
interface Serial0/0/1
description KONEKSI SERIAL KE ROUTER ENGLAND
ip address 10.10.11.1 255.255.255.252
clock rate 56000
!
interface Serial0/1/0
no ip address
clock rate 2000000
shutdown
!
interface Serial0/1/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 10.10.11.0 0.0.0.3 area 0
!
router rip
version 2
network 10.0.0.0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end



  • Oh I Know pak guru. Belum ada hubungan Antara Routing OSPF dan Routing RIP nya
  • Nah benar sekali, sekarang mari kita coba hubungkan :v
  • kita redistribute antara RIP dan OSPF 1
Spoiler! :

GERMANY#conf ter

Enter configuration commands, one per line. End with CNTL/Z.
GERMANY(config)#rout
GERMANY(config)#router rip
GERMANY(config)#router rip
GERMANY(config-router)#ver
GERMANY(config-router)#version 2
GERMANY(config-router)#redi
GERMANY(config-router)#redistribute os
GERMANY(config-router)#redistribute ospf ?
<1-65535> Process ID
GERMANY(config-router)#redistribute ospf 1 ?
match Redistribution of OSPF routes
metric Metric for redistributed routes
<cr>
GERMANY(config-router)#redistribute ospf 1
GERMANY(config-router)#exit
GERMANY(config)#router os
GERMANY(config)#router ospf 1
GERMANY(config-router)#redi
GERMANY(config-router)#redistribute rip ?
metric Metric for redistributed routes
metric-type OSPF/IS-IS exterior metric type for redistributed routes
subnets Consider subnets for redistribution into OSPF
tag Set tag for routes redistributed into OSPF
<cr>
GERMANY(config-router)#redistribute rip 100 ?
% Unrecognized command
GERMANY(config-router)#redistribute rip 100
^
% Invalid input detected at '^' marker.

GERMANY(config-router)#redistribute rip
% Only classful networks will be redistributed
GERMANY(config-router)#redistribute rip sub
GERMANY(config-router)#redistribute rip subnets
GERMANY(config-router)#exit
GERMANY(config)#do wr
Building configuration...
[OK]
GERMANY(config)#


Baik Kita Config satu2 router yg menghubungkan beda routing hehhehe
  • Router INA
Spoiler! :

INA#conf ter

INA#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
INA(config)#router rip
INA(config-router)#red
INA(config-router)#redistribute eig
INA(config-router)#redistribute eigrp 1
INA(config-router)#exit
INA(config)#route
INA(config)#router ei
INA(config)#router eigrp 1
INA(config-router)#redi
INA(config-router)#redistribute rip
INA(config-router)#exit

  • Router England
Spoiler! :

ENGLAND#conf te

ENGLAND#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
ENGLAND(config)#router osp
ENGLAND(config)#router ospf 1
ENGLAND(config-router)#redi
ENGLAND(config-router)#redistribute eig
ENGLAND(config-router)#redistribute eigrp 1 ?
metric Metric for redistributed routes
metric-type OSPF/IS-IS exterior metric type for redistributed routes
subnets Consider subnets for redistribution into OSPF
tag Set tag for routes redistributed into OSPF
<cr>
ENGLAND(config-router)#redistribute eigrp 1 sub
ENGLAND(config-router)#redistribute eigrp 1 subnets
ENGLAND(config-router)#exit
ENGLAND(config-router)#exit
ENGLAND(config)#rou
ENGLAND(config)#router eig
ENGLAND(config)#router eigrp 1
ENGLAND(config-router)#redi
ENGLAND(config-router)#redistribute osp
ENGLAND(config-router)#redistribute ospf 1 ?
match Redistribution of OSPF routes
metric Metric for redistributed routes
<cr>
ENGLAND(config-router)#redistribute ospf 1 100 ?
% Unrecognized command
ENGLAND(config-router)#redistribute ospf 1
ENGLAND(config-router)#exit
ENGLAND(config)#exit
ENGLAND#

  • Router USA
Spoiler! :

USA>en

USA>enable
USA#conf ter
USA#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
USA(config)#rou
USA(config)#router ospf 1
USA(config-router)#redi
USA(config-router)#redistribute eig
USA(config-router)#redistribute eigrp 1 ?
metric Metric for redistributed routes
metric-type OSPF/IS-IS exterior metric type for redistributed routes
subnets Consider subnets for redistribution into OSPF
tag Set tag for routes redistributed into OSPF
<cr>
USA(config-router)#redistribute eigrp 1 sub
USA(config-router)#redistribute eigrp 1 subnets
USA(config-router)#exi
USA(config-router)#exit
USA(config)#rout
USA(config)#router os
USA(config)#router ospf 1
USA(config-router)#exi
USA(config-router)#exit
USA(config)#rou
USA(config)#router eig
USA(config)#router eigrp 1
USA(config-router)#redi
USA(config-router)#redistribute os
USA(config-router)#redistribute ospf 1
USA(config-router)#exit
USA(config)#exi
USA(config)#exit
USA#


Baik sampai disini semua router sudah bisa terhubung ke satu sama lain, tapi coba di cek lagi . pasti ada router yg belum bisa ngeping ke salah satu router .. coba dicari :v

Udah ketemu belum ??
Bener .. Router JAPAN belum bisa ngeping INA dan banyak lagi yg lainnya .. :v ..

Pusing ini, Matanya g kuat ngeliat komputer lagi, Dilanjut besok troublesootingnya :v 

Baik Hari ini kita lanjutkan lagi :v Kita troublesooting masalah nya dimana.. kenapa itu R. INA g bisa di Ping R. JAPAN. cek dulu.. hehe
  • Cek Di R. INA
Spoiler! :

INA#sh ip ro

INA#sh 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, 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

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C 10.10.10.0/30 is directly connected, Serial0/0/0
L 10.10.10.2/32 is directly connected, Serial0/0/0
C 10.10.10.4/30 is directly connected, Serial0/0/1
L 10.10.10.6/32 is directly connected, Serial0/0/1
R 10.10.11.0/30 [120/1] via 10.10.10.1, 00:00:14, Serial0/0/0
INA#

Wah disitu hanya ada routing RIP saja yang terlihat, Routing OSPF dan EIGRP nya g ada. kita coba benerin di router INA dulu .. 

wkwkwkwkwkw ternyata saya lupa memasukan network untuk routing Eigrp nya :v
Spoiler! :

INA#conf t

INA#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
INA(config)#rou
INA(config)#router rip
INA(config)#router rip
INA(config-router)#redi
INA(config-router)#redistribute ei
INA(config-router)#redistribute eigrp 1 me
INA(config-router)#redistribute eigrp 1 metric 1 1
^
% Invalid input detected at '^' marker.

INA(config-router)#redistribute eigrp 1 metric 1
INA(config-router)#exit
INA(config)#conf
INA(config)#rou
INA(config)#router ei
INA(config)#router eigrp 1
INA(config-router)#net 10.10.10.4 0.0.0.3
INA(config-router)#no au
INA(config-router)#no auto-summary
INA(config-router)#redi
INA(config-router)#redistribute ri
INA(config-router)#redistribute rip me
INA(config-router)#redistribute rip metric 1 1 1 1 1
INA(config-router)#exit
INA(config)#exit
INA#
%SYS-5-CONFIG_I: Configured from console by console

INA#wr
Building configuration...
[OK]

  • Memperbaiki Router ENGLAND
Spoiler! :

ENGLAND#conf terminal

Enter configuration commands, one per line. End with CNTL/Z.
ENGLAND(config)#rou
ENGLAND(config)#router eig
ENGLAND(config)#router eigrp 1
ENGLAND(config-router)#red
ENGLAND(config-router)#redistribute os
ENGLAND(config-router)#redistribute ospf 1 me
ENGLAND(config-router)#redistribute ospf 1 metric 100 100 100 100 100
ENGLAND(config-router)#exit
ENGLAND(config)#exit
ENGLAND#
%SYS-5-CONFIG_I: Configured from console by console

ENGLAND#wr
Building configuration...
[OK]
ENGLAND#


Dan Hasilnya sekarang seperti ini :v

[Image: Capture2.PNG]
  • Dengan ini saya Nyatakan Routing Done. :v Lanjut lagi ke Switching :v
Nothing Impossible | Learn, Understand, Share | We Are Staff of Expert Zone Technology

#2
Information 
sangat bermanfaat om. terima kasih Big Grin

#3
Kasih attachment .pkt file nya not.

#4
wiiidiihh, keren om ..
tpi dngar kata smoga bisa d mngerti, disitu saya bnar" sdih om :v
klau bsa bagi d mari dong om file packet tracernya Smile)
sblmlnya mksh om \m/
codename@tong:~# Try Harder!

#5
(03-04-2015, 06:15 PM)sectorc0de Wrote: sangat bermanfaat om. terima kasih Big Grin

Sama - Sama om . 
Nothing Impossible | Learn, Understand, Share | We Are Staff of Expert Zone Technology

#6
(03-04-2015, 06:49 PM)czeroo_cool Wrote: Kasih attachment .pkt file nya not.

nanti dulu cool, belum kelar semua soalnya :v
Nothing Impossible | Learn, Understand, Share | We Are Staff of Expert Zone Technology

#7
(03-04-2015, 07:15 PM)tong Wrote: wiiidiihh, keren om ..
tpi dngar kata smoga bisa d mngerti, disitu saya bnar" sdih om :v
klau bsa bagi d mari dong om file packet tracernya Smile)
sblmlnya mksh om \m/

wkwkwkkwkw iya om, soalnya topologinya speertinya agak membingungkan .. hehehe
nanti aja kalo pkt nya
Nothing Impossible | Learn, Understand, Share | We Are Staff of Expert Zone Technology






Users browsing this thread: 1 Guest(s)