From owner-freebsd-questions Tue Jan 1 9:21:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 30F5C37B422 for ; Tue, 1 Jan 2002 09:21:41 -0800 (PST) Received: from potentialtech.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id g01HGxg07415; Tue, 1 Jan 2002 12:16:59 -0500 (EST) Message-ID: <3C31F0D7.3040502@potentialtech.com> Date: Tue, 01 Jan 2002 12:24:39 -0500 From: Bill Moran Organization: Potential Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.3) Gecko/20010914 X-Accept-Language: en-us MIME-Version: 1.0 To: Stefan Cars Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Two different subnets, routing. References: Content-Type: text/plain; charset=us-ascii; format=flowed 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 Stefan Cars wrote: > We are connected to the Internet using a gt-90 router and we have been > assinged two ip-blocks. x.x.48.96/28 and x.x.49.192/27. Since the router > is only going on 10mbit we would like to have all of our machines > communicate directly and not through the router even if they are on > different ip-blocks. In linux you can add a route saying "route add > x.x.49.192/27 eth0" which makes it communicate directly on eth0 without > going through the default gateway when going to that specific ip-block. Is > it possible todo the same in freebsd ? Yes, read the man page for route. You'll be using the -interface switch. -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message