IP Address and ARP Protocol
IP Address
Network Interfaces
lo (Loopback Device)
- Virtual device (no hardware)
- Used for local network services
- Address: 127.0.0.1 (localhost)
eth0
- Primary ethernet interface
IP Analysis
Tools and Commands
Check Your IP
Find IP from Domain Name
nslookup google.com
Note: Some domains may not be found with nslookup. Use Google Network Analysis Tool to check remote address.
Find Domain Name from IP
nslookup 13.234.100.208
Check Domain Registration Information
- Use whois.com to check registrant information
ARP (Address Resolution Protocol)
Protocol used to find which MAC address corresponds to a given IP address within a network.
Key Points
- Devices can only communicate using MAC addresses
- ARP maps IP addresses to MAC addresses
Check ARP Table
arp -a
This shows the stored IP-to-MAC address mappings.
Security Considerations
- ARP is vulnerable to MITM (Man-in-the-Middle) attacks
- ARP spoofing can redirect traffic through an attacker’s machine
Comments