Cheatsheet: Difference between revisions

Content added Content deleted
Line 149: Line 149:
|}
|}



*;ARP Header
Hardware type
Protocol type
Hardware address length
Protocol address length
Operation
Source MAC
Source IP
Dest MAC
Dest IP
<br />
<br />
{| class="wikitable" style="margin: 0 auto; text-align:center; width:80%;"
|+DNS Headers
|-
| colspan="16"| Identification || colspan="1"| QR || colspan="4"| Opcode || cellpadding="1"|<tt>A<br>A</tt>|||<tt>T<br>C</tt>|||<tt>R<br>D</tt>|||<tt>R<br>A</tt>|||<tt>Z</tt>|||<tt>A<br>D</tt>|||<tt>C<br>D</tt>|| colspan="4"| RCode
|-
| colspan="16"| Total Questions || colspan="16"| Total Answers
|-
| colspan="16"| Total Authority Resource Records || colspan="16"| Total Additional Resource Records
|}
<br />


<center>
{| class="wikitable" style="text-align: center; width: 30em;" border=1
|+ARP Headers
|-
| colspan="16"| Hardware type <small>(Ethernet = 1</small>)
|-
| colspan="16"| Protocol type <small>(IPv4 = 0x0800)</small>
|-
| colspan="8"| Hardware address length (Ethernet size is 6)
| colspan="8"| Protocol address length (IPv4 size is 4.)
|-
| colspan="16"| Operation ( 1 for request; 2 for reply)
|-
| colspan="16" style="background:#f0fff0"| Source MAC
|-
| colspan="16" style="background:#d0ffd0"| Source IP
|-
| colspan="16" style="background:#f0f0ff"| Dest MAC
|-
| colspan="16" style="background:#d0d0ff"| Dest IP
|}
</center>


;<center>GARP</center>
[[File:GARP.png|center]]