Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 12:29:52 -0500 (CDT)
From:      Nick Rogness <nick@rogness.net>
To:        universe <universe@truemetal.org>
Cc:        Boril Yonchev <by@hibit.net>, questions@FreeBSD.ORG
Subject:   Re: default routes from other net
Message-ID:  <Pine.BSF.4.21.0109191223030.88818-100000@cody.jharris.com>
In-Reply-To: <3BA8D0A3.E63F8541@truemetal.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <nick@rogness.net>
 - 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0109191223030.88818-100000>