* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Routing & Addressing
Computer network wikipedia , lookup
Network tap wikipedia , lookup
Parallel port wikipedia , lookup
Wireless security wikipedia , lookup
Point-to-Point Protocol over Ethernet wikipedia , lookup
Zero-configuration networking wikipedia , lookup
Serial digital interface wikipedia , lookup
Piggybacking (Internet access) wikipedia , lookup
Multiprotocol Label Switching wikipedia , lookup
資訊網路專題 Router & Practice 2017/5/25 1 Router Basics • Computers have four basic components: a CPU, memory, interfaces, and a bus. – A router also has these components • Router can also be called a computer – However, it is a special purpose computer that is dedicated to routing 2017/5/25 2 Router Components 2017/5/25 3 Internal Configuration Components of a Router • • • • • RAM/DRAM NVRAM -- nonvolatile RAM Flash -- erasable, re-programmable ROM ROM Interface – Include console port 2017/5/25 4 RAM for working Storage 2017/5/25 5 NVRAM • NVRAM -- NonVolatile RAM – stores a router’s backup/startup configuration file – content remains when you power down or restart. 2017/5/25 6 Flash • Erasable, re-programmable ROM • Holds the operating system image and microcode 2017/5/25 7 ROM • Contains – power-on diagnostics – a bootstrap program, and – operating system software 2017/5/25 8 Interface • Network connection through which packets enter and exit a router • It can be on the motherboard or on a separate interface module • Also contains console & Aux ports 2017/5/25 9 Router Internal Components (an example) 2017/5/25 10 What does Router Look Like? (Cisco 2600) 2017/5/25 11 What does Router Look Like? (2600) 2017/5/25 12 What does Router Look Like? (2600) 2017/5/25 13 Computer Console Connection 2017/5/25 14 Connecting PC to Console Port - 1 2017/5/25 15 Connecting PC to Console Port - 1 2017/5/25 16 Router Serial WAN Connectors 2017/5/25 17 DCE Serial Connections 2017/5/25 18 Modem Connection to Aux Port 2017/5/25 19 WAN Router Connection 2017/5/25 20 Router Configuration 2017/5/25 21 Router Startup 2017/5/25 22 Startup Sequence 2017/5/25 23 Configuring a Router • You can configure a router from – a virtual (remote) terminal – a modem connection – a console terminal – a network TFTP server • which allows you to maintain and store configuration information at a central site 2017/5/25 24 How to Access the CLI (or Router Configuration Sources) 2017/5/25 25 User & Privileged Modes 2017/5/25 26 User & Privileged Modes • User mode – Typical tasks include those that check the router status. In this mode, router configuration changes are not allowed. • Privileged mode – Typical tasks include those that change the router configuration. 2017/5/25 27 2017/5/25 28 2017/5/25 A lot more commands …. 29 2017/5/25 30 Show Configuration • show running-config (write term, for IOS 10.3 & earlier) • show startup-config (show config, for IOS 10.3 & earlier) 2017/5/25 31 show interface • displays configurable parameters and real-time statistics related to router interfaces 2017/5/25 32 Router Modes 2017/5/25 33 Router Configuration Modes • Global • Interface • Routing Protocol mode 2017/5/25 34 2017/5/25 35 Router Identification Configuration 2017/5/25 36 Password Configuration 2017/5/25 37 2017/5/25 38 Routing Protocol Configuration • Router> enable Router# config t Router(config)# router igrp 100 (or router rip) Router(config-router)# network x.x.x.0 (or net x.x.x.0, for all connected networks) 10.1.1.1 / 24 10.10.10.1 / 24 Router(config-router)#network 10.1.1.0 Router(config-router)#network 10.10.10.0 2017/5/25 39 2017/5/25 40 IP address configuration • Router> Router> enable Router# config t Router(config)# interface serial 0 (or int s0) Router(config-if)# ip address 10.1.1.1 255.255.255.0 Router(config-if)# no shutdown (or no shut) 2017/5/25 41 Basic Networking Testing 2017/5/25 42 telnet 2017/5/25 Can use the following commands, too 43 If telnet fails • If Telnet to one router can occur, but failure to another router occurs, it is likely that specific addressing, naming, or access permission problems caused the Telnet failure. • It is possible that the problem exists on this router or on the router that failed as a Telnet target. In this case, the next step is to try ping 2017/5/25 44 ping 2017/5/25 45 Extended Ping 2017/5/25 46 traceroute 2017/5/25 47 show ip route 2017/5/25 48 show interface • Test both physical & data link layer connection – show interface serial 0 (show int s 0) – show interface ether 0 2017/5/25 49 解讀 show interface 2017/5/25 50