1 / 40

Pemrograman Jaringan

Pemrograman Jaringan. Routing Concept. Aurelio Rahmadian. Objektif. Pengenalan Router = Komputer WAN Protocol Bagian-bagian Router Dokumentasi Perancangan Konsep Routing Static Routing Dynamic Routing Prinsip Routing Table. Pengenalan.

morton
Download Presentation

Pemrograman Jaringan

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pemrograman Jaringan Routing Concept Aurelio Rahmadian

  2. Objektif • Pengenalan • Router = Komputer • WAN Protocol • Bagian-bagian Router • DokumentasiPerancangan • Konsep Routing • Static Routing • Dynamic Routing • Prinsip Routing Table

  3. Pengenalan • Router merupakanperangkat yang beradaditengahjaringan • Secarasederhana, dapatdikatakanbahwa router menghubungkansatujaringandenganlainnya • Router bertanggungjawabuntukpengiriman packet melaluijaringan yang berbeda

  4. Pengenalan • Saatini router jugaditambahkanpadasatelitdiluarangkasa. Router inimampumenjalurkan traffic IP antarasatelit-satelit yang adadengancara yang samaseperti packet yang bergerakdibumisehinggadapatmengurangi delay danmemberikanfleksibilitas yang lebihbaik

  5. Pengenalan • Tanggungjawabutamanyaadalahmeneruskan (forwarding) packet darisatujaringankejaringan lain • Hal inidimungkinkankarenakemampuan router untukmenjalurkan packet antarjaringansehinggadivais yang beradapadajaringan yang berbedadapatsalingberkomunikasi

  6. Router = Komputer • Router memilikibanyakkomponen hardware dan software yang jugaditemuidiperangkatkomputer lain, mencakup: • CPU • RAM • ROM • Operating System

  7. Router = Komputer • Router menghubungkanbeberapajaringan, artinya router memilikibeberapa interface yang masing-masingmerupakanbagiandarijaringan yang berbeda • Ketikamenerima packet IP padasalahsatu interface, router menentukan interface mana yang akandigunakanuntukmeneruskan packet tersebut agar sampaiketempattujuan. Interface yang digunakanuntukmeneruskandapatberupa: • the network of the final destination of the packet (the network with the destination IP address of this packet) - LAN • network connected to another router that is used to reach the destination network - WAN

  8. Router = Komputer • Tanggungjawabutama router adalahmeneruskan packet ketujuannya, dengancara: • Menentukanjalurterbaikuntukmengirim packet • Meneruskan packet ketujuan

  9. Router = Komputer • Router menggunakan routing table yang dimilikiuntukmenentukanjalurterbaik • Saatmenerima packet, router memeriksa destination IP address dari packet tersebutdanmencocokkanalamattersebutdengan routing table • Routing table mencakup interface yang digunakanuntukmeneruskan packet

  10. Router = Komputer • Sangatmemungkinkanbahwasuatu router akanmenerima packet yang dienkapsulasidengansuatujenis data link fram, seperti Ethernet, tetapikemudianmeneruskan packet tersebutdenganjenisenkapsulasidata link frame yang berbeda, misalnya Point-to-Point Protocol (PPP) • Enkapsulasi data link tergantungpadajenis interface pada router danjenis media yang terhubungdengannya

  11. DTE DCE

  12. WAN Protocol • High-Level Data Link Control (HDLC) • Point-to-Point Protocol (PPP) • Frame Relay

  13. Bagian-bagian Router Power Supply WIC Shield WIC Shield NVRAM CPU SDRAM Fan

  14. Bagian-bagian Router Console Port High Speed WIC (HWIC) USB Port Flash Memory Power Cable Connector Fast Ethernet Port Auxiliary Port

  15. Bagian-bagian Router • CPU The CPU executes operating system instructions, such as system initialization, routing functions, and switching functions. • RAM RAM stores the instructions and data needed to be executed by the CPU. RAM is used to store these components: • Operating System: The Cisco IOS (Internetwork Operating System) is copied into RAM during bootup. • Running Configuration File: This is the configuration file that stores the configuration commands that the router IOS is currently using. With few exceptions, all commands configured on the router are stored in the running configuration file, known as running-config. • IP Routing Table: This file stores information about directly connected and remote networks. It is used to determine the best path to forward the packet. • ARP Cache: This cache contains the IPv4 address to MAC address mappings, similar to the ARP cache on a PC. The ARP cache is used on routers that have LAN interfaces such as Ethernet interfaces. • Packet Buffer: Packets are temporarily stored in a buffer when received on an interface or before they exit an interface.

  16. Bagian-bagian Router • RAM is volatile memory and loses its content when the router is powered down or restarted.

  17. Bagian-bagian Router • ROM ROM is a form of permanent storage. Cisco devices use ROM to store: • The bootstrap instructions • Basic diagnostic software • Scaled-down version of IOS • Flash Memory Flash memory is nonvolatile computer memory that can be electrically stored and erased. Flash is used as permanent storage for the operating system, Cisco IOS. In most models of Cisco routers, the IOS is permanently stored in flash memory and copied into RAM during the bootup process, where it is then executed by the CPU.

  18. Bagian-bagian Router • NVRAM NVRAM (Nonvolatile RAM) does not lose its information when power is turned off. This is in contrast to the most common forms of RAM, such as DRAM, that requires continual power to maintain its information. NVRAM is used by the Cisco IOS as permanent storage for the startup configuration file (startup-config). • ROM, flash memory, and NVRAM does not lose its contents when the router loses power or is restarted.

  19. DokumentasiPerancangan

  20. DokumentasiPerancangan • When configuring a router, certain basic tasks are performed including: • Naming the router • Setting passwords • Configuring interfaces • Configuring a banner • Saving changes on a router • Verifying basic configuration and router operations

  21. Konsep Routing • Remote networks ditambahkanpada routing table dengankonfigurasi static route ataumenggunakan dynamic routing protocol • Ketika OS mengetahuiadanyasebuah remote network dan interface yang akandigunakanuntukmencapaijaringantersebut, jalurtersebutakanditambahkanke routing table selama interface tersebutaktif

  22. Static Routing • Static route mencakup network address dan subnet mask dari remote network, diikutidengan IP address dari next-hop router atau exit interface • Static route ditandaidengankode ‘S’ pada routing table

  23. Static Routing • Keuntungannya: • Meringankankerjaprosesor yang adapada router • Tidakada bandwidth yang digunakanuntukpertukaraninformasi routing table antar router • Tingkat keamananlebihtinggivsmekanismelainnya • Kekurangannya: • Admin harusmengetahuiinformasitiap-tiap router yang terhubungjaringan • Jikaterdapatpenambahan/perubahantopologijaringan, admin harusmengubahisi routing table • Tidakcocokuntukjaringan yang besar

  24. Static Routing Saat-saatuntukmenggunakan static routing: • A network consists of only a few routers. Using a dynamic routing protocol in such a case does not present any substantial benefit. On the contrary, dynamic routing may add more administrative overhead. • A network is connected to the Internet only through a single ISP. There is no need to use a dynamic routing protocol across this link because the ISP represents the only exit point to the Internet. • A large network is configured in a hub-and-spoke topology. A hub-and-spoke topology consists of a central location (the hub) and multiple branch locations (spokes), with each spoke having only one connection to the hub. Using dynamic routing would be unnecessary because each branch has only one path to a given destination-through the central location.

  25. Dynamic Routing • Dynamic routing protocols digunakan router untukmembagiinformasitentangjaringan yang dapatdijangkau. Routing protocol melakukanbeberapaaktifitasmencakup: • Network discovery • Updating and maintaining routing tables

  26. Dynamic Routing • Kategorialgoritma routing: • Distance vector • Link state

  27. Dynamic Routing • Distance Vector • Routing information is only exchanged between directly connected neighbors • This means a router knows from which neighbor a route was learned, but it does not know where that neighbor learned the route; a router can't see beyond its own neighbors • This aspect of distance vector routing is sometimes referred to as "routing by rumor.“ • Also known as Bellman-Ford algorithm

  28. Dynamic Routing • Link State • Requires that all routers know about the paths reachable by all other routers in the network • Link-state information is flooded throughout the link-state domain to ensure all routers posses a synchronized copy of the area's link-state database • From this common database, each router constructs its own relative shortest-path tree, with itself as the root, for all known routes • Also known as Dijkstra’s algorithm

  29. Dynamic Routing

  30. Dynamic Routing • Distance Vector

  31. Dynamic Routing • Link State

  32. Dynamic Routing • Link State

  33. Dynamic Routing • Adabeberapa routing protocol yang tersedia. Berikutadalahbeberapa routing protocol yang umumdigunakanuntukmenjalurkan packet IP: • RIP (Routing Information Protocol) • IGRP (Interior Gateway Routing Protocol) • EIGRP (Enhanced Interior Gateway Routing Protocol) • OSPF (Open Shortest Path First) • IS-IS (Intermediate System-to-Intermediate System) • BGP (Border Gateway Protocol)

  34. Dynamic Routing

  35. Dynamic Routing • Routing protocol interior didesainuntukjaringan yang dikontrololehsuatuorganisasi. Kriteriadisainuntuk routing protocol interior untukmencarijalurterbaikpadajaringan • Routing protocol eksteriordidesainuntukpenggunaanantaraduajaringan yang berbeda yang dikontrololehduaorganisasi yang berbeda. Umumnyadigunakanantara ISP dengan ISP atauantara ISP denganperusahaan

  36. Prinsip Routing Table • Every router makes its decision alone, based on the information it has in its own routing table. • The fact that one router has certain information in its routing table does not mean that other routers have the same information. • Routing information about a path from one network to another does not provide routing information about the reverse, or return, path.

More Related