From owner-freebsd-questions Wed Sep 19 9:35:44 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 7CA0137B412 for ; Wed, 19 Sep 2001 09:35:41 -0700 (PDT) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f8JGWn888907; Wed, 19 Sep 2001 11:32:53 -0500 (CDT) (envelope-from nick@rogness.net) Date: Wed, 19 Sep 2001 11:32:49 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Boril Yonchev Cc: questions@FreeBSD.ORG Subject: Re: default routes from other net In-Reply-To: <023101c140e7$480a6b70$1301a8c0@abyss> 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, 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. 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