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

The Protocol Stack

Page 46 highlights

8-port Gigabit Ethernet Switch User's Guide Using the protocol layering model to visualize the organization of the network software, Layer 2 represents switching and Layer 3 represents routing. In fact, the protocol layering model gives only guidelines for writing programs to accomplish certain tasks and functions. How the layers communicate within a protocol stack (for example, within a network device or a computer) is determined by the operating system programmers. So long as the communication between devices on the network follows the well-defined and well-known methods and data formats, the protocol stack can accomplish its tasks in any way suitable. Figure 5-9. The Protocol Stack Elements on the same layer of a protocol stack are known as peers. They communicate with other peers, in other protocol stacks (on other network devices) using the well-defined and well-known methods and formats. Messages and data are transferred via published (and therefore well-known) protocols. Elements within the same stack communicate using an internal interface. This interface is part of the operating system and is usually not published (and therefore not well-known). In addition, internal protocol stack interfaces are generally proprietary. This means that communication within the protocol stack has the same characteristics as a protocol in that two protocol stacks from the same operating system vendor will communicate (within the stack) in the same way. The difference from a protocol is that stacks from different operating system vendors (or two different operating system products from the same vendor) may communicate within the stack in completely different ways. The result is that communication between layers in within a protocol stack (and within a given network device) are often proprietary and different from communication within a second protocol stack. Communication between peers (between two protocol stacks, but at the same layer) is accomplished by well-known and published protocols. So, peers communicate in an open and consistent way, and peers from completely different systems from different vendors can communicate easily. This principle has allowed the rapid growth of layered networking. A brief description of the most commonly used layers of the OSI model is helpful to understand the scope of how protocol layering works. 36

  • 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
36
Using the protocol layering model to visualize the organization of the network software, Layer 2 represents switching and
Layer 3 represents routing. In fact, the protocol layering model gives only guidelines for writing programs to accomplish
certain tasks and functions. How the layers communicate within a protocol stack (for example, within a network device or a
computer) is determined by the operating system programmers. So long as the communication between devices on the
network follows the well-defined and well-known methods and data formats, the protocol stack can accomplish its tasks in
any way suitable.
Figure 5-9.
The Protocol Stack
Elements on the same layer of a protocol stack are known as peers. They communicate with other peers, in other protocol
stacks (on other network devices) using the well-defined and well-known methods and formats.
Messages and data are
transferred via published (and therefore well-known) protocols.
Elements within the same stack communicate using an internal interface. This interface is part of the operating system
and is usually not published (and therefore not well-known). In addition, internal protocol stack interfaces are generally
proprietary. This means that communication within the protocol stack has the same characteristics as a protocol in that
two protocol stacks from the same operating system vendor will communicate (within the stack) in the same way. The
difference from a protocol is that stacks from different operating system vendors (or two different operating system
products from the same vendor) may communicate within the stack in completely different ways.
The result is that communication between layers in within a protocol stack (and within a given network device) are often
proprietary and different from communication within a second protocol stack.
Communication between peers (between two protocol stacks, but at the same layer) is accomplished by well-known and
published protocols. So, peers communicate in an open and consistent way, and peers from completely different systems
from different vendors can communicate easily. This principle has allowed the rapid growth of layered networking.
A brief description of the most commonly used layers of the OSI model is helpful to understand the scope of how protocol
layering works.