免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: freeheart
打印 上一主题 下一主题

让我头痛的网络问题 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2003-05-25 22:33 |只看该作者

让我头痛的网络问题

网线、网卡都一切正常,ping localhost,ping 本地网卡ip 正常
头痛!

论坛徽章:
0
12 [报告]
发表于 2003-05-26 20:55 |只看该作者

让我头痛的网络问题

netstat -r查看一下路由,default的gateway对不对

论坛徽章:
0
13 [报告]
发表于 2003-05-26 21:08 |只看该作者

让我头痛的网络问题

把你的/etc/rc.conf, /var/run/dmesg.boot, netstat -r, ifconfig -a, 全部都貼出來...

论坛徽章:
0
14 [报告]
发表于 2003-05-27 14:10 |只看该作者

让我头痛的网络问题

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE #0: Mon May 26 22:06:49 CST 2003
    root@mail.free_heart.com:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.75-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>;
  Hyperthreading: 2 logical CPUs
real memory  = 536805376 (524224K bytes)
avail memory = 517066752 (504948K bytes)
Preloaded elf kernel "kernel" at 0xc051d000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 15 entries at 0xc00f8540
npx0: <math processor>; on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks host to PCI bridge(unknown chipset)>; on motherboard
pci0: <CI bus>; on pcib0
pci0: <unknown card>; (vendor=0x17aa, dev=0x0c6e) at 3.0
pci0: <ATI Mach64-GR graphics accelerator>; at 4.0 irq 10
isab0: <CI to ISA bridge (vendor=1166 device=0203)>; at device 15.0 on pci0
isa0: <ISA bus>; on isab0
atapci0: <Generic PCI ATA controller>; port 0xafd0-0xafdf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: <OHCI (generic) USB controller>; mem 0xfcf00000-0xfcf00fff irq 10 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller>; on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: <ServerWorks host to PCI bridge(unknown chipset)>; on motherboard
pci1: <CI bus>; on pcib1
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter>; port 0xcc00-0xccff mem 0xfe600000-0xfe600fff irq 12 at device 3.0 on pci1
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter>; port 0xc800-0xc8ff mem 0xfe400000-0xfe400fff irq 5 at device 3.1 on pci1
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pcib2: <Host to PCI bridge>; on motherboard
pci2: <CI bus>; on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10>; port 0xdc00-0xdc1f mem 0xfea00000-0xfea1ffff,0xfeb00000-0xfeb1ffff irq 5 at device 2.0 on pci2
em0:  Speed:100 Mbps  Duplex:Full
pcib3: <ServerWorks host to PCI bridge(unknown chipset)>; on motherboard
pci3: <CI bus>; on pcib3
pcib4: <ServerWorks host to PCI bridge(unknown chipset)>; on motherboard
pci4: <CI bus>; on pcib4
orm0: <Option ROMs>; at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff on isa0
fdc0: <NEC 72065B or clone>; at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive>; on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)>; at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard>; flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA>; at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console>; at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>;
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <arallel port>; at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <LIP network interface>; on ppbus0
lpt0: <rinter>; on ppbus0
lpt0: Interrupt-driven port
ppi0: <arallel I/O>; on ppbus0
ata0-slave: ATA identify retries exceeded
acd0: CDROM <GCR-8481B>; at ata0-master PIO4
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM IC35L036UCDY10-0 S25K>; Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)

论坛徽章:
0
15 [报告]
发表于 2003-05-27 14:19 |只看该作者

让我头痛的网络问题

netstat -rn

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            130.52.64.15       UGSc        1        0    em0
127.0.0.1          127.0.0.1          UH          0        0    lo0
130.52.64/22       link#1             UC          2        0    em0
130.52.64.15       link#1             UHLW        2        0    em0
130.52.64.207      00:20:ed:60:f2:4a  UHLW        0        2    lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UH          lo0
fe80::%em0/64                     link#1                        UC          em0
fe80::220:edff:fe60:f24a%em0      00:20:ed:60:f2:4a             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   Uc          lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01::/32                         ::1                           U           lo0
ff02::%em0/32                     link#1                        UC          em0
ff02::%lo0/32                     ::1                           UC          lo0

ifconfig -a

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>; mtu 1500
        options=3<rxcsum,txcsum>;
        inet 130.52.64.207 netmask 0xfffffc00 broadcast 130.52.67.255
        inet6 fe80::220:edff:fe60:f24a%em0 prefixlen 64 scopeid 0x1
        ether 00:20:ed:60:f2:4a
        media: Ethernet autoselect (100baseTX <full-duplex>
        status: active
lp0: flags=8810<OINTOPOINT,SIMPLEX,MULTICAST>; mtu 1500
faith0: flags=8002<BROADCAST,MULTICAST>; mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>; mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<OINTOPOINT,MULTICAST>; mtu 1500
sl0: flags=c010<OINTOPOINT,LINK2,MULTICAST>; mtu 552


rc.conf:
# -- sysinstall generated deltas -- # Mon May 26 23:23:58 2003
# -- sysinstall generated deltas -- # Sun May 25 23:14:15 2003
# -- sysinstall generated deltas -- # Sun May 25 23:38:25 2003
# Created: Sun May 25 23:14:15 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="130.52.64.15"
hostname="mail.test.com"
ifconfig_em0="inet 130.52.64.207  netmask 255.255.252.0"
kern_securelevel_enable="NO"
linux_enable="YES"
nfs_reserved_port_only="YES"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"

论坛徽章:
0
16 [报告]
发表于 2003-05-27 14:31 |只看该作者

让我头痛的网络问题

What network card you use..

it seems not found your network card in /var/run/dmesg.boot

我烂机上的网卡..
rl0: <RealTek 8139 10/100BaseTX>; port 0xe400-0xe4ff mem 0xfbfdf000-0xfbfdf0ff irq 10 at device 9.0
on pci0
rl0: Ethernet address: 00:50:fc:6c:00:eb
miibus0: <MII bus>; on rl0

论坛徽章:
0
17 [报告]
发表于 2003-05-27 15:17 |只看该作者

让我头痛的网络问题

原帖由 "kinux" 发表:
What network card you use..

it seems not found your network card in /var/run/dmesg.boot

我烂机上的网卡..
rl0: <RealTek 8139 10/100BaseTX>; port 0xe400-0xe4ff mem 0xfbfdf000-0xfbfdf0ff irq ..........



em0: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10>; port 0xdc00-0xdc1f mem 0xfea00000-0xfea1ffff,0xfeb00000-0xfeb1ffff irq 5 at device 2.0 on pci2
em0: Speed:100 Mbps Duplex:Full

人家不是贴出来了?

论坛徽章:
0
18 [报告]
发表于 2003-05-27 15:18 |只看该作者

让我头痛的网络问题

在demsg.boot中如下几行:

em0: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10>; port 0xdc00-0xdc1f mem 0xfea00000-0xfea1ffff,0xfeb00000-0xfeb1ffff irq 5 at device 2.0 on pci2
em0: Speed:100 Mbps Duplex:Full
兄台有没有办法帮俺一把?

论坛徽章:
0
19 [报告]
发表于 2003-05-27 15:20 |只看该作者

让我头痛的网络问题

netmask 255.255.252.0

其它机子也用这个掩码?

论坛徽章:
0
20 [报告]
发表于 2003-05-27 15:33 |只看该作者

让我头痛的网络问题

没错,
其实刚开始网络都是正常的,后来我安装好了sendmail,接着安装ipop3d出错提示cclient out of date,后面不知咋的网络就翘了,重装几次系统一样出错
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP