Network Problem on FreeBSD-4.8 : Cannot ping LAN hosts

Edwin D. Vinas edwin_vinas at yahoo.com
Thu Sep 18 10:04:17 PDT 2003


hi josh,
 
see dmesg, ifconfig and netstat below... hope you can help me now. -edwin
 
IFCONFIG

dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

inet 192.168.0.6 netmask 0xffffff00 broadcast 192.168.0.255

inet6 fe80::280:adff:fe00:591a%dc0 prefixlen 64 scopeid 0x1 

ether 00:80:ad:00:59:1a

media: Ethernet autoselect (100baseTX)

status: active

lp0: flags=8810<POINTOPOINT,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<POINTOPOINT,MULTICAST> mtu 1500

sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552


====DN

dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

inet 192.168.0.6 netmask 0xffffff00 broadcast 192.168.0.255

inet6 fe80::280:adff:fe00:591a%dc0 prefixlen 64 scopeid 0x1 

ether 00:80:ad:00:59:1a

media: Ethernet autoselect (100baseTX)

status: active

lp0: flags=8810<POINTOPOINT,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<POINTOPOINT,MULTICAST> mtu 1500

sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552

DMESG

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: Fri Feb 18 21:38:56 PHT 2000

root at e-live.com:/usr/src/sys/compile/CNETPRO

Timecounter "i8254" frequency 1193182 Hz

CPU: AMD Duron(tm) processor (699.51-MHz 686-class CPU)

Origin = "AuthenticAMD" Id = 0x631 Stepping = 1

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>

AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>

real memory = 268369920 (262080K bytes)

avail memory = 255897600 (249900K bytes)

Preloaded elf kernel "kernel" at 0xc051d000.

Pentium Pro MTRR support enabled

md0: Malloc disk

Using $PIR table, 7 entries at 0xc00fdf00

npx0: <math processor> on motherboard

npx0: INT 16 interface

pcib0: <Host to PCI bridge> on motherboard

pci0: <PCI bus> on pcib0

agp0: <VIA Generic host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0

pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0

pci1: <PCI bus> on pcib1

pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 10

dc0: <Davicom DM9102A 10/100BaseTX> port 0xd000-0xd0ff mem 0xef000000-0xef0000ff irq 11 at device 9.0 on pci0

dc0: Ethernet address: 00:80:ad:00:59:1a

miibus0: <MII bus> on dc0

ukphy0: <Generic IEEE 802.3u media interface> on miibus0

ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

isab0: <PCI to ISA bridge (vendor=1106 device=3074)> at device 17.0 on pci0

isa0: <ISA bus> on isab0

atapci0: <VIA 8233 ATA100 controller> port 0xd400-0xd40f at device 17.1 on pci0

ata0: at 0x1f0 irq 14 on atapci0

ata1: at 0x170 irq 15 on atapci0

uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 11 at device 17.2 on pci0

usb0: <VIA 83C572 USB controller> on uhci0

usb0: USB revision 1.0

uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub0: 2 ports with 2 removable, self powered

uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 11 at device 17.3 on pci0

usb1: <VIA 83C572 USB controller> on uhci1

usb1: USB revision 1.0

uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub1: 2 ports with 2 removable, self powered

uhci2: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 11 at device 17.4 on pci0

usb2: <VIA 83C572 USB controller> on uhci2

usb2: USB revision 1.0

uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub2: 2 ports with 2 removable, self powered

pci0: <unknown card> (vendor=0x1106, dev=0x3059) at 17.5 irq 5

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

psm0: <PS/2 Mouse> irq 12 on atkbdc0

psm0: model IntelliMouse, device ID 3

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: <Parallel port> at port 0x378-0x37f irq 7 on isa0

ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode

plip0: <PLIP network interface> on ppbus0

lpt0: <Printer> on ppbus0

lpt0: Interrupt-driven port

ppi0: <Parallel I/O> on ppbus0

ad0: 29325MB <Maxtor 6E030L0> [59582/16/63] at ata0-master UDMA100

acd0: DVD-ROM <DVD-ROM DVD-16X6S> at ata0-slave PIO4

Mounting root from ufs:/dev/ad0s2a

ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying

ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying

ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying

ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) falling back to PIO mode

NETSTAT -rn

Routing tables

Internet:

Destination Gateway Flags Refs Use Netif Expire

default 192.168.0.1 UGSc 0 0 dc0

127.0.0.1 127.0.0.1 UH 0 0 lo0

192.168.0 link#1 UC 1 0 dc0

192.168.0.1 link#1 UHLW 1 3 dc0

Internet6:

Destination Gateway Flags Netif Expire

::1 ::1 UH lo0

fe80::%dc0/64 link#1 UC dc0

fe80::280:adff:fe00:591a%dc0 00:80:ad:00:59:1a UHL lo0

fe80::%lo0/64 fe80::1%lo0 Uc lo0

fe80::1%lo0 link#4 UHL lo0

ff01::/32 ::1 U lo0

ff02::%dc0/32 link#1 UC dc0

ff02::%lo0/32 ::1 UC lo0

 
 
 
 
 
Josh Paetzel <friar_josh at webwarrior.net> wrote:
On Thu, Sep 18, 2003 at 09:06:19AM -0700, Edwin D. Vinas wrote:
> Hi,
> 
> I've stumbling with all the mailing lists about this problem and I hope somebody will give a kind advise. Here's my LAN setup:
> ------------------------------------------------------------
> | | | | |
> WinXP1 WinXP2 WinXP3 WinXP4 FreeBSD
> 
> WinXP3 is my Internet Sharing Machine connected to my ISP.
> I can browse the web using all the WinXPs but I cannot access the web via FreeBSD.
> FreeBSD's IP address follows the 192.198.0.x format just like the other WinXPs.
> When I check the FreeBSD, i can see its IP address and Subnet Mask etc via "ifconfig".
> I can even change the IP address+ Gateway (which is WinXP2's IP add) using
> ifconfig or /stand/sysinstall. I even manually edited rc.conf, and even changed the 
> setting to DHCP etc etc etc.
> 
> My diagnosis tells that I cannot ping any WinXP machine in the LAN. But I can ping myself (FreeBSD) locally. When I run "netstat -rn", It seems the network card is ok. 
> When I run "tcpdump", I didn't show any output. By the way, this network card is CNet PRO200. I was thinking it was not recognize or supported by the FreeBSD-4.8. When I checked "FreeBSD-4.8's Hardware Compatibility Lit", I didn't see any "CNet PRO200" but I saw a "CNet/PRO" which I suppose are just the same. So, I recompiled my Kernel again just in case FreeBSD didn't recognize this newly installed Cnet LAN card. But, nothing changed after Kernel recompilation. (But I did not change any option in the Generic kernel; just re-compiled it).
> 
> The output when I ping WinXP3: "ping: sendto: Host is down". 
> It's not true coz Im typing this email right in the WinXP3 machine. I cannot also ping FreeBSD's IP add from the WinXP internet sharing server. The dmesg shows the following: pci0 (vendor=0x1106 dev=0x3059) at 17.5 irq 5.
> 
> By the way, this machine where FreeBSD is installed also has WinXP which works fine when in Windows. So Im sure my LAN card is really ok. It's only a problem of FreeBSD.
> 
> 
> What should I do? I don't want to make FreeBSD machine as my Internet sharing server as of now (although its the best option). Im testing/running a Unix program that needs to be connected to the Internet via Windows XP gateway.
> 
> Please help me make my FreeBSD be part of my LAN....
> 
> -Edwin
> 
> 
> best regards,
> 
> \___\__\_______/__/ Edwin D. Vi?as http://edwin.ontheweb.com
> \___\__\_____/__/ Electronics and Communications Engineer
> \___\__\___/__/ Mobile: +639202612660
> \___\__\_/__/ E-mail: edwin_vinas at yahoo.com
> PH \___\_____/ "The Brain is as vast as the Universe."
> 

The output of dmesg and ifconfig would be helpful in diagnosing this. I suppose 
that's major PITA though considering you're LAN isn't working. At the very least, 
the first entry that comes up with ifconfig would be very helpful.

Josh

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

best regards,
                                                                                
\___\__\_______/__/ Edwin D. Viñas http://edwin.ontheweb.com
 \___\__\_____/__/  Electronics and Communications Engineer
  \___\__\___/__/   Mobile: +639202612660
   \___\__\_/__/    E-mail: edwin_vinas at yahoo.com
PH  \___\_____/     "The Brain is as vast as the Universe."

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software


More information about the freebsd-questions mailing list