20
Oct
07

[cisco] Routing RIP v2 dengan Dynamips dan VMware

Gambar skema jaringan dibawah disimulasikan dengan VMware Workstation 6 dan dynamips-0.8.0-RC1sample-configuration1.png


Buat 2 buah ethernet virtual, VMnet1 dan VMnet2
2-virtual-net.png

Set ethernet VMnet1 dan VMnet2 ke mode host-only
koneksi-sebagai-host-only.png

Konfigurasi IP address pada PC Host
compy-host.png

VMnet1 –> IP address 172.16.1.10 netmask 255.255.255.0 (PC host dan PC guest harus dalam satu network)
VMnet2 –> IP address 10.10.10.10 netmask 255.255.255.0

konfigurasi IP address pada PC virtual (guest)
PC1 –> IP address 172.16.1.2 netmask 255.255.255.0 gateway 172.16.1.1
PC2 –> IP address 10.10.10.2 netmask 255.255.255.0 gateway 10.10.10.1

Konfigurasi pada .net file

[localhost]

[[3660]]
image = \Program Files\Dynamips\images\C3660-I-Mz_20121-5_20T8.bin
ram = 160
nmap = false
ghostios = true
idlepc = 0×60438620

[[ROUTER R1]] # Router-R1
model = 3660
s1/0 = R2 s1/0
f0/0 = NIO_gen_eth:\Device\NPF_{993165FF-FDF7-4DCF-9636-309F343F56FC} # binding ke VMnet1

[[ROUTER R2]] # Router-R2
model = 3660
s1/1 = R3 s1/0

[[ROUTER R3]] # Router-R3
model = 3660
f0/0 = NIO_gen_eth:\\Device\NPF_{87525C5C-D32F-4A96-B1B0-9F74FDA1F251} # binding ke VMnet2

contoh konfigurasi router

################# Router-R1 ##########################
router#
router#configure terminal
router#(config)#hostname Router-R1
Router-R1(config)#interface fastEthernet 0/0
Router-R1(config-if)#ip address 172.16.1.1 255.255.255.0
Router-R1(config-if)no shutdown
Router-R1(config-if)#exit
Router-R1(config)#interface Serial 1/0
Router-R1(config-if)#ip address 193.168.1.2 255.255.255.0
Router-R1(config-if)no shutdown
Router-R1(config-if)#exit
Router-R1(config)#router rip
Router-R1(config-router)#version 2
Router-R1(config-router)#network 172.16.0.0
Router-R1(config-router)#network network 193.168.1.0
Router-R1(config-router)#end
Router-R1#copy running-config startup-config

################# Router-R2 ##########################
router#
router#configure terminal
router#(config)#hostname Router-R2
Router-R2(config)#
Router-R2(config)#interface Serial 1/0
Router-R2(config-if)#ip address 193.168.1.1 255.255.255.0
Router-R2(config-if)#clock rate 64000
Router-R2(config-if)#no shutdown
Router-R2(config-if)#exit
Router-R2(config)#interface Serial 1/1
Router-R2(config-if)#ip address 194.168.1.1 255.255.255.0
Router-R2(config-if)#clock rate 64000
Router-R2(config-if)#no shutdown
Router-R2(config-if)#exit
Router-R2(config)#router rip
Router-R2(config-router)#
Router-R2(config-router)#version 2
Router-R2(config-router)#network 193.168.1.0
Router-R2(config-router)#network 194.168.1.0
Router-R2(config-router)#end
Router-R2#copy running-config startup-config

################# Router-R3 ##########################
router#
router#configure terminal
router#(config)#hostname Router-R3
Router-R3(config)#interface fastEthernet 0/0
Router-R3(config-if)#ip address 10.10.10.1 255.255.255.0
Router-R3(config-if)no shutdown
Router-R3(config-if)#exit
Router-R3(config)#interface Serial 1/0
Router-R3(config-if)#ip address 194.168.1.2 255.255.255.0
Router-R3(config-if)no shutdown
Router-R3(config-if)#exit
Router-R3(config)#router rip
Router-R3(config-router)#version 2
Router-R3(config-router)#network 10.10.10.0
Router-R3(config-router)#network network 194.168.1.0
Router-R3(config-router)#end
Router-R3#copy running-config startup-config

Trace route virtual PC2 dari virtual PC1
tracert-from-1721612.png

Trace route virtual PC1 dari virtual PC2
tracert-from-1010102.png

Advertisement

3 Responses to “[cisco] Routing RIP v2 dengan Dynamips dan VMware”


  1. 1 null
    October 22, 2007 at 9:29 am

    om kalau pake slackware gimana ya?
    udah saya coba nyambungin networknya tapi belum2 bisa?

  2. October 27, 2007 at 6:01 pm

    om null, saya belum coba di slackware.. :)

  3. June 2, 2011 at 3:22 am

    om klo mo tau yang kaya gini gmn ya om

    f0/0 = NIO_gen_eth:\Device\NPF_{993165FF-FDF7-4DCF-9636-309F343F56FC}


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Calendar

October 2007
M T W T F S S
« Sep   Mar »
1234567
891011121314
15161718192021
22232425262728
293031  

Stats

  • 3,028 hits

Follow

Get every new post delivered to your Inbox.