From owner-freebsd-questions Wed Sep 19 10: 8: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from truemetal.org (destruction.truemetal.org [206.168.16.98]) by hub.freebsd.org (Postfix) with SMTP id 9986837B407 for ; Wed, 19 Sep 2001 10:08:01 -0700 (PDT) Received: (qmail 17493 invoked by alias); 19 Sep 2001 16:59:31 -0000 Received: from unknown (HELO truemetal.org) (213.23.52.167) by truemetal.org with SMTP; 19 Sep 2001 16:59:31 -0000 Message-ID: <3BA8D0A3.E63F8541@truemetal.org> Date: Wed, 19 Sep 2001 19:06:43 +0200 From: universe X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Nick Rogness Cc: Boril Yonchev , questions@FreeBSD.ORG Subject: Re: default routes from other net References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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. markus Nick Rogness wrote: > > On Wed, 19 Sep 2001, Boril Yonchev wrote: > > > > > my IP is 62.62.62.62 netmask 255.255.255.240 and gateway must be > > 212.212.212.212 on interface ep0 > > > > with Linux I can set with this in my route table > > > > route add -host 212.212.212.212 dev eth0 > > route add -net 0.0.0.0 netmask 0.0.0.0 gw 212.212.212.212 > > > > but with FreeBSD I can't. > > route add -host 212.212.212.212 -iface ep0 > route add default 212.212.212.212 > > Is the freebsd equivalent. -- there's the microsoft way, there's the linux way, and there's the right way. -- freebsd, the winner's choice. http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message