[root@alanstudio]# ifconfig eth0 192.168.1.10 netmask 255.255.255.0 Modify IP and netmask in eth0 manually[root@alanstudio]# route add default gw 192.168.1.1 Add default gateway manually[root@alanstudio]# route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1
[root@alanstudio]# vi /etc/hosts
[root@alanstudio]# vi /etc/resolv.conf [root@alanstudio]# vi /etc/sysconfig/network [root@alanstudio]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 Server is hosted by Alanstudio Linux Operating System Recommend screen resolution 1024 x 768 / IE / FireFox Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved. |