From owner-freebsd-net Fri Mar 14 12: 7:36 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AE0137B401 for ; Fri, 14 Mar 2003 12:07:34 -0800 (PST) Received: from kcmso2.proxy.att.com (kcmso2.att.com [192.128.134.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFB4043F93 for ; Fri, 14 Mar 2003 12:07:32 -0800 (PST) (envelope-from jwb@homer.att.com) Received: from ulysses.homer.att.com ([135.205.193.8]) by kcmso2.proxy.att.com (AT&T IPNS/MSO-4.0) with ESMTP id h2EK7SFl010810; Fri, 14 Mar 2003 14:07:28 -0600 (CST) Received: from akiva.homer.att.com (akiva.homer.att.com [135.205.212.39]) by ulysses.homer.att.com (8.9.3/8.9.3) with ESMTP id PAA29864; Fri, 14 Mar 2003 15:07:28 -0500 (EST) Received: from akiva.homer.att.com (localhost [127.0.0.1]) by akiva.homer.att.com (8.11.6+Sun/8.9.3) with ESMTP id h2EK7Rl20970; Fri, 14 Mar 2003 15:07:27 -0500 (EST) Message-Id: <200303142007.h2EK7Rl20970@akiva.homer.att.com> X-Mailer: exmh version 2.6.2 03/12/2003 with nmh-1.0.4 To: Guido van Rooij Cc: freebsd-net@FreeBSD.ORG Subject: Re: route pointing to a gateway that's not on net In-reply-to: Your message of "Fri, 14 Mar 2003 19:11:40 +0100." <20030314181140.GA3323@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 14 Mar 2003 15:07:26 -0500 From: "J. W. Ballantine" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ---------- In Response to your message ------------- > Date: Fri, 14 Mar 2003 19:11:40 +0100 > To: "J. W. Ballantine" > From: Guido van Rooij > Subject: Re: route pointing to a gateway that's not on net > Sender: owner-freebsd-net@FreeBSD.ORG > > On Fri, Mar 14, 2003 at 09:51:46AM -0500, J. W. Ballantine wrote: > > So what you are saying is that with the: > > route add -net default -iface -interface xl0 > > command the system thinks there is a direct connect. Doesn't this > > then send all packets out, since there is no address supplied with > > the route command, or is this a function the the 10.*.*.* addresses > > are private network addresses. > > In order to send packets out directly they need to be directly connected, > i.e. respond to arp requests which is only done on the same LAN. > I hope you understand that this will not work with a default route. > > > > > If it sends all packets out, I would expect the 10.17.47.37 to receive it > > and forward it, since it is the gateway/modem. > > And how do you think the packets arive at 10.17.47.37? > Suppose you want to send a packet to 1.2.3.4 with the above mentioned route. > Then the system will arp for 1.2.3.4. Clearly noone will answer so this > will fail. > > > > > Having taken a quick look at the arp man page, it seems that one needs to > > arp each address/host rather than globally. > > > > Again, what I'm trying to do is get the system to pass all packets to > > the gateway/modem for forwarding over the net. > > Why dont you actually try what I advised you to do? > Sorry to be blunt, but with the comments you make it is very clear that > you have no clue on how IP traffic interacts with link level traffic. > So either read a book or just try what people tell you. Quite frankly, blunt is not a problem, one needs to call them as one sees them. However, responding to a question with a condesending, superior attitude(IMHO), while ignoring the question is. As for "just try what people tell you", if it doesn't appear resolve the larger problem, but just the example, than it isn't the correct resolution to the issue and trying to get clarification shouldn't be scorned, after all there is always someone out there who knows more. > > -Guido > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message