免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1895 | 回复: 5
打印 上一主题 下一主题

[SCO UNIX] 急,网络问题,迷茫中!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-08-26 10:41 |只看该作者 |倒序浏览
DS10,TRU64 UNIX4.0F。除主板集成的两块网卡外,在PCI的Slot17还有一块网卡(单口,10/100)。tu0和tu1组成nr0,另一网卡ee0使用与nr0不同的ip地址,ee0和nr0连到不同的交换机上,以此来区分进出口通路通过哪个network interface。系统启动以后网络不通,ping的数据包丢失率为100%,telnet、ftp等也不通。/var/adm/messages如下:
Aug 21 01:27:09 cherod101da vmunix: Alpha boot: available memory from 0xe7c000 t
o 0xff46000
Aug 21 01:27:09 cherod101da vmunix: Digital UNIX V4.0F (Rev. 1229); Tue May 1
01:48:09 GMT 2001
Aug 21 01:27:09 cherod101da vmunix: physical memory = 256.00 megabytes.
Aug 21 01:27:09 cherod101da vmunix: available memory = 240.81 megabytes.
Aug 21 01:27:09 cherod101da vmunix: using 972 buffers containing 7.59 megabytes
of memory
Aug 21 01:27:09 cherod101da vmunix: configure_patform: entered
Aug 21 01:27:09 cherod101da vmunix: Firmware revision: 5.7-8
Aug 21 01:27:09 cherod101da vmunix: PALcode: Digital UNIX version 1.72-59
Aug 21 01:27:09 cherod101da vmunix: COMPAQ AlphaServer DS10 466 MHz
Aug 21 01:27:09 cherod101da vmunix: >;>; COMPAQ AlphaServer DS10 466 MHz
Aug 21 01:27:09 cherod101da vmunix: Who me worry?
Aug 21 01:27:09 cherod101da vmunix: Autoconfig running for 1 pci hoses...
Aug 21 01:27:09 cherod101da vmunix: gpc0 at isa0
Aug 21 01:27:09 cherod101da vmunix: pci0 at nexus
Aug 21 01:27:09 cherod101da vmunix: usb0 at pci0 slot 1
Aug 21 01:27:09 cherod101da vmunix: isa0 at pci0
Aug 21 01:27:09 cherod101da vmunix: gpc1 not probed
Aug 21 01:27:09 cherod101da vmunix: gpc1 not probed
Aug 21 01:27:09 cherod101da vmunix: ace0 at isa0
Aug 21 01:27:09 cherod101da vmunix: ace1 at isa0
Aug 21 01:27:09 cherod101da vmunix: lp0 at isa0
Aug 21 01:27:09 cherod101da vmunix: fdi0 at isa0
Aug 21 01:27:09 cherod101da vmunix: fd0 at fdi0 unit 0
Aug 21 01:27:09 cherod101da vmunix: tu0: DECchip 21143: Revision: 4.1
Aug 21 01:27:09 cherod101da vmunix: tu0: auto negotiation capable device
Aug 21 01:27:09 cherod101da vmunix: tu0 at pci0 slot 9
Aug 21 01:27:09 cherod101da vmunix: tu0: DEC TULIP (10/100) Ethernet Interface,
hardware address: 08-00-2B-87-30-E5
Aug 21 01:27:09 cherod101da vmunix: tu0: auto negotiation off: selecting 100Base
TX (UTP) port: full duplex
Aug 21 01:27:09 cherod101da vmunix: tu1: DECchip 21143: Revision: 4.1
Aug 21 01:27:09 cherod101da vmunix: tu1: auto negotiation capable device
Aug 21 01:27:09 cherod101da vmunix: tu1 at pci0 slot 11
Aug 21 01:27:09 cherod101da vmunix: tu1: DEC TULIP (10/100) Ethernet Interface,
hardware address: 08-00-2B-87-2D-E7
Aug 21 01:27:09 cherod101da vmunix: tu1: auto negotiation off: selecting 100Base
TX (UTP) port: full duplex
Aug 21 01:27:09 cherod101da vmunix: ata0 at pci0 slot 13
Aug 21 01:27:09 cherod101da vmunix: ata0: ACER M1543C
Aug 21 01:27:09 cherod101da vmunix: scsi0 at ata0 slot 0
Aug 21 01:27:09 cherod101da vmunix: rz0 at scsi0 target 0 lun 0 (LID=0) (COMPAQ
CRD-8402B 1.03)
Aug 21 01:27:09 cherod101da vmunix: scsi1 at ata0 slot 1
Aug 21 01:27:09 cherod101da vmunix: rz8 at scsi1 target 0 lun 0 (LID=1) (Maxtor
51024H2 DAC1)
Aug 21 01:27:09 cherod101da vmunix:
Aug 21 01:27:09 cherod101da last message repeated 2 times
Aug 21 01:27:09 cherod101da vmunix: MD4A ADAPTATOR PROBE INTERFACE UNIT : 0
Aug 21 01:27:09 cherod101da vmunix:
Aug 21 01:27:09 cherod101da last message repeated 2 times
Aug 21 01:27:09 cherod101da vmunix: vendor_id=105d - device_id=493d - command=3
- status=280 - rev_id=0
Aug 21 01:27:09 cherod101da vmunix: bar0=40000000 - bar1=41000000 - bar2=1000000
- bar3=2000000 - bar4=26c0000
Aug 21 01:27:09 cherod101da vmunix: taille = c0
Aug 21 01:27:09 cherod101da vmunix: BAR0 = 0x40000008
Aug 21 01:27:09 cherod101da vmunix: BAR1 = 0x41000008
Aug 21 01:27:09 cherod101da vmunix: BAR2 = 0x1000000
Aug 21 01:27:09 cherod101da vmunix: BAR3 = 0x2000000
Aug 21 01:27:09 cherod101da vmunix: BAR4 = 0x26c0000
Aug 21 01:27:09 cherod101da vmunix: BAR5 = 0x10001
Aug 21 01:27:09 cherod101da vmunix: ctrl status regs at 0xfffffd00026c0000
Aug 21 01:27:09 cherod101da vmunix: cache_base0=40000000
Aug 21 01:27:09 cherod101da vmunix: cache_base1=41000000
Aug 21 01:27:09 cherod101da vmunix: cache_base2=1000000
Aug 21 01:27:09 cherod101da vmunix: cache_base3=2000000
Aug 21 01:27:09 cherod101da vmunix: cache_base4=26c0000
Aug 21 01:27:09 cherod101da vmunix: probe unit->;cache_base=0x26c0000
Aug 21 01:27:09 cherod101da vmunix: mapped address space at 0x800026c0000
Aug 21 01:27:09 cherod101da vmunix: passage dans suppcartegraphiqdec
Aug 21 01:27:09 cherod101da vmunix:
Aug 21 01:27:09 cherod101da last message repeated 2 times
Aug 21 01:27:09 cherod101da vmunix: TREX PROBE INTERFACE COMPLETED
Aug 21 01:27:09 cherod101da vmunix:
Aug 21 01:27:09 cherod101da last message repeated 2 times
Aug 21 01:27:09 cherod101da vmunix: mdia0 at pci0 slot 14
Aug 21 01:27:09 cherod101da vmunix: ATTACH : unitno=0
Aug 21 01:27:09 cherod101da vmunix: ATTACH : TREX COMPLETED
Aug 21 01:27:09 cherod101da vmunix:
Aug 21 01:27:09 cherod101da vmunix: ee0 at pci0 slot 17
Aug 21 01:27:09 cherod101da vmunix: ee0: COMPAQ Intel 82559 (10/100 Mbps) Ethern
et Interface
Aug 21 01:27:09 cherod101da vmunix: ee0: Driver Rev = V1.0.3, Chip Rev = 8, hard
ware address: 00-50-8B-65-BB-94
Aug 21 01:27:09 cherod101da vmunix: kn600: @configure time, perrmask[0] = (read)
0xf77
Aug 21 01:27:09 cherod101da vmunix: kn600: @configure time, perrmask[0] = (save)
0xf77
@Aug 21 01:27:09 cherod101da vmunix: kn600: @configure time, perrmask[0] = (load)
0xf57
Aug 21 01:27:09 cherod101da vmunix: kn600: @configure time, perrmask[0] = (read)
0xf57
Aug 21 01:27:09 cherod101da vmunix: Created FRU table binary error log packet
Aug 21 01:27:09 cherod101da vmunix: lvm0: configured.
Aug 21 01:27:09 cherod101da vmunix: lvm1: configured.
Aug 21 01:27:09 cherod101da vmunix: kernel console: ace0
Aug 21 01:27:09 cherod101da vmunix: dli: configured
Aug 21 01:27:09 cherod101da vmunix: ATM Subsystem configured with 1 restart thre
ads
Aug 21 01:27:09 cherod101da vmunix: ATM IFMP: configured
Aug 21 01:27:09 cherod101da vmunix: i2c: Server Management Hardware Present
Aug 21 01:27:09 cherod101da vmunix: ATMUNI: configured
Aug 21 01:27:09 cherod101da vmunix: ATMSIG: 3.x (module=uni3x) configured
Aug 21 01:27:09 cherod101da vmunix: ILMI: 3.x (module=ilmi) configured
Aug 21 01:27:10 cherod101da vmunix: ATM IP: configured
Aug 21 01:27:10 cherod101da vmunix: ATM LANE: configured.
Aug 21 01:27:10 cherod101da vmunix: vm_swap_init: warning /sbin/swapdefault swap
device not found
Aug 21 01:27:10 cherod101da vmunix: vm_swap_init: swap is set to lazy (over comm
itment) mode
Aug 21 01:27:10 cherod101da vmunix: ee0: Parallel Detection, 100 Mbps half duple
x
Aug 21 01:27:10 cherod101da vmunix: ee0: auto negotiation disabled
Aug 21 01:27:10 cherod101da vmunix: ee0: 100 Mbps Full duplex
Aug 21 01:27:28 cherod101da vmunix: Environmental Monitoring Subsystem Configure
d.
Aug 21 01:27:44 cherod101da vmunix: MD4AOPEN : unitno : 0
Aug 21 01:27:44 cherod101da vmunix: MD4AOPEN : trex_in : 1
Aug 21 01:27:44 cherod101da vmunix: MD4AOPEN : unitno : 0
Aug 21 01:27:44 cherod101da vmunix: MD4AOPEN : trex_in : 1
Aug 21 01:27:44 cherod101da vmunix: MD4AOPEN : unitno : 0
Aug 21 01:27:44 cherod101da vmunix: MD4AOPEN : trex_in : 1
Aug 21 01:27:44 cherod101da vmunix: MD4AOPEN : unitno : 0
Aug 21 01:27:44 cherod101da vmunix: MD4AOPEN : trex_in : 1

从message里面我无法看出端倪。

启动以后网卡灯闪烁正常,ifconfig -a的输出也正常。开始怀疑网络服务没有启动(顺便问一下怎样查看网络服务是否启动,或启动那些网络服务),于是执行rcinet,执行结果如下:

# rcinet stop
Stopping Internet services on this system. Please wait...
Could not find the sendmail daemon.
Unmounting NFS filesystems
Aug 24 09:37:51 cherod101da vmunix: NetRAIN: Interface tu1 is down
Aug 24 09:37:51 cherod101da vmunix: NetRAIN: switching from interface tu1 to interface tu0
Internet services on this system are stopped.
***************************
# rcinet start
Starting Internet services on this system. Please wait...
Configuring network
hostname: cherod101da
/sbin/rc3.d/S00inet: ifconfig failed - ifconfig: ioctl (SIOCIFADD):Function not implemented
ee0: 100 Mbps Full duplex
rwho daemon started
writing to routing socket: File exists
add net default: gateway 222.13.9.254: entry exists
Setting kernel timezone variable
Either svrSystem_mib is not running or envmon.mod module is not loaded.
snmp_request error: /usr/sbin/snmp_request:  no response - try again.
Setting the current time and date with ntpdate
Ntpdate failed.
Mounting NFS filesystems
NFS mount daemon started
NFS export service started
NFS IO service started
NFS Locking:
  rpc.statd started
rpc.statd: svc_register error for 100024, 1 (udp)
  rpc.lockd started
Network Time Service started
Using snmp service entry port 161.
Extensible SNMP master agent started
Base O/S sub-agent started
Server System sub-agent started
Server Management sub-agent started
Compaq Management sub-agent started
Internet services provided.
Internet services on this system are started.
**************************
# rcinet restart
Stopping Internet services on this system. Please wait...
Could not find the sendmail daemon.
Unmounting NFS filesystems
Internet services on this system are stopped.
Starting Internet services on this system. Please wait...
Configuring network
hostname: cherod101da
Aug 24 09:43:12 cherod101da vmunix: NetRAIN: Interface tu1 is down
/sbin/rc3.d/S00inet: ifconfig failed - ifconfig: ioctl (SIOCIFADD):
Function not
implemented
Aug 24 09:43:12 cherod101da vmunix: NetRAIN: Interface tu0 is down
Aug 24 09:43:12 cherod101da vmunix: NetRAIN: Interface nr0 has failed
ee0: 100 Mbps Full duplex
rwho daemon started
writing to routing socket: File exists
add net default: gateway 222.13.9.254: entry exists
Setting kernel timezone variable
Setting the current time and date with ntpdate
Ntpdate failed.
Mounting NFS filesystems
NFS mount daemon started
NFS export service started
NFS IO service started
NFS Locking:
  rpc.statd started
rpc.statd: svc_register error for 100024, 1 (udp)
  rpc.lockd started
Network Time Service started
Using snmp service entry port 161.
Extensible SNMP master agent started
Base O/S sub-agent started
Server System sub-agent started
Server Management sub-agent started
Compaq Management sub-agent started
Internet services provided.
Internet services on this system are started.

根据输出来看,是不正常的,而且在ping的时候根本连数据包都发不出去了(刚启动操作系统的时候ping其它节点是数据包能发出去而没有返回,当然已经排除了除本节点外其它设备的错误可能)。
此时ifconfig -a的输出是各个network interface都没有up。于是执行:
ifconfig nr0 up;
ifconfig ee0 up;
此时,ifconfig -a输出表明各个interface都up了,但仍然ping的时候能发出,不能返回,此时nr0主用的是tu0,于是执行:
ifconfig tu0 down;
ifconfig tu1 down;
ifconfig nr0 down;
ifconfig nr0 up;
(以上指令有时顺序不一,且相同顺序产生结果也不尽相同)
此时,奇迹发生了,ping nr0所在网络通了,各种网络程序均执行正常,而无论怎么ee0所在网络都不通(已执行ifconfig ee0 down和ifconfig ee0 up)。
我迷茫了!!!

论坛徽章:
0
2 [报告]
发表于 2004-08-30 18:42 |只看该作者

急,网络问题,迷茫中!!

都没有耐心看这么多?
其中我最不明白的是:
/sbin/rc3.d/S00inet: ifconfig failed - ifconfig: ioctl (SIOCIFADD):Function not implemented

论坛徽章:
0
3 [报告]
发表于 2004-09-02 22:57 |只看该作者

急,网络问题,迷茫中!!

这台机器一开始就是这样吗?
/sbin/rc3.d/S00inet文件修改过吗?
ee0是后配置的吗?是通过sysman配置的吗?
把ee0的网线拔掉,重启机器,情况怎样?
把tu0、tu1的网线拔掉,ee0的插上,重启机器又怎样?

论坛徽章:
0
4 [报告]
发表于 2004-09-05 13:56 |只看该作者

急,网络问题,迷茫中!!

/sbin/rc3.d/S00inet没有修改过,也绝对不会出现错误(和正常的机器相比完全相同)。
我很想明白/sbin/rc3.d/S00inet: ifconfig failed - ifconfig: ioctl (SIOCIFADD):Function not implemented的意思。
另外顺便问一下,执行ifconfig命令的出错信息来自那里?

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2004-09-05 18:41 |只看该作者

急,网络问题,迷茫中!!

朋友你能够给出你的ip地址是怎么分配的吗?比如ip地址和你的netmask.
另外就是你的交换机是怎么配置的.能够大概的说一下吗?

论坛徽章:
0
6 [报告]
发表于 2004-09-06 11:51 |只看该作者

急,网络问题,迷茫中!!

楼上:我的ifconfig -a输出如下:
      tu0: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>;
     NetRAIN Virtual Interface: nr0
     NetRAIN Attached Interfaces: ( tu0 tu1 ) Active Interface: ( tu0 )

tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>;
     NetRAIN Virtual Interface: nr0
     NetRAIN Attached Interfaces: ( tu0 tu1 ) Active Interface: ( tu0 )

ee0: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>;
     inet 222.13.9.11 netmask ffffff00 broadcast 222.13.9.254 ipmtu 1500

sl0: flags=10<OINTOPOINT>;

lo0: flags=100c89<UP,LOOPBACK,NOARP,MULTICAST,SIMPLEX,NOCHECKSUM>;
     inet 127.0.0.1 netmask ff000000 ipmtu 4096

ppp0: flags=10<OINTOPOINT>;

nr0: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>;
     NetRAIN Attached Interfaces: ( tu0 tu1 ) Active Interface: ( tu0 )
     inet 222.13.10.11 netmask ffffff00 broadcast 222.13.10.254 ipmtu 1500


交换机配置:与nr0的tu0和tu1连接的交换机ip分别为:222.13.10.241和222.13.10.242,
                  与ee0连接的交换机ip为:222.13.9.241
子网掩码都是255.255.255.0

交换机为Cisco Catalyst 3550,其中与tu0和tu1连接的两台交换机之间还通过光纤直连。

/etc/networks中关键行:
loop 127 loopback

# OPERATIONAL LAN

cher_main        222.13.10   CHER_MAIN

# SERVICE LAN

cher_serv        222.13.9    CHER_SERV

不知道这些信息加上前面已经给出的信息是否够,另外顺便问一句,和DHCP有关系吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP