CCNA 2 CHAPTER 1
Characteristics of a Network
- Topology - There are physical and logical topologies. The physical topology is the arrangement of the cables, network devices, and end systems. It describes how the network devices are actually interconnected with wires and cables. The logical topology is the path over which the data is transferred in a network. It describes how the network devices appear connected to network users.
- Speed - Speed is a measure of the data rate in bits per second (b/s) of a given link in the network.
- Cost - Cost indicates the general expense for purchasing of network components, and installation and maintenance of the network.
- Security - Security indicates how protected the network is, including the information that is transmitted over the network. The subject of security is important, and techniques and practices are constantly evolving. Consider security whenever actions are taken that affect the network.
- Availability - Availability is the likelihood that the network is available for use when it is required.
- Scalability - Scalability indicates how easily the network can accommodate more users and data transmission requirements. If a network design is optimized to only meet current requirements, it can be very difficult and expensive to meet new needs when the network grows.
- Reliability - Reliability indicates the dependability of the components that make up the network, such as the routers, switches, PCs, and servers. Reliability is often measured as a probability of failure or as the mean time between failures (MTBF).
- Topologi - Ada topologi fisik dan logis. Topologi fisik adalah pengaturan kabel, perangkat jaringan, dan sistem akhir. Ini menjelaskan bagaimana perangkat jaringan sebenarnya saling berhubungan dengan kabel dan kabel. Topologi logis adalah jalur di mana data ditransfer dalam jaringan. Ini menjelaskan bagaimana perangkat jaringan tampak terhubung ke pengguna jaringan.
- Kecepatan - Kecepatan adalah ukuran kecepatan data dalam bit per detik (b / s) dari tautan yang diberikan dalam jaringan.
- Biaya - Biaya menunjukkan biaya umum untuk pembelian komponen jaringan, dan pemasangan dan pemeliharaan jaringan.
- Keamanan - Keamanan menunjukkan seberapa dilindungi jaringan, termasuk informasi yang dikirimkan melalui jaringan. Subjek keamanan itu penting, dan teknik serta praktik terus berkembang. Pertimbangkan keamanan setiap kali diambil tindakan yang mempengaruhi jaringan.
- Ketersediaan - Ketersediaan adalah kemungkinan jaringan tersedia untuk digunakan saat diperlukan.
- Skalabilitas - Skalabilitas menunjukkan seberapa mudah jaringan dapat mengakomodasi lebih banyak pengguna dan persyaratan transmisi data. Jika desain jaringan dioptimalkan untuk hanya memenuhi persyaratan saat ini, bisa sangat sulit dan mahal untuk memenuhi kebutuhan baru ketika jaringan tumbuh.
- Keandalan - Keandalan menunjukkan ketergantungan komponen yang membentuk jaringan, seperti router, sakelar, PC, dan server. Keandalan sering diukur sebagai probabilitas kegagalan atau sebagai waktu rata-rata antara kegagalan (MTBF)
Routers Are Computers
Most network capable devices (e.g.., computers, tablets, and smartphones) require the following components to operate, as shown in Figure 1:
- Central processing unit (CPU)
- Operating system (OS)
- Memory and storage (RAM, ROM, NVRAM, Flash, hard drive)
A router is essentially a specialized computer. It requires a CPU and memory to temporarily and permanently store data to execute operating system instructions, such as system initialization, routing functions, and switching functions.
Sebagian besar perangkat yang mampu jaringan (mis., Komputer, tablet, dan smartphone) memerlukan komponen berikut untuk beroperasi, seperti yang ditunjukkan pada Gambar 1:
- Central processing unit (CPU)
- Sistem operasi (OS)
- Memori dan penyimpanan (RAM, ROM, NVRAM, Flash, hard drive)
Router pada dasarnya adalah komputer khusus. Ini membutuhkan CPU dan memori untuk sementara dan secara permanen menyimpan data untuk menjalankan instruksi sistem operasi, seperti inisialisasi sistem, fungsi routing, dan fungsi switching.
Routers Choose Best Paths
The primary functions of a router are to:
- Determine the best path to send packets
- Forward packets toward their destination
The router uses its routing table to determine the best path to use to forward a packet. When the router receives a packet, it examines the destination address of the packet and uses the routing table to search for the best path to that network. The routing table also includes the interface to be used to forward packets for each known network. When a match is found, the router encapsulates the packet into the data link frame of the outgoing or exit interface, and the packet is forwarded toward its destination.
It is possible for a router to receive a packet that is encapsulated in one type of data link frame, and to forward the packet out of an interface that uses a different type of data link frame. For example, a router may receive a packet on an Ethernet interface, but must forward the packet out of an interface configured with the Point-to-Point Protocol (PPP). The data link encapsulation depends on the type of interface on the router and the type of medium to which it connects. The different data link technologies that a router can connect to include Ethernet, PPP, Frame Relay, DSL, cable, and wireless (802.11, Bluetooth, etc.).
Fungsi utama router adalah untuk:
- Tentukan jalur terbaik untuk mengirim paket
- Teruskan paket ke tujuan mereka
Router menggunakan tabel peruteannya untuk menentukan jalur terbaik yang digunakan untuk meneruskan suatu paket. Ketika router menerima paket, ia memeriksa alamat tujuan paket dan menggunakan tabel routing untuk mencari jalur terbaik ke jaringan itu. Tabel routing juga termasuk antarmuka yang akan digunakan untuk meneruskan paket untuk setiap jaringan yang dikenal. Ketika kecocokan ditemukan, router mengenkapsulasi paket ke dalam bingkai data link dari antarmuka keluar atau keluar, dan paket diteruskan ke tujuannya.
Adalah mungkin bagi router untuk menerima paket yang dienkapsulasi dalam satu jenis bingkai tautan data, dan untuk meneruskan paket dari suatu antarmuka yang menggunakan berbagai jenis bingkai tautan data. Misalnya, router dapat menerima paket pada antarmuka Ethernet, tetapi harus meneruskan paket dari antarmuka yang dikonfigurasi dengan Protokol Titik-ke-Titik (PPP). Enkapsulasi tautan data tergantung pada jenis antarmuka pada router dan jenis media yang disambungkan. Teknologi data link yang berbeda yang dapat dihubungkan oleh router untuk menyertakan Ethernet, PPP, Frame Relay, DSL, kabel, dan nirkabel (802.11, Bluetooth, dll.).
Packet Forwarding Mechanisms
Routers support three packet-forwarding mechanisms:
- Process switching - An older packet forwarding mechanism still available for Cisco routers. When a packet arrives on an interface, it is forwarded to the control plane where the CPU matches the destination address with an entry in its routing table, and then determines the exit interface and forwards the packet. It is important to understand that the router does this for every packet, even if the destination is the same for a stream of packets. This process-switching mechanism is very slow and rarely implemented in modern networks.
- Fast switching - This is a common packet forwarding mechanism which uses a fast-switching cache to store next-hop information. When a packet arrives on an interface, it is forwarded to the control plane where the CPU searches for a match in the fast-switching cache. If it is not there, it is process-switched and forwarded to the exit interface. The flow information for the packet is also stored in the fast-switching cache. If another packet going to the same destination arrives on an interface, the next-hop information in the cache is re-used without CPU intervention.
- Cisco Express Forwarding (CEF) - CEF is the most recent and preferred Cisco IOS packet-forwarding mechanism. Like fast switching, CEF builds a Forwarding Information Base (FIB), and an adjacency table. However, the table entries are not packet-triggered like fast switching but change-triggered such as when something changes in the network topology. Therefore, when a network has converged, the FIB and adjacency tables contain all the information a router would have to consider when forwarding a packet. The FIB contains pre-computed reverse lookups, next hop information for routes including the interface and Layer 2 information. Cisco Express Forwarding is the fastest forwarding mechanism and the preferred choice on Cisco routers.
Router mendukung tiga mekanisme penerusan paket:
- Peralihan proses - Mekanisme penerusan paket yang lebih lama masih tersedia untuk router Cisco. Ketika sebuah paket tiba di sebuah antarmuka, itu diteruskan ke bidang kontrol di mana CPU cocok dengan alamat tujuan dengan entri di tabel routing-nya, dan kemudian menentukan antarmuka keluar dan meneruskan paket. Penting untuk memahami bahwa router melakukan ini untuk setiap paket, bahkan jika tujuannya sama untuk aliran paket. Mekanisme pengalihan proses ini sangat lambat dan jarang diterapkan di jaringan modern.
- Peralihan cepat - Ini adalah mekanisme penerusan paket umum yang menggunakan cache peralihan cepat untuk menyimpan informasi next-hop. Ketika sebuah paket tiba pada sebuah antarmuka, itu diteruskan ke bidang kontrol di mana CPU mencari kecocokan dalam cache fast-switching. Jika tidak ada, proses-switched dan diteruskan ke antarmuka keluar. Informasi aliran untuk paket juga disimpan dalam cache fast-switching. Jika paket lain yang menuju tujuan yang sama tiba pada sebuah antarmuka, informasi next-hop dalam cache digunakan kembali tanpa intervensi CPU.
- Cisco Express Forwarding (CEF) - CEF adalah mekanisme penerusan paket Cisco IOS yang paling baru dan disukai. Seperti fast switching, CEF membangun Forwarding Information Base (FIB), dan tabel kedekatan. Namun, entri tabel tidak dipicu paket seperti switching cepat tetapi perubahan-dipicu seperti ketika sesuatu berubah dalam topologi jaringan. Oleh karena itu, ketika jaringan telah konvergen, tabel FIB dan adjacency berisi semua informasi yang harus dipertimbangkan router ketika meneruskan paket. FIB berisi pencarian balik pra-komputasi, informasi hop berikutnya untuk rute termasuk antarmuka dan informasi Layer 2. Cisco Express Forwarding adalah mekanisme penerusan tercepat dan pilihan yang disukai pada router Cisco.
Connect to a Network
Network devices and end users typically connect to a network using a wired Ethernet or wireless connection. Refer to the figure as a sample reference topology. The LANs in the figure serve as an example of how users and network devices could connect to networks.
Home Office devices can connect as follows:
- Laptops and tablets connect wirelessly to a home router.
- A network printer connects using an Ethernet cable to the switch port on the home router.
- The home router connects to the service provider cable modem using an Ethernet cable.
- The cable modem connects to the Internet service provider (ISP) network.
The Branch site devices connect as follows:
- Corporate resources (i.e., file servers and printers) connect to Layer 2 switches using Ethernet cables.
- Desktop PCs and voice over IP (VoIP) phones connect to Layer 2 switches using Ethernet cables.
- Laptops and smartphones connect wirelessly to wireless access points (WAPs).
- The WAPs connect to switches using Ethernet cables.
- Layer 2 switches connect to an Ethernet interface on the edge router using Ethernet cables. An edge router is a device that sits at the edge or boundary of a network and routes between that network and another, such as between a LAN and a WAN.
- The edge router connects to a WAN service provider (SP).
- The edge router also connects to an ISP for backup purposes.
The Central site devices connect as follows:
- Desktop PCs and VoIP phones connect to Layer 2 switches using Ethernet cables.
- Layer 2 switches connect redundantly to multilayer Layer 3 switches using Ethernet fiber-optic cables (orange connections).
- Layer 3 multilayer switches connect to an Ethernet interface on the edge router using Ethernet cables.
- The corporate website server is connected using an Ethernet cable to the edge router interface.
- The edge router connects to a WAN SP.
- The edge router also connects to an ISP for backup purposes.
In the Branch and Central LANs, hosts are connected either directly or indirectly (via WAPs) to the network infrastructure using a Layer 2 switch.
Perangkat jaringan dan pengguna akhir biasanya terhubung ke jaringan menggunakan Ethernet berkabel atau koneksi nirkabel. Merujuk pada gambar sebagai topologi referensi sampel. LAN pada gambar berfungsi sebagai contoh bagaimana pengguna dan perangkat jaringan dapat terhubung ke jaringan.
Perangkat Home Office dapat terhubung sebagai berikut:
- Laptop dan tablet terhubung secara nirkabel ke router rumah.
- Printer jaringan terhubung menggunakan kabel Ethernet ke port switch pada router rumah.
- Router rumah terhubung ke modem kabel penyedia layanan menggunakan kabel Ethernet.
- Modem kabel terhubung ke jaringan penyedia layanan Internet (ISP).
Perangkat situs Cabang terhubung sebagai berikut:
- Sumber daya perusahaan (yaitu, server file dan printer) terhubung ke sakelar Layer 2 menggunakan kabel Ethernet.
- PC desktop dan telepon voice over IP (VoIP) terhubung ke sakelar Layer 2 menggunakan kabel Ethernet.
- Laptop dan smartphone terhubung secara nirkabel ke titik akses nirkabel (WAP).
- WAP terhubung ke sakelar menggunakan kabel Ethernet.
- Sakelar Layer 2 terhubung ke antarmuka Ethernet pada router tepi menggunakan kabel Ethernet. Router tepi adalah perangkat yang berada di tepi atau batas jaringan dan merutekan antara jaringan itu dan yang lainnya, seperti antara LAN dan WAN.
- Perute tepi terhubung ke penyedia layanan WAN (SP).
- Router tepi juga terhubung ke ISP untuk tujuan pencadangan.
Perangkat situs Central terhubung sebagai berikut:
- PC Desktop dan telepon VoIP terhubung ke sakelar Layer 2 menggunakan kabel Ethernet.
- Sakelar Layer 2 terhubung secara berlebihan ke sakelar Layer 3 multilayer menggunakan kabel serat optik Ethernet (koneksi oranye).
- Sakelar multilayer Layer 3 terhubung ke antarmuka Ethernet pada router tepi menggunakan kabel Ethernet.
- Server situs web perusahaan terhubung menggunakan kabel Ethernet ke antarmuka router tepi.
- Perute tepi terhubung ke WAN SP.
- Router tepi juga terhubung ke ISP untuk tujuan pencadangan.
Di Cabang dan LAN Pusat, host terhubung baik secara langsung atau tidak langsung (melalui WAP) ke infrastruktur jaringan menggunakan sakelar Layer 2.
Default Gateways
To enable network access, devices must be configured with IP address information to identify the appropriate:
- IP address - Identifies a unique host on a local network.
- Subnet mask - Identifies with which network subnet the host can communicate.
- Default gateway - Identifies the IP address of the router to send a packet to when the destination is not on the same local network subnet.
When a host sends a packet to a device that is on the same IP network, the packet is simply forwarded out of the host interface to the destination device.
When a host sends a packet to a device on a different IP network, then the packet is forwarded to the default gateway, because a host device cannot communicate directly with devices outside of the local network. The default gateway is the destination that routes traffic from the local network to devices on remote networks. It is often used to connect a local network to the Internet.
The default gateway is usually the address of the interface on the router connected to the local network. The router maintains routing table entries of all connected networks as well as entries of remote networks, and determines the best path to reach those destinations.
Untuk mengaktifkan akses jaringan, perangkat harus dikonfigurasikan dengan informasi alamat IP untuk mengidentifikasi yang sesuai:
- Alamat IP - Mengidentifikasi host unik di jaringan lokal.
- Subnet mask - Mengidentifikasi dengan subnet jaringan mana host dapat berkomunikasi.
- Gateway default - Mengidentifikasi alamat IP router untuk mengirim paket ketika tujuan tidak pada subnet jaringan lokal yang sama.
Ketika sebuah host mengirim paket ke perangkat yang ada di jaringan IP yang sama, paket tersebut hanya diteruskan dari antarmuka host ke perangkat tujuan.
Ketika sebuah host mengirim paket ke perangkat di jaringan IP yang berbeda, maka paket tersebut diteruskan ke gateway default, karena perangkat host tidak dapat berkomunikasi secara langsung dengan perangkat di luar jaringan lokal. Gateway default adalah tujuan yang mengarahkan lalu lintas dari jaringan lokal ke perangkat di jaringan jarak jauh. Ini sering digunakan untuk menghubungkan jaringan lokal ke Internet.
Gateway default biasanya adalah alamat antarmuka pada router yang terhubung ke jaringan lokal. Router mempertahankan entri tabel perutean dari semua jaringan yang terhubung serta entri jaringan jarak jauh, dan menentukan jalur terbaik untuk mencapai tujuan tersebut.
Document Network Addressing
When designing a new network or mapping an existing network, document the network. At a minimum, the documentation should identify:
- Device names
- Interfaces used in the design
- IP addresses and subnet masks
- Default gateway addresses
Saat merancang jaringan baru atau memetakan jaringan yang ada, dokumentasikan jaringan tersebut. Minimal, dokumentasi harus mengidentifikasi:
- Nama perangkat
- Antarmuka yang digunakan dalam desain
- Alamat IP dan subnet mask
- Alamat gateway default
Enable IP on a Host
A host can be assigned IP address information either:
- Statically - The host is manually assigned the correct IP address, subnet mask, and default gateway. The DNS server IP address can also be configured.
- Dynamically - IP address information is provided by a server using the Dynamic Host Configuration Protocol (DHCP). The DHCP server provides a valid IP address, subnet mask, and default gateway for end devices. Other information may be provided by the server.
Tuan rumah dapat diberi informasi alamat IP baik:
- Statically - Host secara manual menetapkan alamat IP, subnet mask, dan gateway default yang benar. Alamat IP server DNS juga dapat dikonfigurasi.
- Secara dinamis - informasi alamat IP disediakan oleh server menggunakan Dynamic Host Configuration Protocol (DHCP). Server DHCP memberikan alamat IP, subnet mask, dan gateway default yang valid untuk perangkat akhir. Informasi lain mungkin disediakan oleh server.
Device LEDs
Host computers connect to a wired network using a network interface and RJ-45 Ethernet cable. Most network interfaces have one or two LED link indicators next to the interface. Typically, a green LED means a good connection while a blinking green LED indicates network activity.
If the link light is not on, then there may be a problem with either the network cable or the network itself. The switch port where the connection terminates would also have an LED indicator lit. If one or both ends are not lit, try a different network cable.
Komputer host terhubung ke jaringan berkabel menggunakan antarmuka jaringan dan kabel RJ-45 Ethernet. Sebagian besar antarmuka jaringan memiliki satu atau dua indikator tautan LED di sebelah antarmuka. Biasanya, LED hijau berarti koneksi yang baik sementara LED hijau yang berkedip menunjukkan aktivitas jaringan.
Jika lampu tautan tidak menyala, maka mungkin ada masalah dengan kabel jaringan atau jaringan itu sendiri. Port switch di mana koneksi berakhir juga akan memiliki indikator LED menyala. Jika salah satu atau kedua ujungnya tidak menyala, coba kabel jaringan yang berbeda.
Console Access
In a production environment, infrastructure devices are commonly accessed remotely using Secure Shell (SSH) or HyperText Transfer Protocol Secure (HTTPS). Console access is really only required when initially configuring a device, or if remote access fails.
Console access requires:
- Console cable - RJ-45-to-DB-9 serial cable or a USB serial cable
- Terminal emulation software - Tera Term, PuTTY, HyperTerminal
The cable is connected between the serial port of the host and the console port on the device. Most computers and notebooks no longer include built-in serial ports. If the host does not have a serial port, the USB port can be used to establish a console connection. A special USB-to-RS-232 compatible serial port adapter is required when using the USB port.
The Cisco ISR G2 supports a USB serial console connection. To establish connectivity, a USB Type-A to USB Type-B (mini-B USB) is required, as well as an operating system device driver. This device driver is available from www.cisco.com. Although these routers have two console ports, only one console port can be active at a time. When a cable is plugged into the USB console port, the RJ-45 port becomes inactive. When the USB cable is removed from the USB port, the RJ-45 port becomes active.
The table in Figure 1 summarizes the console connection requirements. Figure 2 displays the various ports and cables required.
Dalam lingkungan produksi, perangkat infrastruktur biasanya diakses dari jarak jauh menggunakan Secure Shell (SSH) atau HyperText Transfer Protocol Secure (HTTPS). Akses konsol benar-benar hanya diperlukan saat mengkonfigurasi perangkat pada awalnya, atau jika akses jarak jauh gagal.
Akses konsol membutuhkan:
- Kabel konsol - kabel serial RJ-45-to-DB-9 atau kabel serial USB
- Perangkat lunak emulasi terminal - Tera Term, Putty, HyperTerminal
Kabel terhubung antara port serial host dan port konsol di perangkat. Sebagian besar komputer dan notebook tidak lagi menyertakan port serial bawaan. Jika host tidak memiliki port serial, port USB dapat digunakan untuk membuat koneksi konsol. Diperlukan adaptor port serial yang kompatibel dengan USB-ke-RS-232 ketika menggunakan port USB.
Cisco ISR G2 mendukung koneksi konsol serial USB. Untuk membangun konektivitas, USB Tipe-A ke USB Tipe-B (mini-B USB) diperlukan, serta driver perangkat sistem operasi. Driver perangkat ini tersedia dari www.cisco.com . Meskipun router ini memiliki dua port konsol, hanya satu port konsol yang dapat aktif pada suatu waktu. Ketika kabel dicolokkan ke port konsol USB, port RJ-45 menjadi tidak aktif. Ketika kabel USB dilepas dari port USB, port RJ-45 menjadi aktif.
Tabel pada Gambar 1 merangkum persyaratan koneksi konsol. Gambar 2 menampilkan berbagai port dan kabel yang dibutuhkan.
Komentar
Posting Komentar