Igor Sysoev wrote:
> On Tue, Apr 29, 2008 at 12:11:03PM -0700, Julian
Elischer wrote:
>
>>> Then you can export RIB entries , say
>>> you have 5 BGP peers and you want to export 2
or 3 or all of them into
>>> the 'main' routing instance you can set up a
policy to add those learned
>>> routes into the main instance and v-v.
>>> Linux behaves a little bit differently as you
have to make an 'ip rule'
>>> entry for it but it doesn't use the firewall.
>> for now this code asks you to use a firewall to
classify incoming
>> packets..
>>
>> e.g.
>> 100 setfib 2 ip from any to any in recv em0
>
> Is is possible to extend ifconfig to classify incoming
packets ?
>
>
You could assign a default fib for all packets received by
an
interface and that is on my list of things to look at doing
later.
In the meantime you can use ipfw and pf to assign fibs to
incoming
packets depending on the receive interface.
_______________________________________________
freebsd-net freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
"freebsd-net-unsubscribe freebsd.org"
|