Tuesday, May 26, 2009

unix/linux networking tutorial with what I think are some handy commands

1)Show the ethernet status

prompt $ ethtool eth0

2)Force 100Mbit Full duplex

prompt $ ethtool -s eth0 speed 100 duplex full

3)Blink the ethernet led

prompt $ ethtool -p eth0

4)Display all interfaces

prompt $ ip link show


5)Bring device up (or down)

prompt $ ip link set eth0 up

6)Display all IP addresses

prompt $ ip addr show

0 comments:

Hit Counters