I'm having a heck of a time with openbgp on openbsd 3.7. I am attempting to set the localpref for a network and somehow it does not appear to be happening. I've tried:

        network 192.168.1.0/24 set localpref 200

and

        match to any prefix 192.168.1.0/24 set localpref 200

and I can't seem to make things happen.  If I do a:

freeza# bgpctl show rib 192.168.1.0/24
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination         gateway          lpref   med aspath origin
AI*> 192.168.1.0/24     0.0.0.0            200     0 i

It looks like the localpref has been set. But checking out the update produced by the "dump updates out" command, I don't see the localpref set. Also, looking at each of our two upstreams, the localpref is still "100". I've successfully used the match statement to a specific upstream to set a community value, so I'm just not sure what the issue is with this.

Any help appreciated.

--
G. Douglas Davidson          | CityNet, Inc.
[EMAIL PROTECTED]         | Pittsburgh, PA
voice: 412.481.5406          | fax: 412.431.1315

Reply via email to