Beruflich Dokumente
Kultur Dokumente
Routing Chapter 1
## telnet password conf t line vty 0 4 login password PaSsWoRd ## console password Router(config)#line con 0 Router(config-line)#login Router(config-line)#password ccna o Interface configurations afterward o verify configuration o save changes
Routing Chapter 1 show ip route adding a connected network to the routing table o router interfaces: each router interface is member of different network activated using following command no shutdown
static routes in the routing table o includes network address and subnet mask and IP address of next hop router or exit interface o denoted with the code S in the routing table o routing tables must contain directly connected networks used to connect remote networks before static or dynamic routing can be used when to use static routes o when network only consists of a few routers o network is connected to internet only through one ISP o Hub & Spoke technology is used on a large network dynamic routing protocols o used to add remote networks to a routing table o are used to discover networks o are used to update and maintain routing tables automatic network discovery o routers are able to discover new networks by sharing routing table information maintaining routing tables o dynamic routing protocols are used to share routing information with other touting & to maintain and update their own routing table routing table principles o every router makes its decisions alone o different routing table may contain different information o a routing table can tell how to get to a destination, but not how to get back effects of these principles o packets are forwarded through the network from one router to another o packets can take path X to destination, but return through path Y = asymmetric routing
Routing Chapter 1
path determination is a process used by a router to pick the best path o one of 3 path determinations results from searching the best path switching functions of a router is the process used by a router to switch a packet from an incoming interface to an outgoing interface on the same router
SUMMARY
Routers are computers that specialize in sending data over a network routers are composed of o hardware (CPU, Memory, System bus, Interfaces) o Software used to direct the routing process IOS Configuration file routers need to be configured. Basic configuration consists of o router name o router banner o password(s) o interface configurations (IP address & subnet mask) routing tables contain the following information o directly connected networks o remotely connected networks o network addresses and subnet masks o IP address of next hop address routers determine packets to its destination by doing the following o receiving an encapsulated frame & examining destination MAC address o if the MAC address matches, then Frame is de-encapsulated so that router can examine the destination IP address o if destination IP address is in routing table, or there is a static rout, the Router determines next hop IP address. Router will re-encapsulate packet with appropriate layer 2 frame and send it out to next destination o process continues until packet reaches destination o note: only the MAC address will change; the source and destination IP addresses do not change