ifconfig eth0 ip netmask

 

ifconfig eth0

 

ifconfig eth0 down

ifconfig eth0 up

 

ifdown eth0

ifconfig eth0 hw ether MAC

ifup eth0

 

route add default gw ip

route del default tw ip

 

cd /etc/sysconfig/network-scripts

ls ifcfg-*

vi ifcfg-eth0

 

setup

 

vi /etc/resolv.conf  -----------DNS

nameserver  192.168.1.3 

 

ping ip

 

netstat -ant

netstat -i

netstat -r

 

nslookup ip