Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 18:23:05 -0200
From:      "Eduardo Meyer" <dudu.meyer@gmail.com>
To:        stable@freebsd.org
Subject:   Multiple Routing Tables (FIB) + IPFW problem (basic understading wont work)
Message-ID:  <d3ea75b30901141223m7ae4fd1fha407891a2013da75@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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

Whats wrong with my concepts?


-- 
===========
Eduardo Meyer
pessoal: dudu.meyer@gmail.com
profissional: ddm.farmaciap@saude.gov.br



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d3ea75b30901141223m7ae4fd1fha407891a2013da75>