From owner-freebsd-ipfw@freebsd.org Sat May 21 20:41:48 2016 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DE5AB45D9F for ; Sat, 21 May 2016 20:41:48 +0000 (UTC) (envelope-from jack@jarasoft.org) Received: from orac.jarasoft.net (orac.jarasoft.net [37.34.58.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "jarasoft.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9F331F4A for ; Sat, 21 May 2016 20:41:46 +0000 (UTC) (envelope-from jack@jarasoft.org) Received: from orac.jarasoft.net (orac.jarasoft.net [37.34.58.13]) by orac.jarasoft.net (Postfix) with ESMTP id E06AD10ACC8 for ; Sat, 21 May 2016 22:39:37 +0200 (CEST) Received: from jarasoft.net (orac.jarasoft.net [37.34.58.13]) by orac.jarasoft.net (Postfix) with ESMTP id 9B27F10ACBF for ; Sat, 21 May 2016 22:39:37 +0200 (CEST) Received: from 82.95.230.43 (SquirrelMail authenticated user jack1) by jarasoft.net with HTTP; Sat, 21 May 2016 22:39:37 +0200 Message-ID: <0cb16cbad9293c346cb6938505a9418c.squirrel@jarasoft.net> Date: Sat, 21 May 2016 22:39:37 +0200 Subject: IPW problem From: "Jack Raats" To: freebsd-ipfw@freebsd.org Reply-To: jack@jarasoft.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP on orac.jarasoft.net X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2016 20:41:48 -0000 Hi everyone, I have the following problem. My home server has 2 NICs NIC1 bge0 ip-address 10.10.10.30 netmask 255.255.255.0 gateway 10.10.10.100 ADSL connection 10 Mbit/1 Mbit NIC2 bge1 ip-address 10.10.10.32 netmask 255.255.255.0 gateway 10.10.10.200 Cable connection 200 Mbit/20 Mbit I have to use NIC1 for all services I'm running, but when the home server wants to download something e.g. the ports, then it has to use NIC2 How can this be done using IPFW??? IPFW is compiled in the kernel. I'm using FreeBSD 10.3-STABLE Thanks for the help Jack