Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 1996 13:13:28 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        Chris Madison <cmadison@tippy2.vnet.net>
Cc:        questions@freebsd.org
Subject:   Re: socket(), PF_ROUTE, SOCK_RAW question 
Message-ID:  <96Nov25.131333pst.177711@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Sun, 24 Nov 1996 08:05:10 PST." <Pine.BSI.3.95.961124105546.14419L-100000@tippy2.vnet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96Nov25.131333pst.177711>