Packet Sniffing
Configure ‘eth0’ in promiscuous mode to gather packets (sniffing)
ifconfig eth0 promisc
Configure ‘eth0’ in promiscuous mode to gather packets (sniffing)
ifconfig eth0 promisc
Configure IP Address using the ifconfig command
ifconfig eth0 192.168.1.1 netmask 255.255.255.0
Show configuration of an ethernet network card
ifconfig eth0
Find the IP address of all the active interfaces.
ifconfig | egrep -o '^[a-z0-9]{1,12}|inet addr:[0-9.]+'