Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 15:07:26 -0500
From:      "J. W. Ballantine" <jwb@homer.att.com>
To:        Guido van Rooij <guido@gvr.org>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: route pointing to a gateway that's not on net 
Message-ID:  <200303142007.h2EK7Rl20970@akiva.homer.att.com>
In-Reply-To: Your message of "Fri, 14 Mar 2003 19:11:40 %2B0100." <20030314181140.GA3323@gvr.gvr.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

----------  In Response to your message -------------

>  Date:  Fri, 14 Mar 2003 19:11:40 +0100
>  To:  "J. W. Ballantine" <jwb@homer.att.com>
>  From:  Guido van Rooij <guido@gvr.org>
>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303142007.h2EK7Rl20970>