* Insan Praja SW <[EMAIL PROTECTED]> [2008-01-25 16:46]:
> On Fri, 25 Jan 2008 16:28:42 +0700, Henning Brauer <[EMAIL PROTECTED]> 
> wrote:
>
>> * Insan Praja SW <[EMAIL PROTECTED]> [2008-01-24 18:43]:
>>> Hi Misc@,
>>> I'm currently setup bgp router using openbgp. Routes learned from 
>>> openbgpd
>>> are stored in routing table 1. So, I got this client from NET2, coming 
>>> from
>>> the same interface that my ibgp peer coming from, and I want to pass 
>>> client
>>> from NET2 going to regional exchange to QUAGGA router. I got no luck 
>>> with:
>>> "pass on $ext_if from $NET2 to any modulate state rtable 1", NET2 always
>>> use the default route via $ext_if when going to regional exchange
>>> I appreciate any input and suggestion regarding this.
>>
>> assigning an rtable decision on the outbond interface is too late,
>> since the routang decision has already been taken then. yu have to do
>> it in the inbound direction. that is true for the reverse path too.
>>
>
> Hi Henning and Misc@,
> I figured out that my  pf.conf on "pass on $ext_if from $NET2 to any 
> modulate state rtable 1" is wrong after carefully trying to understand pf. 
> So, I change it to #pass in on $int_if from $NET2 to any modulate state 
> rtable 1". It doesn't change anything, NET2 always going to the default 
> gateway.

well, it definately works, carefully check that the rule really 
is the last matching one and that you actually have a route in that 
table that matches.

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

Reply via email to