Please enable JavaScript.
Coggle requires JavaScript to display documents.
TCP/IP Protocol Stack (Recapture (sudo tcpdump <option> <…
TCP/IP Protocol Stack
Recapture
lspci | grep –i ethernet
ethtool enp0s3
ping –c 5 –i 2 –s 50 192.168.101.6
sudo lshw –class network
sudo tcpdump <option> <filter>
<filter> icmp capture only ICMP
-D list interface
-n: Show only number
-i: interface to capture
-w: Save captured packet
-c: Capture till N packets and exit
-r: Read captured packet
TCP/IP Physical and Logical Address
sender, receiver
sudo ifconfig eth1
Network layer : logical addr
Data link layer : physical addr
Address Discovery with ARP (Address Resolution Protocal)
Request : broadcast , Reply : unicast
local cache : ARP caching database : ARP table
arp -n
arp -an : summary style
Understanding ICMP with Wireshark
ICMP Functions
Query messages
type 0 : echo reply
type 8 : echo request
Error-reporting messages
type 3 : destination unreachable
Kernel Parameter Tune-up with sysctl
(Optional)
sudo sysctl –a : | grep ipv4