Network LogDecember 6, 2006 3:55 am

Lab 1 ini mensimulasikan koneksi 3 site/router dengan frame relay ditambah 1 site/router dengan koneksi ppp seperti topologi berikut ini:

framerelay-ppp

File wan.net ntuk mensimulasikan topologi diatas saya buat sbb (pakai dynamips-dynagen untuk simulasinya):
_____________
autostart = false

[localhost:7200]

[[7200]]
image = \PROGRA~1\Dynamips\images\C7200-JK-I.BIN
npe = npe-400
ram = 96
nvram= 96
idlepc = 0x60750bf0
mmap = true
ghostios = true
ghostsize = 128

[[ROUTER MED]]
console = 2004
fa0/0 = LAN 4
s1/0 = JKT S1/1
cnfg = X:\7200-Simulator\config\wan\initial.config\MED-initial.txt

[[ROUTER JKT]]
console = 2001
fa0/0 = LAN 1
s1/0 = F1 1
cnfg = X:\7200-Simulator\config\wan\initial.config\JKT-initial.txt

[[ROUTER BAN]]
console = 2002
fa0/0 = LAN 2
s1/0 = F1 2
cnfg = X:\7200-Simulator\config\wan\initial.config\BAN-initial.txt

[[ROUTER SUR]]
console = 2003
fa0/0 = LAN 3
s1/0 = F1 3
cnfg = X:\7200-Simulator\config\wan\initial.config\SUR-initial.txt

[[FRSW F1]]
1:20 = 2:30
1:22 = 3:40
2:31 = 3:41
_____________

Penjelasan topologinya sebagai berikut:
[[ROUTER MED]]
fa0/0 = LAN 4 # bridge LAN MED
s1/0 = JKT S1/1 #s1/0 Router MED konek dengan S1/1 Router JKT point to point
[[ROUTER JKT]]
fa0/0 = LAN 1 # bridge LAN JKT
s1/0 = F1 1 # s1/0 Router JKT konek via Frame Relay Switch F1 1
[[ROUTER BAN]]
fa0/0 = LAN 2 # bridge LAN BAN
s1/0 = F1 2 # s1/0 Router BAN konek via Frame Relay Switch F1 2
[[ROUTER SUR]]
fa0/0 = LAN 3 # bridge LAN SUR
s1/0 = F1 3 #s1/0 Router SUR konek via Frame Relay Switch F1 3
[[FRSW F1]]
1:20 = 2:30 #Koneksi Frame Relay Router JKT DCLI:20 dengan Router BAN DLCI:30
1:22 = 3:40 #Koneksi Frame Relay Router JKT DLCI:22 dengan Router SUR DLCI:40
2:31 = 3:41 #Koneksi Frame Relay Router BAN DLCI:31 dengan Router SUR DLCI:41

Konfigurasi router JKT seperti berikut:
JKT#sh run
Building configuration…

Current configuration : 1727 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname JKT
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$.Hb7$j9S3Ge9is2Qjrl6a5V.is.
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
username MED password 0 link
!
!
interface FastEthernet0/0
description Koneksi LAN JKT
ip address 192.168.20.1 255.255.255.0
duplex full
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.20 point-to-point
description link to BAN Router DLCI 20
ip address 192.168.1.1 255.255.255.0
frame-relay interface-dlci 20
!
interface Serial1/0.22 point-to-point
description Link to SUR Router DLCI 22
ip address 192.168.3.1 255.255.255.0
frame-relay interface-dlci 22
!
interface Serial1/1
description Link PPP to MED Router
ip address 192.168.2.2 255.255.255.252
encapsulation ppp
serial restart-delay 0
ppp authentication chap
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
redistribute static
network 192.168.1.0
network 192.168.2.0 0.0.0.3
network 192.168.3.0
network 192.168.20.0
no auto-summary
!
ip classless
!
ip route 192.168.10.0 255.255.255.0 192.168.2.1 name LAN_Medan
!
no ip http server
no ip http secure-server
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
password ismet
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password cisco
login local
!
!
end

cdp-jkt

Konfigurasi router BAN seperti berikut:
BAN#sh run
Building configuration…

Current configuration : 1700 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname BAN
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$sFO.$QmE6Ig1Hhl8jGnaYmMoFO1
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
!
interface FastEthernet0/0
description Koneksi LAN BAN
ip address 192.168.30.1 255.255.255.0
duplex full
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.30 point-to-point
description Link to JKT Router DLCI 30
ip address 192.168.1.2 255.255.255.0
frame-relay interface-dlci 30
!
interface Serial1/0.31 point-to-point
description Link to SUR Router DLCI 31
ip address 192.168.4.2 255.255.255.0
frame-relay interface-dlci 31
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 192.168.1.0
network 192.168.4.0
network 192.168.30.0
no auto-summary
!
ip classless
no ip http server
no ip http secure-server
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
password ismet
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password cisco
login
!
!
end

cdp-ban

Konfigurasi router SUR seperti berikut:
SUR#sh run
Building configuration…

Current configuration : 1662 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SUR
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$SBop$snk0UCM3oVRnTPm10cjEq0
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
!
interface FastEthernet0/0
description Koneksi LAN SUR
ip address 192.168.40.1 255.255.255.0
duplex full
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.40 point-to-point
description Link ro JKT Router DLCI 40
ip address 192.168.3.2 255.255.255.0
frame-relay interface-dlci 40
!
interface Serial1/0.41 point-to-point
description Link to BAN Router DLCI 41
ip address 192.168.4.1 255.255.255.0
frame-relay interface-dlci 41
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 192.168.3.0
network 192.168.4.0
network 192.168.40.0
no auto-summary
!
ip classless
no ip http server
no ip http secure-server
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
password ismet
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password cisco
login
!
!
end

cdp-sur

Konfigurasi router MED seperti berikut:
MED#sh run
Building configuration…

Current configuration : 1434 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname MED
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$.Hb7$j9S3Ge9is2Qjrl6a5V.is.
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
!
username JKT password 0 link
!
!
interface FastEthernet0/0
description Koneksi LAN MED
ip address 192.168.10.1 255.255.255.0
duplex full
!
interface Serial1/0
description Link PPP to JKT Router
ip address 192.168.2.1 255.255.255.252
encapsulation ppp
serial restart-delay 0
clock rate 64000
ppp authentication chap
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
ip route 0.0.0.0 0.0.0.0 192.168.2.2
!
ip classless
no ip http server
no ip http secure-server
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
password ismet
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password cisco
login local
!
!
end

cdp-med

Network Log 2:37 am

Beginilah awalnya:
Beginilah tampilan dynamips server, program untuk mengemulasikan Cisco IOS. Saya coba mensimulasikan 4 router seri 7200 di thinkpad T30 memori 512MB.
dynamips

Front end dynagen yang mensimulasikan 4 router seri 7200 dengan koneksi frame relay switch seperti ini:
dynagen

Maka jadilah simulasi lab 4 router di notebook saya!
start01

Network LogDecember 5, 2006 1:03 pm

Router dan switch menjadi pemandangan sehari-hari saya jika masuk ruang server baik di HQ maupun cabang. Sangat menarik perhatian ..cuma saya tidak mengaksesnya…mengeksplorasinya. Selama ini tahu-nya cuma teorinya saja.

Oleh karena keterbatasan akses pada hardware router yang ada di kantor dan ketidakpuasan ketika mencoba-coba program router simulator yang biasa telah menuntun saya menemukan program emulator yang tidak biasa yakni “Dynamips”.

Dynampis dibuat oleh Christophe Fillot Agustus 2005. Dynamips merupakan program emulator (windows & linux base) yang dipakai untuk mengemulasikan hardware Cisco seri 7200 dan 3600 platform. Yang tidak biasanya dibanding program simulator lain adalah Dynamips mampu membooting real Cisco IOS Software image dan membangun network topologi untuk bisa di tes fungsional IOS-nya di desktop PC!!
Hebat…hebat. Saya langsung jatuh hati padanya!

Sampai Desember 2006 ini Dynamips dapat support Ethernet, Serial, ATM, dan POS interfaces untuk seri 7200 router dan Ethernet, Serial, and Etherswitch modul untuk seri 3600 router. Dan yang terbaik dari semuanya Dynamips adalah open-source dan bebas untuk di download!

Untuk menjalankan dynamips pertama kali adalah menginstal libpcap atau winpcap tergantung platform. Untuk Windows user perlu menginstall winpcap 4.0 atau yang terbaru masih versi beta.

Kemudian download Linux atau Windows ‘executables’ untuk Dynamips. Saya merekomendasikan untuk mendownload Dynagen installer package, front end yang ditulis oleh Greg Anuzelli yang menggunakan file .INI untuk mengkonfigurasi dynamips emulator.

Selanjutnya kita perlu Cisco IOS software image untuk 7206, 3620, 3640, atau 3660 router bergantung platform yang ingin diemulasikan. IOS image sebelum digunakan direkomendasikan untuk di ekstrak lebih dahulu untuk mempercepat proses booting dynamips. Kita bisa gunakan WinRAR atau WinZip untuk mengekstraknya.

Selanjutnya kita membuat Dynagen .net untuk membuat topologi network yang ingin kita emulasikan dengan dynamips.

Selamat! Sekarang saya serasa memiliki lab router sendiri di desktop/notebook.

Ini adalah waktunya untuk memulai perjalanan dengan router dan dunia networking!

Never too late to learn something new…

Untuk informasi mengenai proyek ini silakan merujuk ke situs sbb:

Dynamips: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
Dynagen: http://dyna-gen.sourceforge.net/
Hacki’s Forum: http://hacki.at/7200emu/index.php