修改主机名后网络Ping不通?

由 the3 在 04-06-2004 11:46 发表:

修改主机名后网络Ping不通?

修改主机名后网络Ping不通?

1 台 运行WIndows98第一版的计算机,

计算机名:laptop

工作组: yankee

IP地址 192.168.0.3/255.255.255.0

1 台 运行Linux的计算机

IP地址 192.168.0.2/255.255.255.0

两台计算机使用交叉双绞线连接

Linux 计算机的名称改变后没法Ping通Windows

修改后的/etc/sysconfig/network内容如下:

NETWORKING=yes

HOSTNAME=yankee

GATEWAYDEV=

GATEWAY=

修改后的/etc/hosts内容如下:

Do not remove the following line, or various programs

that require network functionality will fail.

127.0.0.1 yankee.yankee yankee

127.0.0.1 yankee.yankee yankee

192.168.0.2 yankee.yankee yankee

192.168.0.3 laptop.yankee

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus