Linux Networking

Configure NIC:
ifconfig -a eth0 192.168.1.132 netmask 255.255.255.128
route add default gw 192.168.1.129

Set NIC down / up:
ifconfig eth0 down
ifconfig eth0 up

Restart Networking:
/etc/init.d/networking restart

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.