Mod 6
Mod 6
.1 .1 .2 .1 .2 .1
RTA#show ip route
Codes: C - connected,.. <Other codes and gateway information omitted>
RTA#
RTA(config)#inter e 0
RTA(config-if)#ip add 192.168.2.1 255.255.255.0
RTA(config-if)#no shutdown
RTA#show ip route
Codes: C - connected,.. <Other codes and gateway information omitted>
• By default, router use proxy arp method, so if i put the gateway of pc as the ip of any reachable network it
will use it and forward packet if:
The gateway found in cache arp.
The gateway found in routing table.
• If you disable proxy arp feature , the pc must have the ip address of connected router interface as it
default gateway. The router can forward the traffic outside LAN if:
The default gateway is its exit interface.
The used default gateway is not pc exit interface but found in cache.
• The routing protocols allow the routers to share information about networks. Routers use this information to build and maintain routing tables.
Routing Information Protocol (RIP)
Interior Gateway Routing Protocol (IGRP)
Enhanced Interior Gateway Routing Protocol (EIGRP)
Open Shortest Path First (OSPF)
• A routed protocol carries user traffic and provides enough information in its network layer address to allow a packet to be forwarded based on the addressing scheme.
• Internet Protocol (IP)
• Internetwork Packet Exchange (IPX)
• The routing protocol learns all available routes, places the best routes into the routing table, and removes routes when they are no longer
valid.
• The router uses the information in the routing table to forward routed protocol packets.
• Whenever the topology of a network changes because of growth, reconfiguration, or failure, the network knowledgebase must also change.
• When all routers in an internetwork operate with the same knowledge, the internetwork is said to have converged.
• Fast convergence is desirable because it reduces the period of time in which routers would continue to make incorrect routing decisions.
• An AS is a collection of networks under a common administration that share a common routing strategy.
• Autonomous systems divide the global internetwork into smaller and more manageable networks .
• An autonomous system is assigned a globally unique number which 16 bit , which is the Autonomous System Number
(ASN).
• An autonomous system shares routing information with other autonomous systems using Exterior Routing Protocol.
• The distance vector routing algorithm passes periodically copies of a routing table from router to router.
• Each router receives a routing table from its directly connected neighbor routers.
• The distance vector algorithm does not allow a router to know the exact topology of an internetwork since
each router only sees its neighbor routers.
• The distance vector routing algorithm is also known as the Bellman-Ford algorithm.
• Routing table updates occur when the topology changes and as with the network discovery process, topology change updates proceed
step-by-step from router to router.
• The link-state algorithm is also known as Dijkstra's algorithm or as the shortest path first (SPF) algorithm.
• The link-state routing algorithm maintains full knowledge of distant routers and how they interconnect.
• Link-state routing uses the following features:
Link-state advertisements (LSAs): a small packet of routing information that is sent between routers (neighbor router name , interface status, cost of link to neighbor ).
Topological database: a collection of information gathered from LSAs
SPF algorithm: calculation performed on the database that results in the SPF tree
Routing table
• In the initial discovery process, all routers send LSA packets to all other routers.
• What happens when topology changes ??????
• Before initial finished, no valid user data will be sent as the internetwork didn’t converged yet.
• There are three main concerns related to routers that use link-state protocols:
Processor overhead
Memory requirements
Bandwidth consumption
• After this initial flooding, link-state routing protocols generally require minimal bandwidth to send event-triggered LSA packets that reflect topology changes.
GAD(config)#router rip
• To enable a routing protocol on a router, Do the following:
Issue the router command to select the routing protocol and to start the routing process.
Issue the network command to enable the routing process to determine which interfaces send and receive routing updates.
GAD(config-router)#network 172.16.0.0
• For RIP and IGRP, the network numbers are based on the network class addresses, not subnet addresses or individual host addresses.
• Dynamic routing uses broadcasts and multicasts to communicate with other routers.