Tuesday, May 15, 2012

Change the MTU of your interface

Command to change the MTU of your interface

1
2
ifconfig <interface> mtu <value> up
ifconfig eth1 mtu 1000 up

--ahamed


tcpdump - capturing output to a file

Command to capture tcpdump output to pcap format for analysis with Wireshark or other tools

tcpdump -i <interface> -w <output file>
tcpdump -i eth1 -w output.pcap

Have a good day!