Introd Uction To IP Routing
Introd Uction To IP Routing
Dynamic Routes.
In static routes, a network administrator has to configure
each router to know where destination network is located.
This increases the administrative overheads in case of a big
network. For example, in a network where only 2 routers are
connected, we would require only 2 statics routes. A network
with 3 routers would require 6 static routers and a network
with 100 routers would require 9900 static routes. The only
advantage with static route is that the administrator has
total control over routes routing table and there are no
network overheads like dynamic routing protocols.
Dynamic routes are the routes that are learnt by router
automatically by running Routing Protocols. Using Dynamic
routing protocols there is no need to configure routes
manually. these protocols automatically discover what
networks are connected to which routers. Using routing
protocol each router shares its own network number
information, called as routing updates, with each directly
connected routes called as neighbors. Upon receiving routing
update, every router stores this information its routing table
and passes this information to its neighbor. This is how each
router comes to know the reachability to other networks in
an internetwork.
It is important to understand difference between routing
protocols and routed protocols. Routing protocol learns about
routes to reach the destination network routed protocol are
the layer -3 protocol such as IP or IPX which carries user
traffic by the path decided by routing protocol,
Routed protocols
IP
Routing protocols
RIPv1, RIPv2, IGRP, OSPF,
EIGRP , BGP, IS-IS
IPX
Apple talk
Administrative Distance
0
1
90
100
110
120
IGRP
Link State
OSPF
IS-IS
Hybrid
RIPv2 EIGRP
RIPv2
Uses multicast for routing
updates.
Supports periodic and trigger
Routing updates.
Support for class full and
classless networks
Uses hop count and metric
Hop count limit is of 15 hops.
Disadvantages of OSPF.
A) OSPF requires more memory to hold the database containing
all the routers and their routes I the routing table.
B) OSPF requires extra CPU processing to run SFP algorithm.
C) OSPF is complex to configure and difficult to troubleshoot.
Enhanced Interior Gateway Routing Protocol (EIGRP):EIGRP comes with many enhancements in IGRP allowing it to work
for large enterprise networks. Below are the advantages of EIGRP.
A. Fast Convergence using DUAL (Diffusing Update Algorithm)
algorithm and trigger updates
B. Provides loop free topology
C. Supports classful and classless IP addressing
D. Uses multicast to share routing information
E. Less network overheads as EIGRP uses incremental updates
F. Support equal and unequal coast load balancing up to 6
paths
G. Supports multiple routed protocols like IP, IPX. Apple Talk
carrier sense multiple access with collision detection (CSMA/CD):- Carrier Sense
Multiple Access With Collision Detection (CSMA/CD) is a media access control
method used most notably in local area networking using early Ethernet technology.
It uses a carrier sensing scheme in which a transmitting data station detects other
signals while transmitting a frame, and stops transmitting that frame, transmits a
jam signal, and then waits for a random time interval before trying to resend the
frame.
Configuration of Vlan
Switch(config)#vlan 10
Switch(config-vlan)#name nagpur
Switch(config-vlan)#exi
Switch(config)#vlan 20
Switch(config-vlan)#name pune
Switch(config-vlan)#exi
Switch(config)#vlan 30
Switch(config-vlan)#name gondia
Switch(config-vlan)#exi
Switch(config)#int f0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exi
Switch(config)#int f0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exi
Configuration of VTP
Switch(config)#hostname iant
iant(config)#vtp domain ccna
iant(config)#vtp mode server
iant(config)#end
iant#vlan database
iant(vlan)#vlan 10 name it
iant(vlan)#vlan 20 name hr
iant(vlan)#vlan 30 name sale
iant(config)#int f0/1
iant(config-if)#switchport mode trunk
Switch(config)#int f0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#host nagpur
nagpur(config)#vtp domain ccna
nagpur(config)#vtp mode client
nagpur(config)#exit