From owner-freebsd-stable Tue Sep 19 23:41:20 2000 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 45F3C37B424 for ; Tue, 19 Sep 2000 23:41:16 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.9.3/1.13) id JAA58645; Wed, 20 Sep 2000 09:40:51 +0300 (EEST) Date: Wed, 20 Sep 2000 09:40:43 +0300 From: Ruslan Ermilov To: Gregory Bond Cc: stable@freebsd.org Subject: Re: arplookup llinfo Message-ID: <20000920094043.A58440@sunbay.com> Mail-Followup-To: Gregory Bond , stable@freebsd.org References: <200009192231.JAA21139@lightning.itga.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200009192231.JAA21139@lightning.itga.com.au>; from gnb@itga.com.au on Wed, Sep 20, 2000 at 09:31:39AM +1100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Sep 20, 2000 at 09:31:39AM +1100, Gregory Bond wrote: > I wrote: > > > Since I enabled a ppp-over-tcp link into this box, I've been getting the > > following errors: > > > > Sep 17 16:31:40 hellcat /kernel: arplookup 192.168.72.178 failed: could not a > > llo > > cate llinfo > > Sep 17 16:31:40 hellcat /kernel: arpresolve: can't allocate llinfo for 192.16 > > 8.7 > > 2.178rt > > Thanks to Ruslan for his assistance. This was caused by a > configuration error on my part. A route to the LAN at the remote end > was added statically to the local host, plus (due to the "add HISADDR" > entry in the the ppp.conf file) was being added and deleted dynamically > by ppp whenever the link came up/went down. Having two routes to the > one net, one via tun0 and one via xl0, was confusing the arp system. > > The easy fix was to delete the static route and let ppp add and delete > the route as necessary. The only cost of this is packets destined for > the remote LAN bouncing between the local host and the default router > whenever the ppp link is down. > You can still have the static route via ethernet before PPP link is up, then change the route via PPP with `add! LAN HISADDR' in ppp.linkup and then change this route back via ethernet in ppp.linkdown when PPP link comes down. -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message