Basic of routing

From NesevoWiki
Revision as of 11:29, 26 August 2008 by Florian (talk | contribs) (New page: ==Types of routing:== There are 3 different types of routing. # Static Routes # Distance vector protocols # Link-state protocols == Static Routes: == For static routes to the router ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Types of routing:

There are 3 different types of routing.

  1. Static Routes
  2. Distance vector protocols
  3. Link-state protocols


Static Routes:

For static routes to the router is required exactly which way he is notified. This is either the next Hopp or output interface. With a self-defined metrics can be an alternative way the failure of the default route automatically activated. Generally the lower the metric is even more popular is the way.

Configuration:

Router>en

 This command will take you to the privileged mode.

Router#config t

 This command can be reached in the global configuration mode.

Router(config)#ip route 172.168.20.0 255.255.255.0 172.16.10.2

Here is the destination network172 .168.20.0 255.255.255.0 'associated with the subnet mask and the next Hopp .16.10.2172'.


Alternatively, instead of the next target interface output interface identify:
Router(config)#ip route 172.168.20.0 255.255.255.0 s0/0

 Here is the destination network172 .168.20.0 255.255.255.0 'associated with the subnet mask and the output interface Serial 0/0.


If a metric is desired to add the syntax behind a number beliebe. However, the lower it is more, this route.

for example:
ip route 172.168.20.0 255.255.255.0 172.16.10.2 1
ip route 172.168.20.0 255.255.255.0 172.16.10.3 5

In this example would be the upper path, because these metrics is much lower than the lower path.


Distance vector protocols:

Representatives of the distance vector protocols are: RIP (v.2), IGRP, EIGRP


Link-state protocols:

Representatives of the link-state protocols are: OSPF, IS-IS


OSPF:

OSPF is a dynamic routing protocol within an autonomous system. It has the RIP routing protocol as a standard Interior Gateway Protocol (IGP) replaced, especially for large networks. OSPF uses the cost of a path as metrics and can weigh costs the same distributed. OSPF costs are taken by default from the available bandwidth. To calculate the cost of the following formula: 10 <nowiki> ^ </ nowiki> 8/Bandbreite. The costs add up for every one outbound interface OSPF router.


Characteristics of OSPF :

  • Guarantees a schleifenfreies OSPF routing as opposed to RIP
  • Hello protocol for monitoring the neighbours
  • It supports VLSM and CIDR
  • OSPF is scalable for large networks well suited
  • The Area concept facilitates communication and maintenance

Configuration :

Router (config) <nowiki> # </ nowiki> 'router ospf 123'

     Turns the OSPF process 123. The process ID is any value between 1 and 65535th
     It is not identical'with the OSPF Area



Router (config-router) <nowiki> # </ nowiki> 'network 172.16.10.0 0.0.0.255 area 0'

     OSPF interfaces are known, not networks. Use the wildcard mask laying down,
     what interfaces should be disclosed.
     This command can interpret as follows:
     Each interface with an address in the field 172.16.10.x be part of Area 0.


Loopback interface :

Router (config) <nowiki> # </ nowiki> 'interface lo1' With this command, you change to the virtual interface lo1.

Router (config-if) # <nowiki> </ nowiki> 'ip address 192.168.100.1 255,255,255,255' This command is the loopback IP address assigned.

Router (config-if) # <nowiki> </ nowiki> 'no shut' Mittles the no shut command is the interface activated.

Router (config-if) # <nowiki> </ nowiki> 'exit' This command will revert back to the global configuration mode.

Router (config) <nowiki> # </ nowiki>

Attachment: