阅读:2060回复:1
有关solaris9/x86为何ping不通?
我现在来测试我的网卡是否能正常工作,简单与一个装window 2000的操作系统用网线做成对等网来测试!
网络具体设置如下: 我的装solaris系统的ip:192.0.6.90, window 2000的ip: 192.0.6.166. 介质模式为: speed: 100Mbps half duplex 从solaris机器来ping 的情况如下: #ping 127.0.01 127.0.01 is alive #ping localhost localhost is alive #ping solaris solaris is alive #ping 192.0.6.90 192.0.6.90 is alive 但ping 装window 2000的机器 #ping 192.0.6.166 no anwer form 192.0.6.166 用netstat -i来看包的数目:即有发出的包数,也有接收到的包数,无丢包的现象,并且在另一个窗口用命令 snoop来抓包:显示如下: solaris -> (broadcast) ARP C who is 192.0.6.166, 192.0.6.166? ? -> * ETHER Type = 3FAE(Unkown), size=60 bytes 这些重复了24次! 我在装window 2000 的机器里装了一个抓包软件来软包,结果为: 00:5c:38 broadcast ARP who has 192.0.6.166? tell 192.0.6.90 00:70:03 00:5c:38 ARP 192.0.6.166 at 00:02:3f:ae:70:03(装window 2000的网卡mac地址) 这些重复了24次! 我的机器哪里出了问题,会出现no answer form 192.0.6.166? 我机器(solaris)网络设置如下: # more /etc/hosts 127. 0.0.1 localhost 192.0.6.90 solaris loghost #more /etc/netmasks 192.0.6.0 255.255.255.0 # ifconfig -a lo0: flag=1000849.......<UP,.......> MTU 8232 index 1 inet 127.0.0.1 netmask ff000000 sn0: flag=1000843.....<UP,........> mtu 1500 index 2 inet 192.0.6.90 netmask ffffff00 broadcast 192.0.6.255 ether 0:60:6e:0:5c:38 #netstat -rn routing table :IPV4 Destination Gateway Flags Ref Use Inerface 192.0.6.90 192.0.6.90 U 1 12 sn0 127.0.0.1 127.0.0.1 UH 34 11206 lo0 没有网关,因此没写文件:/etc/defaultrouter 另外: 我也试过了,在启机时,在BIOS中将 ACPI 设置为 NO 即使将这项设为YES 结果都是一样的,没什么影响! 再有:irq = 0x2814010b 为什么这个数这么大,不象别的系统的数那么小也就在1-12之内! |
|
沙发#
发布于:2003-09-12 20:07
首先,127.0.0.1能ping通,肯定网卡没有问题,TCP/IP设置也没有问题。
通过你抓的包看来,问题应该是ARP应答的解析问题: WINDOWS应答:00:02:3f:ae:70:03 但是Solaris把中间的3f:ae解释成了ethernet type(ETHER Type = 3FAE(Unkown)),显然是没有对ARP包进行正确解析。是否Windows和Solaris采用不同的ARP包格式? 抱歉,手头资料不足,暂时找不到这个答案,你可以去试着找找这方面的资料。 |
|
|