From owner-freebsd-questions Thu Feb 24 16:40:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from funky.monkey.org (funky.monkey.org [63.77.239.13]) by hub.freebsd.org (Postfix) with ESMTP id C1E8B37B76D for ; Thu, 24 Feb 2000 16:40:18 -0800 (PST) (envelope-from chester@monkey.org) Received: by funky.monkey.org (Postfix, from userid 1114) id 755D6151C7; Thu, 24 Feb 2000 19:38:04 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by funky.monkey.org (Postfix) with ESMTP id 52E1114A01 for ; Thu, 24 Feb 2000 19:38:04 -0500 (EST) Date: Thu, 24 Feb 2000 19:38:04 -0500 (EST) From: Chester Kustarz 2 To: freebsd-questions@freebsd.org Subject: Networking(ARP) problem with FreeBSD 3.4 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have run through all the trouble shooting stuff in The Complete FreeBSD book and searched around on the net for a solution to my problem, but I could not find anything so I am turning to the list. I have set up a FreeBSD 3.4 machine on my LAN and have run into a strange problem where the FreeBSD machine (toothgnasher) does not want to reply to arp requests from any of my other machines on the network. If I re-ifconfig the adapter, I will be able to ping the FreeBSD box from the other machines, but if there is no network traffic between the machines then it will stop working after a few minutes. I can always ping from the FreeBSD machine but not to it. Here is the result of running ping from my win98 machine (musicalgoat): C:\WINDOWS>ping 10.0.0.2 Request timed out. Request timed out. ... Here is what my OpenBSD (parakeet) box says for tcpdump -i pn1 arp: 03:44:33.867772 arp who-has toothgnasher tell musicalgoat.parakeet.nailed.org ... (a bunch of these) 03:45:29.305128 arp who-has toothgnasher tell musicalgoat.parakeet.nailed.org (now I run ifconfig mx0 inet 10.0.0.2 netmask 0xffffff00 on FreeBSD box) 03:45:29.986575 arp who-has toothgnasher tell toothgnasher 03:45:29.987123 arp who-has musicalgoat.parakeet.nailed.org tell toothgnasher 03:45:29.987245 arp reply musicalgoat.parakeet.nailed.org is-at 0:a0:cc:25:9e:f303:54:15.971747 arp who-has parakeetinternal tell musicalgoat.parakeet.nailed.org 03:54:15.971783 arp reply parakeetinternal is-at 0:a0:cc:58:2a:b2 04:04:30.080609 arp who-has parakeetinternal tell musicalgoat.parakeet.nailed.org 04:04:30.080637 arp reply parakeetinternal is-at 0:a0:cc:58:2a:b2 04:07:02.116578 arp who-has toothgnasher tell musicalgoat.parakeet.nailed.org ... (its not working anymore) 04:07:06.554322 arp who-has toothgnasher tell musicalgoat.parakeet.nailed.org 04:14:30.684016 arp who-has parakeetinternal tell musicalgoat.parakeet.nailed.org 04:14:30.684051 arp reply parakeetinternal is-at 0:a0:cc:58:2a:b2 Here is some configuration information if you are still reading: $ uname -a FreeBSD toothgnasher.parakeet.nailed.org 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Tue Dec 28 22:18:05 GMT 1999 jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC i386 Here is dmesg (most of it) $ dmesg syncing disks... 6 6 3 done Rebooting... FreeBSD 3.4-RELEASE #0: Tue Dec 28 22:18:05 GMT 1999 jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 199904967 Hz CPU: Pentium/P54C (199.90-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 50331648 (49152K bytes) avail memory = 45518848 (44452K bytes) Preloaded elf kernel "kernel" at 0xc035c000. Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 mx0: rev 0x25 int a irq 9 on pci0.19.0 mx0: Ethernet address: 00:80:c6:f9:48:ee mx0: autoneg complete, link status good (half-duplex, 10Mbps) vga0: rev 0x14 int a irq 11 on pci0.20.0 Probing for PnP devices: Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 8250 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1 not found at 0x2f8 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S ie0: unknown board_id: f000 ie0 not found at 0x300 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Intel Pentium detected, installing workaround for F00F bug changing root device to wd0s1a mx0: promiscuous mode enabled What is promiscuous mode anyway? Here is the output of ifconfig: $ ifconfig -a mx0: flags=8843 mtu 1500 inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:80:c6:f9:48:ee media: 10baseT/UTP supported media: autoselect 100baseTX 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP tun0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 ppp0: flags=8010 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 Here is my hosts file: 127.0.0.1 localhost.parakeet.nailed.org localhost local 10.0.0.2 toothgnasher.parakeet.nailed.org toothgnasher 10.0.0.1 parakeet.nailed.org parakeet 10.0.0.6 musicalgoat.parakeet.nailed.org musicalgoat Once I get the machine to reply to the arp request everything goes fine but only for a few minutes. Anybody run into this problem before? Thank you, -- Chester Kustarz -- Chester Kustarz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message