From owner-freebsd-questions Wed Sep 19 9:40:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.cult.cu (mail.cult.cu [169.158.120.2]) by hub.freebsd.org (Postfix) with ESMTP id 062BD37B40B for ; Wed, 19 Sep 2001 09:39:48 -0700 (PDT) Received: from mail by mail.cult.cu with local-bsmtp (Exim 3.03 #2) id 15jkNw-0001lI-00 for freebsd-questions@freebsd.org; Wed, 19 Sep 2001 12:39:40 -0400 Received: from [169.158.120.178] (helo=mail.atenas.cult.cu) by mail.cult.cu with esmtp (Exim 3.03 #2) id 15jkNn-0001ke-00 for freebsd-questions@freebsd.org; Wed, 19 Sep 2001 12:39:31 -0400 Received: from mail.atenas.cult.cu ([169.158.120.179] helo=atenas.cult.cu) by mail.atenas.cult.cu with esmtp (Exim 3.22 #2) id 15jkVa-0000pb-00; Wed, 19 Sep 2001 12:47:35 -0400 Message-ID: <3BA8CA68.EF10756B@atenas.cult.cu> Date: Wed, 19 Sep 2001 12:40:09 -0400 From: manolo valdes Organization: Cultura Provincial Matanzas X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions , becouse@atenas.cult.cu, your@atenas.cult.cu Subject: Re: default routes from other net References: <023101c140e7$480a6b70$1301a8c0@abyss> 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 > Boril Yonchev wrote: > > Hi, > I'll try to set my network but ISP gate is from one net and my Static > IP from other for exaple > > 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. > > Can you help me how to set this default gateway? > > Boril Yonchev now you are in FreeBSD so put gateway not gw. read man route carefuly greetings manolito To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message