From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 17:27:39 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 4E6FD106564A for ; Wed, 10 Sep 2008 17:27:39 +0000 (UTC) (envelope-from thenoob06@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id E65AC8FC19 for ; Wed, 10 Sep 2008 17:27:38 +0000 (UTC) (envelope-from thenoob06@gmail.com) Received: by gxk10 with SMTP id 10so14206145gxk.19 for ; Wed, 10 Sep 2008 10:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=A85K4vm8FTzchiRJvCd+3/97ba+pThmiImVDyis8++Y=; b=Z/e8RlwEQyGWtbZHZEZMsOYUeirR8a4zo2qPnFLp2tAUP8oOkaQgalOKCeyHgRyxoR lGmKlrqb+4ylOzFDgJRYYl8QQtHnQ96iPjlPVSCN3LJDBUl6NMX856tVJym6zkAHA3NX qOsNdAvNfOP8cVdvgBA+crhb9Hhmm1nPcVTY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=TBCgBX55G4WSS6eDqz3cg4hilmX1uSQoHuWavpmeJZVUwM9hy7lEslIGqXcz6UI1oL bf9mfkVh4ptpvMPcmlSwgzzJT/LNxKHi71fKXePkEIX10FFDTj+LGqMKFY6eXQzP+YUo AZel9PFMSWVYIjbgcPOMXTJwbGiTVilDto1LE= Received: by 10.151.156.19 with SMTP id i19mr2436827ybo.45.1221066347628; Wed, 10 Sep 2008 10:05:47 -0700 (PDT) Received: by 10.65.59.15 with HTTP; Wed, 10 Sep 2008 10:05:47 -0700 (PDT) Message-ID: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> Date: Wed, 10 Sep 2008 19:05:47 +0200 From: "The Noob" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 17:27:39 -0000 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