FreeBSD route tables limited 16?
Aleksandr A Babaylov
. at babolo.ru
Tue Sep 14 09:50:11 UTC 2010
On Tue, Sep 14, 2010 at 04:31:39PM +1000, Dave Seddon wrote:
> It sounds like dedicating some space for this in the mbuf would be the
> best way forward, but the question is how much. I'm worried that most
> freebsd users won't go for lots of route tables, which is why you went
> for 4 bits originally.
> Within the network service provider space there is frequently a
> requirement for lots of virtual-routing with MPLS. I imagine there are
> others in my situation, including vendors and people working on
> equipment like Cisco/Juniper/Lucatel.
> Regarding the size to dedicate, the best number might be 12 bits or
> 4096. This would allow a route table per VLAN on a 802.1q interface.
> (Actually I'm lying a little because the first and last vlan IDs aren't
> usable :) ).
> Perhaps a separate option for non-common users who want many route
> tables would be best. e.g.
Why not 16?
There can be several independent iface with VLAN on each.
arg1 in ipfw has 16 bits for fib number.
Yes, it is very special case when huge number of fib needed.
More information about the freebsd-net