ifconfig eth0 192.168.2.12 netmask 255.255.255.0 broadcast 192.168.2.255route add defualt gw 192.168.2.1service network restart