From owner-freebsd-questions Mon Nov 25 13:14:23 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA09969 for questions-outgoing; Mon, 25 Nov 1996 13:14:23 -0800 (PST) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA09957 for ; Mon, 25 Nov 1996 13:14:11 -0800 (PST) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <16351(5)>; Mon, 25 Nov 1996 13:13:38 PST Received: from localhost ([127.0.0.1]) by crevenia.parc.xerox.com with SMTP id <177711>; Mon, 25 Nov 1996 13:13:33 -0800 X-Mailer: exmh version 1.6.7 5/3/96 To: Chris Madison cc: questions@freebsd.org Subject: Re: socket(), PF_ROUTE, SOCK_RAW question In-reply-to: Your message of "Sun, 24 Nov 1996 08:05:10 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 25 Nov 1996 13:13:28 PST From: Bill Fenner Message-Id: <96Nov25.131333pst.177711@crevenia.parc.xerox.com> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Chris, The code in "arp" that you're looking at does more or less the same thing as "route get" does, so try "route get ip.ad.dr.ess" to see what it has to say. Basically, the "cannot intuit" message means that when arp got the route for the destionation you're trying to set, it got a gateway route and not an interface route, meaning either that destination is not on a local subnet or your routing table is confused. If you want to learn more about routing sockets, I'd suggest "TCP/IP Illustrated, Volume 2" by Richard Stevens. Chapters 18, 19 and 20 cover the routing table and routing sockets, and chapter 21 covers ARP. Bill