From owner-freebsd-questions Sat Jul 20 17:46:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA27040 for questions-outgoing; Sat, 20 Jul 1996 17:46:29 -0700 (PDT) Received: from phs.k12.ar.us (garman@phs.k12.ar.us [165.29.117.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA27035 for ; Sat, 20 Jul 1996 17:46:26 -0700 (PDT) Received: from localhost (garman@localhost) by phs.k12.ar.us (8.6.12/8.6.12) with SMTP id TAA01052; Sat, 20 Jul 1996 19:46:11 -0500 Date: Sat, 20 Jul 1996 19:46:11 -0500 (CDT) From: Jason Garman To: dwhite@resnet.uoregon.edu cc: questions@freebsd.org Subject: Re: More results on my problem... (was: Network weirdness?) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 19 Jul 1996, Doug White wrote: > > ------------------------------------------------------------------------- > > Routing tables > > > > Internet: > > Destination Gateway Flags Refs Use Netif Expire > > localhost localhost UH 0 0 lo0 > > garman-net jason UCSc 0 0 eg0 > > the eg0 could possibly be it. can you run 'ifconfig eg0' and post the > output? > Yes, that is my ethernet card: eg0: flags=863 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > Have you tried a different ethernet card, like a cheap NE2000? > I would, if I had any. The only cards I have are the two 3c505's. Btw- this card works perfectly in both Windoze and Linux so I doubt its a bad card... > > Jul 19 15:55:25 jason /kernel: arpresolve: can't allocate llinfo for > > 192.168.1.1 > > This points to a routing problem. > This only happens when I set up the route using the command `route add 192.168.1.0 192.168.1.1'. When I use that statement, I can't ping _any_ hosts on the network. They give me a message like the one up above. In fact-- using that statement, the FreeBSD machine doesn't even _attempt_ to arp for anyone's address on the network, just blindly throwing packets out the interface which obviously nobody responds to. The ethernet address of the FreeBSD box doesn't even appear in the arp cache. When I do `route add -net 192.168.1.0 -interface 192.168.1.1' this does not appear. Using this, pinging hosts on the network works, and the FreeBSD box correctly arps for their addresses. But it still does not respond to broadcast packets such as the arp broadcasts the Windows machine sends out when it starts up. > I don't think Windoze machines ping. Do they? > Yes, they do. Although it's probably not technically `legal', I tried telnetting to the broadcast address and watched Trumpet's log window. I could see the packet go out of the Windows machine's interface, but couldn't see any evidence of it in my tcpdump on the FreeBSD machine. Same with the arp broadcasts earlier.... -- Jason Garman http://www.nesc.k12.ar.us/~garman/ Student, Eleanor Roosevelt High School garman@phs.k12.ar.us