Monday, April 2, 2012

Linux interface commands

ifconfig eth1

ifconfig eth1 up

ifup eth1 

ip link show eth1

ethtool eth1

check if signal from the line....
sudo ethtool eth1 | grep "Link detected"
        Link detected: no

add route:
ip route add 10.10.66.229/32 dev eth1

Ref:http://linux.die.net/man/8/ip
http://www.whatismyip.com/faq/linux-ip-commands.asp

No comments:

Post a Comment