manajemen jaringan komputer - cs.unsyiah.ac.idfrdaus/penelusuraninformasi/file-pdf/mi411... ·...

29
Manajemen Jaringan Komputer Routing JTI FTI UII, Genap 2009/2010, Sofyan Wijaya Ref APNIC Training Course 2008, Advanced Routing, Routing Principles

Upload: ngothuan

Post on 02-Mar-2019

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Manajemen Jaringan Komputer

Routing

JTI FTI UII, Genap 2009/2010, Sofyan Wijaya

Ref APNIC Training Course 2008, Advanced Routing, Routing Principles

Page 2: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Indeks

Route Summarization / Agregation

Routing Protocol

Page 3: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Route Summarization /

Agregation

Page 4: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Route Summarization/Aggregation

Untuk mempresentasikan beberapa seri networks

menjadi 1 buah alamat saja

Keuntungan dari route summarization

Konvergensi lebih cepat

Mengurangi ukuran routing table

Mempermudah

Menyembunyikan perubahan pada jaringan dalam

Mengisolasi perubahan topologi

Page 5: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Contoh Summarization Router C summarises its networks (2 x/24) before announcing to its

neighbors (routers B and D)

Router A combined the networks received from B, C, D and announce it as single /16 routing to Internet

193.168.64.0/20

193.168.128.0/20

193.168.0.0/24193.168.0.0/16

193.168.128.0/20

193.168.0.0/23

193.168.64.0/20

193.168.1.0/24

Internet

A

B

C

D

Page 6: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Route Summarization

Subnet 193.168.0.0/24 and 193.168.1.0/24 combining then to become a bigger block of address “/23”

Network Subnet Mask Binary

193.168.0.0 255.255.255.0 x.x.00000000.x

193.168.1.0 255.255.255.0 x.x.00000001.x

Summary 193.168.0.0/23 x.x.00000000.x

193.168.0.0 255.255.254.0 x.x.00000000.x

Page 7: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Konfigurasi Summarization

Manual configuration is required with the use of

newer routing protocols

Each of the routing protocols deal with it in a slightly

different way

All routing protocols employ some level of automatic

summarisation depending on the routing protocol

behavior (be cautious about it)

Page 8: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Discontiguous Networks

A network not using routing protocol that support VLSM creates problem Router will not know where to send the traffic

Creates routing loop or duplication

Summarisation is not advisable to network that are discontiguous Turn off summarisation

Alternative solution but understand the scaling limitation

Find ways to re-address the network

Can create disastrous situation

Page 9: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Discontiguous Network

In classful routing those subnets are not advertised to different part of the network because of the automatic bit boundary assumptions

Those network subnets are not visible to each other

C

192.168.32.4

192.168.32.0

BA

172.168.0.0

172.168.100.4

172.168.0.0

Frame Relay

192.169.0.0

IP datagram

DA=172.168.100.4

SA=192.168.32.4

Router C

Routing Table

Network Next Hop Outgoing

172.168.0.0 ????? ?????

Page 10: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Routing Protocol

Page 11: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Apakah itu Routing Protocol?

A set of rules defined to facilitate the exchanges

of routing information between routers (Layer 3

device) inside networks

Build routing tables dynamically to let the route

find its path in a network having more than one

path to a remote network.

Maintains the devices connectivity within the

network about the available network connections.

Page 12: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Perilaku Routing Protocol

Mechanism to update Layer 3 routing devices, to

route the data across the best path

Learns participating routers advertised routes to

know their neighbors

Learned routes are stored inside the routing table

Page 13: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Kebutuhan dalam Routing

Activation of the protocol suite from such device

participating the network

Knowledge of the network destination

Must have available entry in the routing table

Must have valid and current route entry

Interface presenting the best route path

Outbound interface with the lowest metric path

Page 14: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Informasi dalam Routing Table

Network Field

Outgoing Interface

Metric Field

Next-hop field

Page 15: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Network Field

Contains information of entries

Networks learned (destination logical network or subnets)

Manually (static or default routes)

Dynamically (learned from routing protocol as dynamic routes)

Information recorded is the entry where to forward traffic

to its destination when the datagram is received

Page 16: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Outgoing Interface Field

Interface to where the router sends the datagram

Informs the administrator of interface where the

update came through

Page 17: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Metric Field

To determinte which path to use if there are multiple

paths to the remote network

Provide the value to select the best path

But take note the administrative distance selection

process

Page 18: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Routing protocol metrics

Routing protocol Metric

RIPv2 Hop count

EIGRP Bandwidth, delay, load, reliability, MTU

OSPF Cost (the higher the bandwidth indicates a

lowest cost)

IS-IS Cost

Page 19: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Administrative distance

Is the method used for selection of route priority of IP routing protocol, the lowest administrative distance is preferred Manually entered routes are preferred from dynamically

learned routes Static routes

Default routes

Dynamically learned routes depend on the routing protocol metric calculation algorithm and default metrics values the smallest metric value are preferred

Page 20: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Next hop field

Destination address of the next forwarding router

Address of the next hop (outgoing interface) usually within

the same subnet

Identify the next hop so that the router can create the

layer2 frame with the destination address

Page 21: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Routing table updates

Routing table entry accuracy is required make sure of the following: Table entry are current and correct New networks are inserted in the table Best path is available to reach the destination network Alternative routes are available to reach the destination

network Networks that is no longer available should not be seen

in the routing table

Depends on the routing protocol

Page 22: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Routing decisions

The main goal of the routing decision is to maintain a

valid and free from routing loop to the destination network

regardless of whether it is single path or multiple path

The decision is made base on the metric value in the

routing table

sum of the metrics associated with the default routing protocol

value and the intermediate connections

Page 23: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Types of routing protocols

Routing protocol are essentially application inside

the router to designed to ensure correct and timely

exchange of information within the network

IP routing protocol has several distinctions which can

be divided into different groups

The first is the group is on how the routing protocol

handles the subnet mask sent during the routing update

The early routing protocol doesn’t support this but the

newer one’s like (RIP2, OSPF, ISIS, BGP4) supports it,

this distinction is called “classful and classless”

Page 24: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Classful routing protocol (obsolete)

Periodic updates is done by the routing protocol

does not carry subnet or routing mask because the

assumption is always based on network bit boundaries

does not support VLSM which makes it inefficient for

addressing the network

This was obsolete for long time but for knowledge

purposes there are two protocols design for it.

RIPv1

IGRP

It has created constrains to the IP network design

due to its limitations

Page 25: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Classless routing protocol

Classless routing protocol was designed to

overcome the constraint from classful

OSPF

IS-IS

EIGRP (Cisco)

BGP

leads also to the development of RIP2

Page 26: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Characteristics of classless

Support for different subnets mask value

Routers can be configured to have different subnet mask

(VLSM)

Supports routes summarisation

Manual configuration

Supports for Classless Interdomain Routing (CIDR)

architecture

Page 27: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Routing Protocol by AS

Interior Gateway Protocol

RIP

OSPF

GGP

HELLO

IGRP

EIGRP

Exterior Gateway Protocol

BGP

EGP

Page 28: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Kuis

Routing Table?

Aggregate?

Page 29: Manajemen Jaringan Komputer - cs.unsyiah.ac.idfrdaus/PenelusuranInformasi/File-Pdf/MI411... · Dynamically (learned from routing protocol as dynamic routes) ... Dikumpulkan dalam

Problem Solving, Pemicunya… Ibaratnya kalian adalah team it consultant yang diminta untuk mendesain jaringan komputer di

kampus UII, kebutuhan dari UII adalah untuk memberikan fasilitas kepada mahasiswa

Kondisi UII

Belum terkon

Terdiri dari fakultas FTSP, FMIPA, FTI, FK

Ada kemungkinan pengembangan jaringan

Kebutuhannya berupa

Layanan SIM dan internet gratis dengan login

Layanan jaringan baik menggunakan kabel dan hospot hingga ke fakultas

Antara jaringan umum untuk akses internet dengan jaringan khusus untuk akses SIM, terproteksi

Dilakukan filter juga untuk akses internet

Dosen atau karyawan yang akan bekerja dari rumah diberikan jalur private agar dalam terhubung kejaringan lokal UII

Perlu pengaturan Alokasi bandwidth untuk akses ke internet

Identifikasi dan buatkan gambaran tentang

Desain jaringan

Alokasi IP Address

Router dan Server-Server yang dibutuhkan

Service yang harus ada

Dikumpulkan dalam bentuk file presentasi, dan dipresentasikan