0% found this document useful (0 votes)
10 views3 pages

Day2 - Routing

The document outlines the essentials of IP routing, focusing on path selection components: prefix length, administrative distance, and metrics. It provides examples of IP address ranges and preferred prefixes for various destinations, along with a table of administrative distances for different route origins. Additionally, it discusses static route types and configurations for routers in a network setup, including verification methods.

Uploaded by

rravisahrawat
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views3 pages

Day2 - Routing

The document outlines the essentials of IP routing, focusing on path selection components: prefix length, administrative distance, and metrics. It provides examples of IP address ranges and preferred prefixes for various destinations, along with a table of administrative distances for different route origins. Additionally, it discusses static route types and configurations for routers in a network setup, including verification methods.

Uploaded by

rravisahrawat
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Routing-

--------

Basics-

IP routing essentials -

Path Selection -
--------------

There are 3 main component for path selection.

1. Prefix length
2. Administrative distance
3. Metrics

1. Prefix length
-----------------

[Link]/28
[Link]/26
[Link]/24

Prefix Ip address Range Next hop Outgoing INterface


[Link]/28 [Link] [Link] [Link] G1/1
[Link]/26 [Link] [Link] [Link] G2/2
[Link]/24 [Link] [Link] [Link] G3/3

Question 1 - If destination is [Link] then what will be the preferred prefix or


outgoing interface [Link]
Question 2 - If destination is [Link] then what will be the preferred prefix
" [Link]
Question 3 - If destination is [Link] then what will be the preferred prefix "
[Link]

2. Administrative distance
--------------------------

Route Origin AD
Directly Connected Interface 0
Static Route 1
EIGRP Summary Route 5
eBGP 20
EIGRP (internal) route 90
OSPF 110
IS-IS 115
RIPv2 ` 120
Eigrp (external) 170
iBGP 200

Question -

EIGRP 90 [Link]/24 >>>> this one


OSPF 110 [Link]/24
IS-IS 115 [Link]/24

3. Metrics
----------

It helps to get best route installed in routing table if route received from the
same routing protocol.

Static route types-


-------------------

1. Directly attached static routes


2. Recursive static routes
3. Fully specified static routes

4. Floating static routes

We use this in dynamic routing environment for a backup path by increasing the AD
value.

Static routes to null interfaces


--------------------------------

ISP-
---

int e0/0
no shut
ip add [Link] [Link]

ip route [Link] [Link] [Link]

R1
---
Int e0/0
no shut
ip add [Link] [Link]

int e0/1
ip add [Link] [Link]
no shut

ip route [Link] [Link] [Link]


ip route [Link] [Link] [Link]

R2
--
int e0/0
ip add [Link] [Link]
no shut

int l0
ip add [Link] [Link]

ip route [Link] [Link] [Link]

Verify
------

trace [Link] source loopback0 numeric probe 1

Solution
--------

On R1

ip route [Link] [Link] null 0

You might also like