Tutorial
Physical Layer
Data Link layer
Network Layer
Routing Algorithm
Transport Layer
Application Layer
Network Security
Misc
- Router
- OSI vs TCP/IP
- TCP vs UDP
- Transmission Control Protocol
- TCP port
- IPv4 vs IPv6
- ARP Packet Format
- ARP Table
- Working of ARP
- FTP Client
- FTP Commands
- FTP Server
- I2C Protocol
- Sliding Window Protocol
- SPI Protocol
- IP
- ARP Commands
- ARP
- Address Resolution Protocol
- ARP and its types
- TCP Retransmission
- CAN protocol
- HTTP Status Codes
- HTTP vs HTTPS
- RIP Protocol
- UDP Protocol
- ICMP Protocol
- MQTT protocol
- OSPF Protocol
- Stop and Wait Protocol
- IMAP Protocol
- POP Protocol
- CIFS
- DAS
- DIMM
- iSCSI
- NAS (Network Attached Storage)
- NFS
- NVMe
- SAN
- Border Gateway Protocol
- Go-Back-N ARQ
- RJ Cable
- Difference between Connection-Oriented and Connectionless Service
- CDMA vs. GSM
- What is MAC Address
- Modem vs. Router
- Switch Vs. Router
- USB 2.0 vs 3.0
- Difference between CSMA CA and CSMA CD
- Multiple access protocol- ALOHA, CSMA, CSMA/CA and CSMA/CD
- URI vs URL
- IMAP vs. POP3
- SSH Meaning| SSH Protocol
- UTP vs STP
- Status Code 400
- MIME Protocol
- IP address
- proxy server
- How to set up and use a proxy server
- network security
- WWW is based on which model
- Proxy Server List
- Fundamentals of Computer Networking
- IP Address Format and Table
- Bus topology and Ring topology
- Bus topology and Star topology
- Circuit Switching and Packet switching?
- Difference between star and ring topology
- Difference between Router and Bridge
- TCP Connection Termination
- Image Steganography
- Network Neutrality
- Onion Routing
- Adaptive security appliance (ASA) features
- Relabel-to-front Algorithm
- Types of Server Virtualization in Computer Network
- Access Lists (ACL)
- What is a proxy server and how does it work
- Digital Subscriber Line (DSL)
- Operating system based Virtualization
- Context based Access Control (CBAC)
- Cristian's Algorithm
- Service Set Identifier (SSID)
- Voice over Internet Protocol (VoIP)
- Challenge Response Authentication Mechanism (CRAM)
- Extended Access List
- Li-fi vs. Wi-fi
- Reflexive Access List
- Synchronous Optical Network (SONET)
- Wifi protected access (WPA)
- Wifi Protected Setup (WPS)
- Standard Access List
- Time Access List
- What is 3D Internet
- 4G Mobile Communication Technology
- Types of Wireless Transmission Media
- Best Computer Networking Courses
- Data Representation
- Network Criteria
- Classful vs Classless addressing
- Difference between BOOTP and RARP in Computer Networking
- What is AGP (Accelerated Graphics Port)
- Advantages and Disadvantages of Satellite Communication
- External IP Address
- Asynchronous Transfer Mode (ATM)
- Types of Authentication Protocols
- What is a CISCO Packet Tracer
- BOOTP work
- Subnetting in Computer Networks
- Mesh Topology Advantages and Disadvantages
- Ring Topology Advantages and Disadvantages
- Star Topology Advantages and Disadvantages
- Tree Topology Advantages and Disadvantages
- Zigbee Technology-The smart home protocol
- Network Layer in OSI Model
- Physical Layer in OSI Model
- Data Link Layer in OSI Model
- Internet explorer shortcut keys
- Network Layer Security | SSL Protocols
- Presentation Layer in OSI Model
- Session Layer in OSI Model
- SUBNET MASK
- Transport Layer Security | Secure Socket Layer (SSL) and SSL Architecture
- Functions, Advantages and Disadvantages of Network Layer
- Protocols in Noiseless and Noisy Channel
- Advantages and Disadvantages of Mesh Topology
- Cloud Networking - Managing and Optimizing Cloud-Based Networks
- Collision Domain and Broadcast Domain
- Count to Infinity Problem in Distance Vector Routing
- Difference Between Go-Back-N and Selective Repeat Protocol
- Difference between Stop and Wait, GoBackN, and Selective Repeat
- Network Function Virtualization (NFV): transforming Network Architecture with Virtualized Functions
- Network-Layer Security | IPSec Modes
- Next - Prev Network-Layer Security | IPSec Protocols and Services
- Ping vs Traceroute
- Software Defined Networking (SDN): Benefits and Challenges of Network Virtualization
- Software Defined Networking (SDN) vs. Network Function Virtualization (NFV)
- Virtual Circuits vs Datagram Networks
- BlueSmack Attack in Wireless Networks
- Bluesnarfing Attack in Wireless Networks
- Direct Sequence Spread Spectrum
- Warchalking in Wireless Networks
- WEP (Wired Equivalent Privacy)
- Wireless security encryption
- Wireless Security in an Enterprise
- Quantum Networking
- Network Automation
- Difference between MSS and MTU
- What is MTU
- Mesh Networks: A decentralized and Self-Organizing Approach to Networking
- What is Autonomous System
- What is MSS
- Cyber security & Software security
- Information security & Network security.
- Security Engineer & Security Architect
- Protection Methods for Network Security
- Trusted Systems in Network Security
- What are Authentication Tokens in Network security
- Cookies in Network Security
- Intruders in Network Security
- Network Security Toolkit (NST) in virtual box
- Pivoting-Moving Inside a Network
- Security Environment in Computer Networks
- Voice Biometric technique in Network Security
- Advantages and Disadvantages of Conventional Testing
- Difference between Kerberos and LDAP
- Cyber security and Information Security
- GraphQL Attacks and Security
- Application Layer in OSI Model
- Applications of Remote Sensing
- Seven Layers of IT Security
- What is Ad Hoc TCP
- What is Server Name Indication(SNI)
ARP Packet Format
The address resolution protocol (ARP) uses a basic message format that contains either address resolution request or address resolution response. The ARP message size depends on the address size of the link layer and the network layer. The message header describes the network type used at each layer and the address size of each layer. The message header is complete with the help of the operation code, which is 1 for request and 2 for the response. The payload of the packet has four addresses, these are:
- Hardware address of the sender hosts
- Hardware address of the receiver hosts
- Protocol address of the sender hosts
- Protocol address of the receiver hosts
The Packet format of the Address Resolution Protocol is shown in the figure:
HTYPE (Hardware Type) - The size of the hardware type field is 16 bit. This field defines the network type that the local network needs to transmit the ARP message. There are some typical values for this field, which are given below:
Hardware Type (HTYPE) | Value |
---|---|
Ethernet | 1 |
IEEE 802 Networks | 6 |
ARCNET | 7 |
Frame Relay | 15 |
Asynchronous Transfer Mode (ATM) | 16 |
HDLC | 17 |
Fibre Channel | 18 |
Asynchronous Transfer Mode (ATM) | 19 |
Serial Line | 20 |
PTYPE (Protocol Type) - The protocol type is a 16-bit field used to specify the type of protocol.
Note: ARP can be used with any higher-level protocol such as IPv4, IPv6, etc.
HLEN (Hardware Length) - The size of the hardware length field is 8-bit. This field specifies the length of the physical address in bytes.
Example: For this, the address length of Ethernet is 6.
PLEN (Protocol Length) - The size of the protocol length field is 8-bit long. It defines the length of the IP address in bytes.
OPER (Operation) - It is a 16-bit field that determines the type of ARP packet. There are two types of ARP packets, i.e., ARP request and ARP Reply. In the given table, the first two values are used for the ARP request and reply. The values for the other ARP frame format such as RARP, DRARP, etc. are also specified in this table.
ARP Message Type | Opcode (Operation Code) |
---|---|
ARP Request | 1 |
ARP Reply | 2 |
RARP Request | 3 |
RARP Reply | 4 |
DRARP Request | 5 |
DRARP Reply | 6 |
DRARP Error | 7 |
InARP Request | 8 |
InARP Reply | 9 |
SHA (Sender Hardware Address) - This field specifies the physical address of the sender, and the length of this field is not fixed.
SPA (Sender Protocol Address) - This field is used to determine the logical address of the sender, and the length of this field is not fixed.
THA (Target Hardware Address) - The target hardware address specifies the physical address of the target. It is a variable-length field. For the ARP request packet, this field contains all zeros because the sender does not know the physical address of the receiver.
Note: The default target hardware address is zero.
TPA (Target Protocol Address) - This field determines the logical address of the target. TPA is a variable-length field.