From owner-freebsd-questions Wed Sep 19 10:32:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 7C19C37B401 for ; Wed, 19 Sep 2001 10:32:34 -0700 (PDT) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f8JHTqx89314; Wed, 19 Sep 2001 12:29:52 -0500 (CDT) (envelope-from nick@rogness.net) Date: Wed, 19 Sep 2001 12:29:52 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: universe Cc: Boril Yonchev , questions@FreeBSD.ORG Subject: Re: default routes from other net In-Reply-To: <3BA8D0A3.E63F8541@truemetal.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 19 Sep 2001, universe wrote: > now, assuming the scenario Boril posted, and the commands Nick gave > would result in: > > su-2.05# route add default 212.212.212.212 > route: writing to routing socket: Network is unreachable > add net default: gateway 212.212.212.212: Network is unreachable > > does this actually only work when the router at 212.212.212.212 has > proxy-arp enabled or is there absolutely no relation to proxy-arp > here? i've trying to find out for months now, but no one seems to be > able to answer that question. > No. This message is saying that the network is not directly reachable or the host is not reachable through a directly connected network. This does work in WIndows, Linux...but not FreeBSD because it is not a proper way to do routing. You could try: route add -host 212.212.212.212 -iface ep0 ipfw add 100 fwd 212.212.212.212 ip from any to any out via ep0 I don't know if it will work or not. Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message