Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2000 19:38:04 -0500 (EST)
From:      Chester Kustarz 2 <chester@monkey.org>
To:        freebsd-questions@freebsd.org
Subject:   Networking(ARP) problem with FreeBSD 3.4
Message-ID:  <Pine.BSO.4.10.10002241936270.17292-100000@funky.monkey.org>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 50331648 (49152K bytes)
avail memory = 45518848 (44452K bytes)
Preloaded elf kernel "kernel" at 0xc035c000.
Probing for devices on PCI bus 0:
chip0: <Intel 82437VX PCI cache memory controller> rev 0x02 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
mx0: <Macronix 98715/98715A 10/100BaseTX> 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: <S3 Trio 64 graphics accelerator> 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): <ST32120A>
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:80:c6:f9:48:ee
        media: 10baseT/UTP <half-duplex>
        supported media: autoselect 100baseTX 100baseTX <full-duplex> 100baseTX <half-duplex> 10baseT/UTP 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex>
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.10.10002241936270.17292-100000>