S-38.2121 / Fall-06 / RKa, NB DV-1
Distance vector protocols
Distance Vector routing principles Routing loops and countermeasures to loops Bellman-Ford algorithm RIP, RIP-2
S-38.2121 / Fall-06 / RKa, NB DV-2
Distance vector protocols Distance Vector routing principles - - PDF document
Distance vector protocols Distance Vector routing principles Routing loops and countermeasures to loops Bellman-Ford algorithm RIP, RIP-2 DV-1 S-38.2121 / Fall-06 / RKa, NB Distance Vector Routing Principles DV-2 S-38.2121 / Fall-06 / RKa,
S-38.2121 / Fall-06 / RKa, NB DV-1
S-38.2121 / Fall-06 / RKa, NB DV-2
S-38.2121 / Fall-06 / RKa, NB DV-3
S-38.2121 / Fall-06 / RKa, NB DV-4
S-38.2121 / Fall-06 / RKa, NB DV-5
S-38.2121 / Fall-06 / RKa, NB DV-6
S-38.2121 / Fall-06 / RKa, NB DV-7
S-38.2121 / Fall-06 / RKa, NB DV-8
S-38.2121 / Fall-06 / RKa, NB DV-9
A C E D B 1 2 3 4 5 6 A C E D B 1 2 3 4 5 6 A C E D B 1 2 3 4 5 6
S-38.2121 / Fall-06 / RKa, NB DV-10
S-38.2121 / Fall-06 / RKa, NB DV-11
S-38.2121 / Fall-06 / RKa, NB DV-12
1 2
A C E D B 3 4 5 6
S-38.2121 / Fall-06 / RKa, NB DV-13
A C E D B 1 2 3 4 5 6
S-38.2121 / Fall-06 / RKa, NB DV-14
A C E D B 1 2 3 4 5 6
S-38.2121 / Fall-06 / RKa, NB DV-15
A C E D B 1 2 3 4 5 6
S-38.2121 / Fall-06 / RKa, NB DV-16
C B A
S-38.2121 / Fall-06 / RKa, NB DV-17
S-38.2121 / Fall-06 / RKa, NB DV-18
S-38.2121 / Fall-06 / RKa, NB DV-19
S-38.2121 / Fall-06 / RKa, NB DV-20
S-38.2121 / Fall-06 / RKa, NB DV-21
S-38.2121 / Fall-06 / RKa, NB DV-22
S-38.2121 / Fall-06 / RKa, NB DV-23
S-38.2121 / Fall-06 / RKa, NB DV-24
S-38.2121 / Fall-06 / RKa, NB DV-25
S-38.2121 / Fall-06 / RKa, NB DV-26
S-38.2121 / Fall-06 / RKa, NB DV-27
S-38.2121 / Fall-06 / RKa, NB DV-28
S-38.2121 / Fall-06 / RKa, NB DV-29
S-38.2121 / Fall-06 / RKa, NB DV-30
S-38.2121 / Fall-06 / RKa, NB DV-31
S-38.2121 / Fall-06 / RKa, NB DV-32
S-38.2121 / Fall-06 / RKa, NB DV-33
S-38.2121 / Fall-06 / RKa, NB DV-34
S-38.2121 / Fall-06 / RKa, NB DV-35
S-38.2121 / Fall-06 / RKa, NB DV-36
S-38.2121 / Fall-06 / RKa, NB DV-37
S-38.2121 / Fall-06 / RKa, NB DV-38
S-38.2121 / Fall-06 / RKa, NB DV-39
S-38.2121 / Fall-06 / RKa, NB DV-40
1 .. .. N 1 ∞ ∞ ∞ ∞ : ∞ ∞ ∞ ∞ ∞ ∞ ∞ ∞ : ∞ ∞ ∞ ∞ N ∞ ∞ ∞ ∞ 1 .. .. N 1
:
:
N
i i j j
S-38.2121 / Fall-06 / RKa, NB DV-41
S-38.2121 / Fall-06 / RKa, NB DV-42
S-38.2121 / Fall-06 / RKa, NB DV-43
S-38.2121 / Fall-06 / RKa, NB DV-44
S-38.2121 / Fall-06 / RKa, NB DV-45
S-38.2121 / Fall-06 / RKa, NB DV-46
S-38.2121 / Fall-06 / RKa, NB DV-47
16 bits 32 bits Must be zero IP address Version 8 bits 8 bits Command Must be zero Address family identifier Must be zero Must be zero Metric Command: 1 = Request , 2 = Response Version = 1 Metric: 0 … 16 IP=2
S-38.2121 / Fall-06 / RKa, NB DV-48
S-38.2121 / Fall-06 / RKa, NB DV-49
# netstat -nr Kernel routing table Destination Gateway Genmask Flags Metric Ref Use Iface 127.0.0.1 * 255.255.255.255 UH 1 2130 lo0 191.72.1.0 * 255.255.255.0 U 1 3070 eth0 191.72.2.0 191.72.1.1 255.255.255.0 UG 2 1236 eth0 191.72.3.0 191.72.1.2 255.255.255.0 UG 2 3212 eth0
S-38.2121 / Fall-06 / RKa, NB DV-50
S-38.2121 / Fall-06 / RKa, NB DV-51
S-38.2121 / Fall-06 / RKa, NB DV-52
S-38.2121 / Fall-06 / RKa, NB DV-53
S-38.2121 / Fall-06 / RKa, NB DV-54
S-38.2121 / Fall-06 / RKa, NB DV-55
S-38.2121 / Fall-06 / RKa, NB DV-56
Subnet mask IP address Version Command [ Routing domain*) ] Address family identifier Route tag Next hop Metric New “address family” 0xFFFF for authentication data Many ASs on a single “wire” External routes are tagged CIDR 16 bits 8 bits 8 bits
*) Not in standard
S-38.2121 / Fall-06 / RKa, NB DV-57
ÿ A host and a subnet can not be distinguished ÿ All subnets must be interconnected with all other subnets and
S-38.2121 / Fall-06 / RKa, NB DV-58
S-38.2121 / Fall-06 / RKa, NB DV-59
S-38.2121 / Fall-06 / RKa, NB DV-60
S-38.2121 / Fall-06 / RKa, NB DV-61
S-38.2121 / Fall-06 / RKa, NB DV-62