Home > Old Post dari Unilanet, World Of ICT > Dynagen,dynamips mode Bridge with ETH interface on FreeBSD

Dynagen,dynamips mode Bridge with ETH interface on FreeBSD


Sekarang kita akan mencoba mode bridging Fisikal interface di server dengan interface fast Ethernet Emulator dynamips

blog# cd ~gigih/tmp/
blog# ll
total 183352
-rw-r–r–  1 gigih  wheel   16384996 Mar 24 13:30 C7200-Is-Mz_20122-15_20T5.bin
-rw-r–r–  1 root   wheel       6092 Mar 24 12:21 blog.unila.ac.id
-rw-r–r–  1 gigih  wheel    4704832 Mar 24 08:37 c4500-is-mz.120-7.bin
-rw-r–r–  1 gigih  wheel    4683127 Mar 24 08:41 c4500-is-mz.120-7.image
-rwx——  1 root   wheel    8388608 Mar 25 15:46 c7200_R1_bootflash
-rw——-  1 root   wheel   67108864 Mar 25 15:46 c7200_R1_disk0
-rw-r–r–  1 root   wheel          0 Mar 25 15:46 c7200_R1_lock
-rw-r–r–  1 root   wheel      23880 Mar 25 16:04 c7200_R1_log.txt
-rwx——  1 root   wheel     131072 Mar 25 16:04 c7200_R1_nvram
-rwx——  1 root   wheel  167772160 Mar 25 16:06 c7200_R1_ram
-rwx——  1 root   wheel    8388608 Mar 25 15:46 c7200_R2_bootflash
-rw——-  1 root   wheel   67108864 Mar 25 15:46 c7200_R2_disk0
-rw-r–r–  1 root   wheel          0 Mar 25 15:46 c7200_R2_lock
-rw-r–r–  1 root   wheel      24318 Mar 25 15:48 c7200_R2_log.txt
-rwx——  1 root   wheel     131072 Mar 25 15:47 c7200_R2_nvram
-rwx——  1 root   wheel  167772160 Mar 25 16:06 c7200_R2_ram
-r–r–r–  1 root   wheel        522 Mar 25 15:46 simple1.netblog# more simple1.net
# Simple lab

[localhost]

[[7200]]
#image = \Program Files\Dynamips\images\c7200-jk9o3s-mz.124-7a.image
# On Linux / Unix use forward slashes:
# image = /opt/7200-images/c7200-jk9o3s-mz.124-7a.image
image = /usr/home/gigih/tmp/C7200-Is-Mz_20122-15_20T5.bin

npe = npe-400
ram = 160

[[ROUTER R1]]
s1/0 = R2 s1/0
f0/0 = NIO_gen_eth:em0   ## -<<< DISESUAIKAN Dgn INTERFACE BSD ANDA klo di saya Em0

[[router R2]]
# No need to specify an adapter here, it is taken care of
# by the interface specification under Router R1
blog#

OK udah beres dengan Konfignya tinggal jalankan dynagen lagi

blog# dynagen simple1.net

Router>en
Router#

Kasih IP address di Interface Fast Ethernet0/0
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.1.121 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit

Buat Default Gateway diarahkan sesuai dengan gateway Mesin BSD Server
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.245
Router(config)#

Copy Running Config ke StartUP Config
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]
Router#

Router#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            192.168.1.121   YES manual up                    up
Serial1/0                  unassigned      YES unset  administratively down down
Serial1/1                  unassigned      YES unset  administratively down down
Serial1/2                  unassigned      YES unset  administratively down down
Serial1/3                  unassigned      YES unset  administratively down down
Serial1/4                  unassigned      YES unset  administratively down down
Serial1/5                  unassigned      YES unset  administratively down down
Serial1/6                  unassigned      YES unset  administratively down down
Serial1/7                  unassigned      YES unset  administratively down down
Virtual-Access1            unassigned      YES unset  up                    up
Router#

Sekarang kita coba tes dari sisi emulator cisconya

Router#ping
Protocol [ip]:
Target IP address: http://www.unila.ac.id
Repeat count [5]: 500
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 500, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!
Success rate is 100 percent (500/500), round-trip min/avg/max = 8/10/32 ms
Router#

Router#traceroute http://www.elektro.unila.ac.id
Translating “www.elektro.unila.ac.id”…domain server (255.255.255.255) [OK]

Type escape sequence to abort.
Tracing the route to elektro.unila.ac.id (192.168.170.234)

1 inherent-unila-gtw.unila.ac.id (192.168.1.245) 8 msec 12 msec 8 msec
2 rapier-fx.unila.ac.id (192.168.1.31) 20 msec 8 msec 12 msec
3 elektro.unila.ac.id (192.168.170.234) 8 msec 12 msec 8 msec
Router#

Router#traceroute  http://www.yahoo.com
Translating “www.yahoo.com”…domain server (255.255.255.255) [OK]

Type escape sequence to abort.
Tracing the route to http://www.yahoo-ht3.akadns.net (209.191.93.52)

1 inherent-unila-gtw.unila.ac.id (192.168.1.245) 12 msec 8 msec 12 msec
2 222.124.196.100 8 msec 8 msec 12 msec
3 192.168.35.50 20 msec 12 msec 28 msec
4 61.94.1.253 100 msec 68 msec 32 msec
5 203.208.143.45 220 msec 220 msec 200 msec
6 ge-4-0-1-0.sngtp-cr2.ix.singtel.com (203.208.182.5) 100 msec
ge-4-0-1-0.sngtp-cr1.ix.singtel.com (203.208.182.1) 120 msec 100 msec
7 so-2-0-0-0.plapx-cr2.ix.singtel.com (203.208.149.182) 260 msec
so-4-2-0-0.plapx-cr3.ix.singtel.com (203.208.173.158) 252 msec 272 msec
8 ge-6-0-0-0.plapx-dr2.ix.singtel.com (203.208.183.166) 248 msec
ge-7-0-0-0.plapx-dr2.ix.singtel.com (203.208.183.182) 240 msec
ge-6-0-0-0.plapx-dr2.ix.singtel.com (203.208.183.166) 240 msec
9 203.208.168.246 260 msec 252 msec
203.208.145.130 248 msec
10 so-1-1-0.pat2.dce.yahoo.com (216.115.101.131) 328 msec 340 msec
so-1-1-0.pat1.dce.yahoo.com (216.115.101.129) 280 msec
11 vl155.pat1.sjc.yahoo.com (216.115.96.59) 288 msec
ge-1-1-0-p101.msr1.mud.yahoo.com (216.115.104.107) 288 msec 328 msec
12 unknown-216-115-102-139.yahoo.com (216.115.102.139) 280 msec 300 msec
te-8-1.bas-c1.mud.yahoo.com (68.142.193.5) 320 msec
13 ge-0-1-0-p101.msr1.mud.yahoo.com (216.115.104.99) 280 msec *
ge-1-1-0-p101.msr1.mud.yahoo.com (216.115.104.107) 360 msec
14 te-9-1.bas-c2.mud.yahoo.com (68.142.193.11) 308 msec *
te-8-1.bas-c1.mud.yahoo.com (68.142.193.5) 308 msec
15  *  *  *
16  *

Router#traceroute  http://www.itb.ac.id
Translating “www.itb.ac.id”…domain server (255.255.255.255) [OK]

Type escape sequence to abort.
Tracing the route to http://www.itb.ac.id (167.205.108.136)

1 inherent-unila-gtw.unila.ac.id (192.168.1.245) 12 msec 8 msec 12 msec
2 167.205.143.1 8 msec 12 msec 8 msec
3 s3-0-1-e1-bb-v4-untirta-unila.inherent-dikti.net (167.205.189.66) 12 msec 20 msec 12 msec
4 s4-0-0-e1-bb-v4-ui-untirta.inherent-dikti.net (167.205.189.32) 20 msec
s4-1-2-e1-bb-v4-ui-untirta.inherent-dikti.net (167.205.189.36) 20 msec
s4-0-0-e1-bb-v4-ui-untirta.inherent-dikti.net (167.205.189.32) 32 msec
5 pos1-0-0-stm1-bb-v4-itb-ui.inherent-dikti.net (167.205.189.5) 28 msec 20 msec 28 msec
6 vlan50-v4-itb-pop.inherent-dikti.net (167.205.132.2) 20 msec 28 msec 20 msec
7 ai3-noc-pau-cat6-vlan.itb.ac.id (167.205.23.3) 20 msec 28 msec 20 msec
8 labtekviii-cat6-gec-1.itb.ac.id (167.205.62.2) 20 msec 32 msec 28 msec
9 rektorat-ccar-cat6-gec-1.itb.ac.id (167.205.62.22) 32 msec 28 msec 32 msec
10 http://www.itb.ac.id (167.205.108.136) 28 msec 32 msec 28 msec
Router#

Router#show cdp neighbors
Capability Codes: R – Router, T – Trans Bridge, B – Source Route Bridge
S – Switch, H – Host, I – IGMP, r – Repeater

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
IBSUNILA01       Fas 0/0            123         S I       WS-C2960G-Gig 0/10
Router#

OK Bos dah jalan, berarti mode bridging dengan interface Fisik udah jalan sempurna

  1. No comments yet.
  1. No trackbacks yet.

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: