|
|
发表于 2004-10-16 21:08:32
|
显示全部楼层
要到文件裏修改...
1.這是關於ip.subnet
[root@shlinux root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.7.112
NETMASK=255.255.255.0
NETWORK=192.168.7.0
BROADCAST=192.168.7.255
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY=""
[root@shlinux root]#
2.關於DNS的服務器
[root@shlinux root]# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 192.168.1.253
# ppp temp entry
3.[root@shlinux root]# cat /etc/hosts
192.168.7.112 shlinux.peter.com shlinux
127.0.0.1 localhost |
|