请大家帮我看看是什么没有配对?

jspxnet 2001-12-08 03:58:54
我的计算机名为:cayu
IP:192.168.100.25
主机为:192.167.100.1 (也是网关 winnt4.0) 并通过它上internet
DNS: 211.96.129.161
——————————————————————————————
如果我去打开局域网就会显示 "无法联接到主机localhost"
我的配置如下:
[root@cayu root]#netconf
[Host name and IP netWork devices]
Host name + domain : #我不明白这里写什么好
Config mode : Manual
Primary name + domain : #我不明白这里写什么好
Aliases(opt):cayu
IP address :192.168.100.25
Netmast(opt):255.255.255.0
Net device :eth0
[Name server specification(DNS)]
default domain:
IP of name server 1:211.96.129.161
------------------------------------------------------------
[root@cayu root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:564 errors:0 dropped:0 overruns:0 frame:0
TX packets:564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:36618 (35.7 Kb) TX bytes:36618 (35.7 Kb)

lo:0 Link encap:Local Loopback
inet addr:192.168.100.25 Mask:255.255.255.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
--------------------------------------------------------------------------
ping 时会有一个警告
[root@cayu root]# ping 192.168.100.25
PING 192.168.100.25 (192.168.100.25) from 192.168.100.25 : 56(84) bytes of data.Warning: time of day goes back, taking countermeasures.
64 bytes from 192.168.100.25: icmp_seq=0 ttl=255 time=737 usec
64 bytes from 192.168.100.25: icmp_seq=1 ttl=255 time=55 usec
64 bytes from 192.168.100.25: icmp_seq=2 ttl=255 time=54 usec
64 bytes from 192.168.100.25: icmp_seq=3 ttl=255 time=53 usec
64 bytes from 192.168.100.25: icmp_seq=4 ttl=255 time=54 usec
64 bytes from 192.168.100.25: icmp_seq=5 ttl=255 time=53 usec
64 bytes from 192.168.100.25: icmp_seq=6 ttl=255 time=51 usec
64 bytes from 192.168.100.25: icmp_seq=7 ttl=255 time=55 usec
64 bytes from 192.168.100.25: icmp_seq=8 ttl=255 time=54 usec
64 bytes from 192.168.100.25: icmp_seq=9 ttl=255 time=54 usec
64 bytes from 192.168.100.25: icmp_seq=10 ttl=255 time=53 usec
64 bytes from 192.168.100.25: icmp_seq=11 ttl=255 time=53 usec
64 bytes from 192.168.100.25: icmp_seq=12 ttl=255 time=54 usec
64 bytes from 192.168.100.25: icmp_seq=13 ttl=255 time=54 usec
64 bytes from 192.168.100.25: icmp_seq=14 ttl=255 time=56 usec
64 bytes from 192.168.100.25: icmp_seq=15 ttl=255 time=55 usec
64 bytes from 192.168.100.25: icmp_seq=16 ttl=255 time=56 usec
64 bytes from 192.168.100.25: icmp_seq=17 ttl=255 time=55 usec
64 bytes from 192.168.100.25: icmp_seq=18 ttl=255 time=54 usec
64 bytes from 192.168.100.25: icmp_seq=19 ttl=255 time=53 usec
64 bytes from 192.168.100.25: icmp_seq=20 ttl=255 time=55 usec
--- 192.168.100.25 ping statistics ---
[root@cayu root]# ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1) from 192.168.100.1 : 56(84) bytes of data.
Warning: time of day goes back, taking countermeasures.
64 bytes from 192.168.100.1: icmp_seq=0 ttl=255 time=243 usec
64 bytes from 192.168.100.1: icmp_seq=1 ttl=255 time=53 usec
64 bytes from 192.168.100.1: icmp_seq=2 ttl=255 time=54 usec
64 bytes from 192.168.100.1: icmp_seq=3 ttl=255 time=55 usec
64 bytes from 192.168.100.1: icmp_seq=4 ttl=255 time=54 usec
64 bytes from 192.168.100.1: icmp_seq=5 ttl=255 time=56 usec
64 bytes from 192.168.100.1: icmp_seq=6 ttl=255 time=54 usec
64 bytes from 192.168.100.1: icmp_seq=7 ttl=255 time=55 usec
64 bytes from 192.168.100.1: icmp_seq=8 ttl=255 time=52 usec
64 bytes from 192.168.100.1: icmp_seq=9 ttl=255 time=53 usec
64 bytes from 192.168.100.1: icmp_seq=10 ttl=255 time=53 usec
64 bytes from 192.168.100.1: icmp_seq=11 ttl=255 time=54 usec
64 bytes from 192.168.100.1: icmp_seq=12 ttl=255 time=55 usec
64 bytes from 192.168.100.1: icmp_seq=13 ttl=255 time=53 usec
64 bytes from 192.168.100.1: icmp_seq=14 ttl=255 time=54 usec
64 bytes from 192.168.100.1: icmp_seq=15 ttl=255 time=53 usec
64 bytes from 192.168.100.1: icmp_seq=16 ttl=255 time=53 usec
--- 192.168.100.1 ping statistics ---
22 packets transmitted, 22 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.051/0.062/0.243/0.040 ms
...全文
123 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
jspxnet 2001-12-12
  • 打赏
  • 举报
回复
[root@cayu root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BA:27:CB:42
inet addr:192.168.100.25 Bcast:192.168.100.255 Mask:255.255.255.0
U P BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:890 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:119101 (116.3 Kb) TX bytes:6297 (6.1 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.255.255.0
U P LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:624 errors:0 dropped:0 overruns:0 frame:0
TX packets:624 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:41350 (40.3 Kb) TX bytes:41350 (40.3 Kb)

[root@cayu root]# ping 192.168.100.25
PING 192.168.100.25 (192.168.100.25) from 192.168.100.25 : 56(84) bytes of data.Warning: time of day goes back, taking countermeasures.
64 bytes from 192.168.100.25: icmp_seq=0 ttl=255 time=239 usec
64 bytes from 192.168.100.25: icmp_seq=1 ttl=255 time=58 usec
64 bytes from 192.168.100.25: icmp_seq=2 ttl=255 time=58 usec
64 bytes from 192.168.100.25: icmp_seq=3 ttl=255 time=59 usec
64 bytes from 192.168.100.25: icmp_seq=4 ttl=255 time=59 usec
64 bytes from 192.168.100.25: icmp_seq=5 ttl=255 time=58 usec
64 bytes from 192.168.100.25: icmp_seq=6 ttl=255 time=57 usec

--- 192.168.100.25 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.057/0.084/0.239/0.063 ms
--------------------------------------------------------------
ping 时会有一个警告
还有 route add -net 后边应该是什么?
jspxnet 2001-12-12
  • 打赏
  • 举报
回复
感谢hegum(大概)我的计算机能上网了.

但不能访问局域网.而我是通过局域网上网的.局域网上的都是win2000计算机.
ping 时还会有一个警告,上网的速度很慢很慢?
还有可能什么地方有错?
hegum 2001-12-12
  • 打赏
  • 举报
回复
好象
ifconfig $IF1 $IPADDR1 netmask $NETMASK1 broadcast $BROADCAST1
route add -net $NETWORK1 netmask $NETMASK1 gw $IPADDR1
比如
ifconfig eth1 140.122.52.235 netmask 255.255.255.248 broadcast 140.122.52.239
route add -net 140.122.52.232 netmask 255.255.255.248 gw 140.122.52.235 eth1

hegum 2001-12-11
  • 打赏
  • 举报
回复
哪里不行啊?网关是不是192.167.100.1啊还是192.168.100.1
ifconfig什么结果啊
jspxnet 2001-12-11
  • 打赏
  • 举报
回复
还是不行啊!

hegum 2001-12-10
  • 打赏
  • 举报
回复
试试
1,ifconfig eth0 192.168.100.25 netmask 255.255.255.0
然后运行netconfig 里填
网关:192.167.100.1
DNS:211.96.129.161
assign 2001-12-09
  • 打赏
  • 举报
回复
至少你的子网掩(mask)是错的。如果是IP:192.168.100.25主机为:192.167.100.1没错的话,你的mask应该是255.0.0.0
jspxnet 2001-12-09
  • 打赏
  • 举报
回复
lan name = ST

不是吧!高分也没有一个人来看一看。

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧