Tag: eth

Information about eth0

show statistics of network card ‘eth0’ ethtool eth0

Show Link Status

Show link status of ‘eth0’ mii-tool eth0

DHCP Mode Activation

active interface ‘eth0’ in dhcp mode dhclient eth0

Packet Sniffing

Configure ‘eth0’ in promiscuous mode to gather packets (sniffing) ifconfig eth0 promisc

Configure IP Address

Configure IP Address using the ifconfig command ifconfig eth0 192.168.1.1 netmask 255.255.255.0

Find Current IP Address

Find the IP address of all the active interfaces. ifconfig | egrep -o ‘^[a-z0-9]{1,12}|inet addr:[0-9.]+’