• Tidak ada hasil yang ditemukan

Routing dan Tabel Routing

N/A
N/A
Protected

Academic year: 2017

Membagikan "Routing dan Tabel Routing"

Copied!
33
0
0

Teks penuh

(1)
(2)

Networking

• Menyambungkan beberapa buah node

menjadi sebuah jaringan

(3)

Routing a Packet

A

1

D

3

Host/Local

network

Host/Local

network

6

B

4

E

5

C

2

Host/Local

network

Link

(4)
[image:4.720.467.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

3

1

2

1

C

1

1

B

0

local

A

Cost

Link

To

(5)
[image:5.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local

network

3

B

4

E

5

C

2

Host/Local network

Link

Router

E

D

C

0

local

B

1

1

A

Cost

Link

To

(6)
[image:6.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

1

2

C

0

local

B

1

1

A

Cost

Link

To

(7)
[image:7.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

E

2

1

D

1

2

C

0

local

B

1

1

A

Cost

Link

To

(8)
[image:8.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

1

2

1

2

C

0

local

B

1

1

A

Cost

Link

To

(9)
[image:9.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local

network

3

B

4

E

5

C

2

Host/Local network

Link

Router

E

D

C

B

A

Cost

Link

To

(10)
[image:10.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

C

B

2

2

A

Cost

Link

To

(11)
[image:11.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local

network

3

B

4

E

5

C

2

Host/Local network

Link

Router

E

D

C

1

2

B

2

2

A

Cost

Link

To

(12)
[image:12.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

0

local

C

1

2

B

2

2

A

Cost

Link

To

(13)
[image:13.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

E

2

5

D

0

local

C

1

2

B

2

2

A

Cost

Link

To

(14)
[image:14.720.468.685.213.459.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

5

2

0

local

C

1

2

B

2

2

A

Cost

Link

To

(15)
[image:15.720.13.698.79.465.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local

network

3

B

4

E

5

C

2

Host/Local network

Link

Router

Cost

Link

To

(16)
[image:16.720.14.699.77.466.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

1

3

A

Cost

Link

To

(17)
[image:17.720.15.698.77.466.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local

network

3

B

4

E

5

C

2

Host/Local network

Link

Router

2

3

B

1

3

A

Cost

Link

To

(18)
[image:18.720.17.699.75.467.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

2

6

C

2

3

B

1

3

A

Cost

Link

To

(19)
[image:19.720.14.704.74.468.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local

network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

local

0

2

6

C

2

3

B

1

3

A

Cost

Link

To

(20)
[image:20.720.468.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

local

0

2

6

C

2

3

B

1

3

A

Cost

Link

To

(21)
[image:21.720.14.698.80.465.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local

network

3

B

4

E

5

C

2

Host/Local network

Link

Router

Cost

Link

To

(22)
[image:22.720.14.698.78.466.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

2

4

A

Cost

Link

To

(23)
[image:23.720.16.697.79.466.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local

network

3

B

4

E

5

C

2

Host/Local network

Link

Router

1

4

B

2

4

A

Cost

Link

To

(24)
[image:24.720.17.698.76.467.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

1

5

C

1

4

B

2

4

A

Cost

Link

To

(25)
[image:25.720.467.685.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network Host/Local

network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

6

1

1

5

C

1

4

B

2

4

A

Cost

Link

To

(26)
[image:26.720.468.686.213.458.2]

Tabel Routing

A

1

D

3

Host/Local network

3

B

4

E

5

C

2

Host/Local network

Link

Router

D

6

1

1

5

C

1

4

B

2

4

A

Cost

Link

To

(27)

RIP (

Routing Internet Protocol

)

Secara periodik, dan kapan saja tabel routing lokal berubah, kirim

tabel tersebut ke seluruh router tetangga yang dapat

diakses/dihubungi. Caranya, dengan mengirim paket RIP yang

berisi salinan tabel routing ke link yang dapat digunakan untuk

mengirim

Ketika sebuah tabel routing diterima dari router tetangga, jika tabel

yang diterima muncul atau terdapat jalur (route) tujuan

(

destination

) baru , atau route yang lebih baik (nilai

cost

lebih

rendah) dibanding routing yang sudah ada, maka tabel routing

lokal diperbaharui sesuai dengan tabel routing yang diterima.

Jika tabel diterima melalui

link

n, dan memberikan

cost

yang

berbeda terhadap tabel lokal untuk semua jalur yang dimulai

dengan

link

n, maka

cost

dalam tabel routing lokal diperbaharui

dengan

cost

dari tabel

yang baru. Hal ini dilakukan karena tabel

yang baru (yang diterima) dari router tetangga adalah lebih dekat

dengan tujuan yang sesuai dan merupakan jalur yang lebih

(28)

Algoritma RIP: pseudo code

Notasi:

Tr

adalah tabel yang diterima (

received

),

Tl

adalah tabel lokal (

local

),

Rr

adalah baris (

Row

) tabel yang

diterima,

Rl

adalah baris (

Row

) tabel lokal

(local

)

Send:

Setiap

t

detik atau setiap

Tl

berubah, kirim

Tl

ke setiap

link

yang dapat dihubungi

(tersambung)

Receive:

Kapan saja tabel routing

Tr

diterima dari

link

n

:

for all rows

Rr

in

Tr

{

if (

Rr.link

n

){

Rr.cost

=

Rr.cost

+ 1;

Rr.link = n

;

if (

Rr.destination

is not in

Tl

) add

Rr

to

Tl

; //add new

destination

to

Tl

else for all rows

Rl

in

Tl

{

if (

Rr.destination = Rl.destination

and (

Rr.cost

<

Rl.cost

or

Rl.link = n

))

Rl

=

Rr

;

(29)

pseudo code

Send

• Notasi:

Tr

adalah tabel yang diterima (

received

),

Tl

adalah tabel lokal (

local

),

Rr

adalah baris (

Row

) tabel yang diterima

(

local

)

Send:

(30)

pseudo code

Receiver

Receive:

Kapan saja tabel routing

Tr

diterima dari

link

n

:

for all rows

Rr

in

Tr

{

if (

Rr.link

n

){

Rr.cost

=

Rr.cost

+ 1;

Rr.link = n

;

if (

Rr.destination

is not in

Tl

) add

Rr

to

Tl

;

//add new

destination

to

Tl

else for all rows

Rl

in

Tl

{

if (

Rr.destination = Rl.destination

and (

Rr.cost

<

Rl.cost

or

Rl.link = n

))

Rl

=

Rr

;

//

Rr.cost < Rl.cost

: remote node has better route

(31)

Internetworking

• Menggabungkan/menyambungkan

beberapa jaringan (networks) menjadi

sebuah jaringan yang tersambung

• Perangkat yang digunakan:

– Bridge: menyambungkan dua buah tipe

jaringan yang berbeda

(32)

Intranet

• Jaringan bersifat lokal atau private dan internal

• Layanan sama dengan Internet:

– Email (smtp)

– W eb (http)

– Transfer file (ftp)

– Chatting

– Video conference

– Audio and Video Streaming

• Dengan demikian protokol yang digunakan di intranet

juga sama dengan Internet, yaitu TCP/IP

(33)

Gambar

Tabel Routing
Tabel Routing
Tabel Routing
Tabel Routing
+7

Referensi

Dokumen terkait

game 3d simulasi penanggulangan dan evakuasi kebakaran di politeknik negeri batam dan hasilnya keseluruahan dari objek yang di buat serta fungsi game yang di rencanakan

Dari analisis sekolah efektif dalam perspektif mutu pendidikan, dapat dikatakan bahwa sekolah yang efektif adalah sekolah yang: (1) memiliki masukan siswa dengan potensi

Namun sisi menarik pembahasannya bahwa ketika Individu berinteraksi dengan kehidupan sosial budaya (anggota kelompok) berpengaruh terhadap perilaku keduanya.. Dan,

What the types of translation adjustment are used by the translator in translating personification and simile expressions in The Street Lawyer novel

You need to give the nucleus some food stores, so select a couple of frames of brood which have some capped stores and place in the nucleus as the first and fifth frame..

diperoleh alternatif lokasi yang paling optimal adalah Desa Tempurukan de- ngan persentase sebesar 42%. Kemu- dian Desa Suka Bangun mendapat persentase sebesar 38% dan Desa

Penggunaan modal kerja PT Semen Baturaja (Persero) Tbk belum efisien, karena perusahaan belum mampu membayar hutang jangka pendek sehingga perusahaan tidak berada

Sama dengan yang terjadi Kalimantan Barat dan Jakarta, menguatnya kelompok intoleran di Yogyakarta memberikan kontribusi besar bagi banyaknya praktik pelanggaran terhadap