Selasa, April 01, 2008

CISCO ROUTER

Belajar Statik Routing yuukk...!!!

STATIK ROUTING

(statik routing)

Cara me-routing router ada beberapa cara ada dengan cara static dan ada juga dinamic.
Perbedaan antara static dan dinamic :

a. Static routing, dikonfigurasi secara manual. Routing tabelnya diset manual dan disimpan dalam router. Tidak ada informasi sharing diantara sesama router. Hal ini mengakibatkan keterbatasan yang jelas karena ia tidak dapat secara otomatis menentukan route terbaik; ia selalu menggunakan rute yang sama yang kemungkinan bukan rute terbaik. Jika route berubah, static router harus diupdate. secara manual. Karena static router menyediakan control penuh pada routing tabelnya, ia lebih aman dibanding dynamic router.

b. Dynamic routing, mampu membuat routing tabelnya sendiri dengan berbicara ke sesama router. Untuk melakukannya ia menemukan route dan route alternatif yang berada pada network. Dynamic router bisa membuat keputusan pada route yang mana sebuah paket mencapai tujuan. Umumnya ia mengirimkan paket ke route yang paling efisien; salah satu yang menghasilkan jumlah hop lebih sedikit. Bagaimanapun, jika route macet,dynamic route dapat mengirimkan paket ke route alternatif.

Pada kesempatan ini kita coba untuk yang static routing. Berikut cara men-setting router seperti gambar diatas.

Router1 :

Press Enter to Start

Router>
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname TMG
TMG(config)#int s0
TMG(config-if)#ip addr 202.123.40.21 255.255.255.252
TMG(config-if)#clock rate 9600
TMG(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up
TMG(config-if)#ex
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
TMG(config)#int e0
TMG(config-if)#ip addr 192.168.1.1 255.255.255.0
TMG(config-if)#no shut
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
TMG(config-if)#ip route 192.168.2.0 255.255.255.0 202.123.40.21
TMG(config)#end
TMG#wr mem
Building configuration…
[OK]

Router2:

Press Enter to Start

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname MGL
MGL(config)#int s0
MGL(config-if)#ip addr 202.123.40.22 255.255.255.252
MGL(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up
MGL(config-if)#ex
MGL(config)#int e0
MGL(config-if)#ip addr 192.168.2.1 255.255.255.0
MGL(config-if)#no shut
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
MGL(config-if)#ip route 192.168.1.0 255.255.255.0 202.123.40.22
MGL(config)#end
MGL#wr mem
Building configuration…
[OK]

PC Client01 :
ip addr 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1

PC Client02 :
ip addr 192.168.2.2
netmask 255.255.255.0
gateway 192.168.2.1


Belajar Dinamic Routing yuuuuuuk......!!!

DINAMIK ROUTING


(dynamic routing)

Router1 :

Press Enter to Start

Router>
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname YOGYA
YOGYA(config)#int s0
YOGYA(config-if)#ip addr 192.168.2.1 255.255.255.0
YOGYA(config-if)#clock rate 64000
YOGYA(config-if)#bandwidth 56

YOGYA(config-if)#encapsulation hdlc

YOGYA(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up
YOGYA(config-if)#ex
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
YOGYA(config)#int s1
YOGYA(config-if)#ip addr 192.168.3.1 255.255.255.0

YOGYA(config-if)#clock rate 64000

YOGYA(config-if)#bandwidth 56

YOGYA(config-if)#encapsulation hdlc
YOGYA(config-if)#no shut
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up YOGYA(config-if)#end
YOGYA#conf t

YOGYA(config-if)#int e0

YOGYA(config-if)#ip addr 192.168.1.1 255.255.255.0

YOGYA(config-if)#no shut

%LINK-3-UPDOWN: Interface Serial0, changed state to up

YOGYA(config-if)#end

%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up

YOGYA#conf t

YOGYA(config)#router rip

YOGYA(config-router)#network 192.168.1.0

YOGYA(config-router)#network 192.168.2.0

YOGYA(config-router)#network 192.168.3.0

YOGYA(config-router)#end

YOGYA#wr mem

[OK]

Router3 :

Press Enter to Start

Router>
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname TMG
TMG(config)#int s0
TMG(config-if)#ip addr 192.168.4.2 255.255.255.0
TMG(config-if)#clock rate 64000
TMG(config-if)#bandwidth 56

TMG(config-if)#encapsulation hdlc

TMG(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up
TMG(config-if)#ex
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
TMG(config)#int s1
TMG(config-if)#ip addr 192.168.3.2 255.255.255.0

TMG(config-if)#clock rate 64000

TMG(config-if)#bandwidth 56

TMG(config-if)#encapsulation hdlc
TMG(config-if)#no shut
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up TMG(config-if)#end
TMG#conf t

TMG(config-if)#int e0

TMG(config-if)#ip addr 192.168.6.1 255.255.255.0

TMG(config-if)#no shut

%LINK-3-UPDOWN: Interface Serial0, changed state to up

TMG(config-if)#end

%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up

TMG#conf t

TMG(config)#router rip

TMG(config-router)#network 192.168.3.0

TMG(config-router)#network 192.168.4.0

TMG(config-router)#network 192.168.6.0

TMG(config-router)#end

#wr mem

[OK]

Memberikan ip pada PC

PC1

Press Enter to Start

c:>ipconfig /ip 192.168.5.2 255.255.255.0

c:>ipconfig /dg 192.168.5.1

c:>ipconfig

HELP

Manipulates ip address for workstation.

IPCONFIG [/ip] [/dg]

/ip adds the ip address and subnetmask to the workstation

/dg adds the default gateway to the workstation

Examples:

Ć ipconfig /ip 157.1.1.12 255.255.255.0

Ć ipconfig /dg 157.1.1.1

Boson BOSS 5.0 Ip configuration

Ethernet adapter local area conection :

Connection-specific DNS suffix .: boson.com

Ip address . . . . . . . . . . . . . . . . . . : 192.168.5.2

Subnetmask . . . . . . . . . . . . . . . . : 255.255.255.0

Default gateway . . . . . . . . . . . . . : 192.168.5.1

You can also use winipcfg to configure the ip address

C:>ping 192.168.4.2

Pinging 192.168.4.2 with 32 bytes of data:

Reply from 192.168.4.2: bytes=32 time=60ms TT L=241

Reply from 192.168.4.2: bytes=32 time=60ms TTL=241

C:>ping 192.168.2.2

Pinging 192.168.2.2 with 32 bytes of data:

Reply from 192.168.2.2: bytes=32 time=60ms TT L=241

Reply from 192.168.2.2: bytes=32 time=60ms TTL=241

C:>ping 192.168.2.1

Pinging 192.168.2.1 with 32 bytes of data:

Reply from 192.168.2.1: bytes=32 time=60ms TT L=241

Reply from 192.168.2.1: bytes=32 time=60ms TTL=241

C:>ping 192.168.3.2

Pinging 192.168.3.2 with 32 bytes of data:

Reply from 192.168.3.2: bytes=32 time=60ms TT L=241

Reply from 192.168.3.2: bytes=32 time=60ms TTL=24

PC 2

Press Enter to Start

c:>ipconfig /ip 192.168.4.2 255.255.255.0

c:>ipconfig /dg 192.168.4.1

c:>ipconfig

HELP

Manipulates ip address for workstation.

IPCONFIG [/ip] [/dg]

/ip adds the ip address and subnetmask to the workstation

/dg adds the default gateway to the workstation

Examples:

Ć ipconfig /ip 157.1.1.12 255.255.255.0

Ć ipconfig /dg 157.1.1.1

Boson BOSS 5.0 Ip configuration

Ethernet adapter local area conection :

Connection-specific DNS suffix .: boson.com

Ip address . . . . . . . . . . . . . . . . . . : 192.168.4.2

Subnetmask . . . . . . . . . . . . . . . . : 255.255.255.0

Default gateway . . . . . . . . . . . . . : 192.168.4.1

You can also use winipcfg to configure the ip address

C:>ping 192.168.2.1

Pinging 192.168.2.1 with 32 bytes of data:

Reply from 192.168.2.1: bytes=32 time=60ms TT L=241

Reply from 192.168.2.1: bytes=32 time=60ms TTL=241

PC3

Press Enter to Start

c:>ipconfig /ip 192.168.6.2 255.255.255.0

c:>ipconfig /dg 192.168.6.1

c:>ipconfig

HELP

Manipulates ip address for workstation.

IPCONFIG [/ip] [/dg]

/ip adds the ip address and subnetmask to the workstation

/dg adds the default gateway to the workstation

Examples:

Ć ipconfig /ip 157.1.1.12 255.255.255.0

Ć ipconfig /dg 157.1.1.1

Boson BOSS 5.0 Ip configuration

Ethernet adapter local area conection :

Connection-specific DNS suffix .: boson.com

Ip address . . . . . . . . . . . . . . . . . . : 192.168.6.2

Subnetmask . . . . . . . . . . . . . . . . : 255.255.255.0

Default gateway . . . . . . . . . . . . . : 192.168..1

You can also use winipcfg to configure the ip address

C:>ping 192.168.3.2

Pinging 192.168.4.2 with 32 bytes of dat

Reply from 192.168.3.2: bytes=32 time=60ms TT L=241

Reply from 192.168.3.2: bytes=32 time=60ms TTL=241

1/4

Hari pertama di bulan April ni Qt masih nyari artikel tentang boson...................Tp ga dapat2, adanya malah yang berhubungan tentang fisika......duh muzmetnya.....Truz ben ra bosen Qt ngedit blog deh.........

31/3

Hari terakhir di bulan maret ni....Q disuruh ngecek daftar mahasiswa kelas C D3tkj di tempatnya Pak Hendra, & setelah itu langsung nyari artikel tentang boson.

29/3

Hari ini masih buat modul mikrotik & nglanjutin yang cisco router, aduh pusing bangetzs.

27-28/3

2 hari ne masih melanjutkan membuat modul cisco router.

27-28/3

2 hari ne masih melanjutkan membuat modul cisco router.

26/3

Melanjutkan membuat modul cisco router, cz kemarin dah mencari artikelnya.

25/3

Hari ini- disuruh mencari artiket cisco router untuk membuat modul