From owner-freebsd-questions Sat Aug 3 19:56:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDBF537B400 for ; Sat, 3 Aug 2002 19:56:10 -0700 (PDT) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B4B543E5E for ; Sat, 3 Aug 2002 19:56:10 -0700 (PDT) (envelope-from mike@sentex.net) Received: from house (cage.simianscience.com [64.7.134.1]) by smtp2.sentex.ca (8.12.5/8.12.5) with SMTP id g742u91w093480; Sat, 3 Aug 2002 22:56:09 -0400 (EDT) (envelope-from mike@sentex.net) From: Mike Tancsa To: "Adam@junik.lv" Cc: questions@freebsd.org Subject: Re: wavelan as Netinterface Date: Sat, 03 Aug 2002 22:58:29 -0400 Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 Sat, 3 Aug 2002 16:24:23 +0300, in sentex.lists.freebsd.questions you wrote: >Hi all, >I'd really appreciate it if you could help with >the following case: > >I need to route 3 subnets from one router to the other peer on (Orinoco) >Wavelan card in P2P mode. >The question is how can I specify the wi0 as the net interface? > >E.g. /sbin/route add -net 225.125.125.116/26 wi0 175.215.123.21 >where 175.215.123.21 is the destination GW. You dont need to specify the interface in the route command. route add 225.125.125.116/16 175.215.123.21 will do it, provided the host you are on is on the same subnet as 175.215.123.21 ---Mike Mike Tancsa (mdtancsa@sentex.net) =09 Sentex Communications Corp, =09 Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers=20 could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message