D-Link DGS-3120-24TC Product Manual page 325

Product manual
Hide thumbs Also See for DGS-3120-24TC:
Table of Contents

Advertisement

xStack® DGS-3120 Series Managed Switch Web UI Reference Guide
Offset
Offset
Offset
Offset
Chunk
Chunk0
Chunk1
Chunk2
127
3
7
Byte
Byte
128
4
8
Byte
1
5
9
Byte
2
6
10
Offset
Offset
Offset
Offset
Chunk
Chunk16
Chunk17
Chunk18
Byte
63
67
71
Byte
64
68
72
Byte
65
69
73
Byte
66
70
74
The following table indicates a completed ARP packet contained in Ethernet frame which is the pattern for the
calculation of packet offset.
Command
Step 1:
create access_profile_id 1
profile_name 1 ethernet source_mac
FF-FF-FF-FF-FF-FF ethernet_type
Step 2:
config access_profile profile_id 1
add access_id 1 ethernet source_mac
01-02-03-04-05-06 ethernet_type
0x806 port 1-12 permit
Step 3:
create access_profile profile_id 2
profile_name 2 packet_content_mask
offset_chunk_1 3 0xFFFF
offset_chunk_2 7 0xFFFF
offset_chunk_3 8 0xFFFF0000
Step 4:
config access_profile profile_id 2
add access_id 1 packet_content
offset_chunk_1 0x806 offset_chunk_2
Offset
Offset
Offset
Offset
Chunk3
Chunk4
Chunk5
Chunk6
11
15
19
23
12
16
20
24
13
17
21
25
14
18
22
26
Offset
Offset
Offset
Offset
Chunk19
Chunk20
Chunk21
Chunk22
75
79
83
87
76
80
84
88
77
81
85
89
78
82
86
90
Table 6. Chunk and Packet Offset
Table 5 A Completed ARP Packet Contained in an Ethernet Frame
Offset
Offset
Offset
Offset
Chunk7
Chunk8
Chunk9
Chunk10
27
31
35
39
28
32
36
40
29
33
37
41
30
34
38
42
Offset
Offset
Offset
Chunk23
Chunk24
Chunk25
Chunk26
91
95
99
92
96
100
93
97
101
94
98
102
Description
Create access profile 1 to match Ethernet Type and
Source MAC address.
Configure access profile 1
Only if the gateway's ARP packet that contains the
correct Source MAC in the Ethernet frame can pass
through the switch.
Create access profile 2
The first chunk starts from Chunk 3 mask for
Ethernet Type. (Blue in Table 6, 13th and 14th
bytes)
The second chunk starts from Chunk 7 mask for
Sender IP in ARP packet. (Green in Table 6, 29th
and 30th bytes)
The third chunk starts from Chunk 8 mask for
Sender IP in ARP packet. (Brown in Table 6, 31st
and 32nd bytes)
Configure access profile 2.
The rest of the ARP packets whose Sender IP claim
they are the gateway's IP will be dropped.
317
Offset
Offset
Offset
Chunk11
Chunk12
Chunk13
43
47
51
44
48
52
45
49
53
46
50
54
Offset
Offset
Offset
Offset
Chunk27
Chunk28
Chunk29
103
107
111
115
104
108
112
116
105
109
113
117
106
110
114
118
Offset
Offset
Chunk14
Chunk15
55
59
56
60
57
61
58
62
Offset
Offset
Chunk30
Chunk31
119
123
120
124
121
125
122
126

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents