D-Link DGS-3308FG Product Manual - Page 62

RIP2 Message Format, Transmitting RIP Messages, The Disadvantage of RIP Hop Counts

Page 62 highlights

8-port Gigabit Ethernet Switch User's Guide RIP2 Message Format The message format used with RIP2 is an extension of the RIP1 format, with additional information occupying unused octets of the address field. In particular, each address includes an explicit next hop as well as an explicit subnet mask. Figure 5-18. Rip Message Format RIP 2 also attaches a 16-bit Route Tag to each entry. A router must send the same tag it receives when it transmits the route. Thus, the tag provides a way to propagate additional information such as the origin of the route. In particular, if RIP2 learns a route from another autonomous system, it can use the Route Tag to propagate the autonomous system's number. Because the version number in RIP2 occupies the same octet as in RIP1, both versions of the protocols can be used on a given router simultaneously without interference. Before processing an incoming message, RIP software examines the version number. Transmitting RIP Messages RIP messages do not contain an explicit length field or an explicit count of entries. Instead, RIP assumes that the underlying delivery mechanism will tell the receiver the length of an incoming message. In particular, when used with TCP/IP, RIP messages rely on UDP to tell the receiver the message length. RIP operates on UDP port 520. Although a RIP request can originate at other UDP ports, the destination UDP port for requests is always 520, as is the source port from which RIP broadcast messages originate. The Disadvantage of RIP Hop Counts Using RIP as an interior router protocol limits routing in two ways. First, RIP restricts routing to a hop-count metric. Second, because it uses a small value of hop count for infinity, RIP restricts the size of any network using it. In particular, RIP restricts the span of a network to 16 hops (or 15 routers, because 16 represents an unreachable destination). So an internet can have at most 15 routers between any two hosts. Note that the limit on network span is neither a limit on the total number of routers nor a limit on density. In fact, most campus networks have a small span even if they have many routers because the topology is arranged as a hierarchy. 52

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237

8-port Gigabit Ethernet Switch User’s Guide
52
RIP2 Message Format
The message format used with RIP2 is an extension of the RIP1 format, with additional information occupying unused
octets of the address field. In particular, each address includes an explicit next hop as well as an explicit subnet mask.
Figure 5-18.
Rip Message Format
RIP 2 also attaches a 16-bit
Route Tag
to each entry. A router must send the same tag it receives when it transmits the
route. Thus, the tag provides a way to propagate additional information such as the origin of the route. In particular, if
RIP2 learns a route from another autonomous system, it can use the
Route Tag
to propagate the autonomous system’s
number.
Because the version number in RIP2 occupies the same octet as in RIP1, both versions of the protocols can be used on a
given router simultaneously without interference. Before processing an incoming message, RIP software examines the
version number.
Transmitting RIP Messages
RIP messages do not contain an explicit length field or an explicit count of entries. Instead, RIP assumes that the
underlying delivery mechanism will tell the receiver the length of an incoming message. In particular, when used with
TCP/IP, RIP messages rely on UDP to tell the receiver the message length. RIP operates on UDP port 520. Although a RIP
request can originate at other UDP ports, the destination UDP port for requests is always 520, as is the source port from
which RIP broadcast messages originate
.
The Disadvantage of RIP Hop Counts
Using RIP as an interior router protocol limits routing in two ways. First, RIP restricts routing to a hop-count metric.
Second, because it uses a small value of hop count for infinity, RIP restricts the size of any network using it. In particular,
RIP restricts the span of a network to 16 hops (or 15 routers, because 16 represents an unreachable destination). So an
internet can have at most 15 routers between any two hosts.
Note that the limit on network span is neither a limit on the total number of routers nor a limit on density. In fact, most
campus networks have a small span even if they have many routers because the topology is arranged as a hierarchy.