From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 23:45:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3CE5106564A for ; Wed, 10 Sep 2008 23:45:42 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id B8C008FC18 for ; Wed, 10 Sep 2008 23:45:42 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id D0Vd1a0040lTkoCA9BliZj; Wed, 10 Sep 2008 23:45:42 +0000 Received: from [10.0.1.200] ([76.122.47.225]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id DBlg1a00T4rWgJL8QBlhCD; Wed, 10 Sep 2008 23:45:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=b9U7JMOIw5YA:10 a=hM_1ROo9p7kA:10 a=6I5d2MoRAAAA:8 a=hEUxlPgRS2lVWj_3EN4A:9 a=O3XspmUHTdMZ0dzyNlwA:7 a=GDL3u49X4U21MoE1gPIroFHZ9iwA:4 a=SV7veod9ZcQA:10 a=7mayv77iRtYA:10 Message-Id: <7B5E02C9-B28E-4FBD-82EC-57F0189C3756@comcast.net> From: Tom Marchand To: freebsd-questions@freebsd.org In-Reply-To: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Wed, 10 Sep 2008 19:45:39 -0400 References: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> X-Mailer: Apple Mail (2.926) Subject: Re: Configure 2 gateways on a freebsd box for 2 interfaces 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: Wed, 10 Sep 2008 23:45:42 -0000 You should be able to use the route command. On Sep 10, 2008, at 1:05 PM, The Noob wrote: > Hello all, > > I have a small question. > I have two interface in two vlans. > The first interface 192.168.0.1 255.255.255.0 > The second interface: 10.228.44.1 255.255.255.0 > The gateway for the first interface must be 192.168.0.254 and the > second > interface must be 10.228.44.254 > How can I configure them? In rc.conf we have just defaultrouter but > we can't > specify the interface. > Thanks for your help > Best Regads > TheNoob > _______________________________________________ > 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 > "