From owner-freebsd-questions Wed Sep 19 0:39:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mbox.stemo.bg (gate420.HiBit.NET [213.174.6.66]) by hub.freebsd.org (Postfix) with SMTP id 99D9337B414 for ; Wed, 19 Sep 2001 00:38:53 -0700 (PDT) Received: (qmail 9240 invoked from network); 19 Sep 2001 08:45:30 -0000 Received: from hive.bgnet.org (HELO abyss) (213.174.6.1) by gate420.hibit.net with SMTP; 19 Sep 2001 08:45:30 -0000 Message-ID: <023101c140e7$480a6b70$1301a8c0@abyss> From: "Boril Yonchev" To: Subject: default routes from other net Date: Wed, 19 Sep 2001 10:44:23 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_022E_01C140F8.0B6881F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-AntiVirus: scanned for viruses by AMaViS 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 This is a multi-part message in MIME format. ------=_NextPart_000_022E_01C140F8.0B6881F0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Hi,=20 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 ------=_NextPart_000_022E_01C140F8.0B6881F0 Content-Type: text/html; charset="windows-1251" Content-Transfer-Encoding: quoted-printable
Hi,
I'll try to set my network but ISP gate is from one = net and my=20 Static IP from other for exaple
 
my IP is 62.62.62.62 netmask 255.255.255.240 = and gateway=20 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=20 212.212.212.212
 
but with FreeBSD I can't.
 
Can you help me how to set this default = gateway?
 
Boril Yonchev
------=_NextPart_000_022E_01C140F8.0B6881F0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message