From owner-freebsd-questions@FreeBSD.ORG Fri Jun 1 19:16:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30AAC16A400 for ; Fri, 1 Jun 2007 19:16:04 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id 0122913C448 for ; Fri, 1 Jun 2007 19:16:03 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.83]) (authenticated bits=0) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id l51JG26s042390 for ; Fri, 1 Jun 2007 14:16:02 -0500 (CDT) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Fri, 1 Jun 2007 14:16:01 -0500 User-Agent: KMail/1.9.6 References: <4660673A.6080203@adventnet.com> In-Reply-To: <4660673A.6080203@adventnet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706011416.02148.freebsd@dfwlp.com> X-Spam-Status: No, score=-3.9 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pollux.dfwlp.com Subject: Re: add route entries in freebsd os. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 19:16:04 -0000 On Friday 01 June 2007 13:36:42 bsenthil wrote: > Hi, > > I want to add route entries in freebsd os. > > route [-n] command [-net | -host] destination gateway [netmask] > route add -net 192.168.11.2 192.168.5.1 255.255.255.0 > > Problem :: I have two interface ,I want to specify device "xlo" or "xl1" > to route . > > -bsenthil. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" i believe its already inteligent enough to decide which network goes to which interface... unless you mean that you have 2 nics on the same subnet in the same switch? cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd@dfwlp.com