ifconfig eth0 'new_ip' netmask 255.255.255.0 up
Do not forget to fill in the IP adress you want.
Also if the default routes are screwed up, fix it like this
cat >> /etc/sysconfig/network << END
GATEWAY='Gateway_IP'
END
A few Day-to-Day life tricks of Linux.
ifconfig eth0 'new_ip' netmask 255.255.255.0 up
cat >> /etc/sysconfig/network << END
GATEWAY='Gateway_IP'
END
No comments:
Post a Comment