From owner-freebsd-net@FreeBSD.ORG Fri Jan 16 12:40:26 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A34231065686 for ; Fri, 16 Jan 2009 12:40:26 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 7B72F8FC17 for ; Fri, 16 Jan 2009 12:40:26 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1744104wfg.7 for ; Fri, 16 Jan 2009 04:40:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Qe+n8loGzUsMQt/1hAIxHT+5SmT85c4Kii9l82sQVDc=; b=Sq8giHQiIJS0bXMZSHyttfKz7k04PEh8Gg03irUFsr3O/uxzWQDXBKy7tt9t2XoFAI /+j1LrL0KiStXJG6fNxnTTLNkrXqxfZufbMMIZ18NWIQ77wA8gLwtIKCcWs7mYH7ef1N LuJoISdTWcggy+uXE/0Q/qCiifm3LGT0gXaZg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=wldwpnctUvoEiphjcyLNKHejaCZPTNwtQVZjqh8CD379Okdpsve4psFIxBrJ7xWsJH z/zv94YjtvI2AIre8gIraQ4io4AiIlD5VK5fG1Juaf4BrCE5r18s8+q/u8CwWRFbqbxT svkB2kR6MpDJtDeEnalHmUg7x7eVDa5KtpgRI= MIME-Version: 1.0 Received: by 10.142.173.14 with SMTP id v14mr1012912wfe.245.1232108054869; Fri, 16 Jan 2009 04:14:14 -0800 (PST) Date: Fri, 16 Jan 2009 10:14:14 -0200 Message-ID: From: Eduardo Meyer To: net@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Multiple Routing Tables (FIB) + IPFW problem as (I?) expected X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2009 12:40:26 -0000 Hello, I am trying the new FIB stuff on -STABLE with IPFW, I made many tests and it did not work as I expected. Quick testing: # lynx -dump http://www.whatismyip.org 200.165.75.10 # setfib -1 lynx -dump http://www.whatismyip.org 189.52.141.2 # setfib -2 lynx -dump http://www.whatismyip.org 201.91.92.154 # ipfw -q flush # ipfw add 1 setfib 1 all from any to any 00001 setfib 1 ip from any to any # lynx -dump http://www.whatismyip.org 200.165.75.10 Check for counters: # ipfw -q add 2 allow all from any to any fib 1 # ipfw show 00001 388599 139653215 setfib 1 ip from any to any 00002 4253 2221474 allow ip from any to any fib 1 65535 2419650 983279227 allow ip from any to any # lynx -dump http://www.whatismyip.org 200.165.75.10 # setfib -1 lynx -dump http://www.whatismyip.org 189.52.141.2 Is anything wrong with my concepts? I would like to know if -CURRENT has the same behavior, can someone please test? -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br