Beruflich Dokumente
Kultur Dokumente
Agenda
Routing Protocol
Static Routes
Dynamic Routes
RIP
EIGRP
OSPF
BGP
Routing
Destination address
Neighbor routers from which it can learn
about remote networks
Possible routes to all remote networks
The best route to each remote network
How to maintain and verify routing
information
Static Routing
Manual configuration.
A static route includes the network address and subnet
mask of the destination network, along with the exit
interface or the IP address of the next hop router.
The routing table designates static routes with an S.
More stable and reliable than routes learned
dynamically which results in a lower administrative
distance compared to the dynamic routes.
Dynamic Routing
Dynamic Routing
Dynamic Routing
Configuration Complexity
Generally independent of
the network size
Topology Changes
Administrator intervention
required
Automatically adapts to
topology
Scaling
Security
More secure
Less secure
Resource Usage
Predictability
Route to destination is
always the same
Router>en
Router#
Router#show running-config
Router#show starup-config
configuration in NVRAM
----> OR sh star
Router#wr erase
Erasing the nvram filesystem (remove all
configuration file)
Router#reload
Switch#configure terminal
Switch(config)#hostname SW1
SW1(config)#
Switch#configure terminal
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)
Cisco Configuration
Router(config)#ip route [network-address] [subnet mask]
[address of next hop OR exit interface]
Static Routing
Dynamic Routing
Routing Information Protocol (RIP)
Distance-Vector Protocol
Bellman-Ford Algorithm to calculate its routes
Each router sends a list of distance-vectors
each of its neighbors periodically.
Metric = Number of hops (cost to get the
destination)
Two version of RIP:
RIPv1 (RFC1055)
RIPv2 (RFC2453)
Configuring RIP
Step 1: Enter privileged EXEC mode:
Router>enable password
Step 2: Enter the configure terminal command to enter global configuration mode.
Router#config terminal
Step 3: Enter the router rip command
Router(config)#router rip
Step 4: Add the network number to use RIP &repeat this step for all the
numbers.
Router(config-router)#network network-number
Example: Router(config-router)#network 192.168.10.0
Note: To turn off RIP, use the no router rip command.
Router(config)#no router rip
RIPv1
Routing Update:
every 30 sec
No Authentication
RIPv2
Routing Update:
every 30 sec
Authentication