Hello guys,
I try to setup an openbgpd setup involving multipath configuration ...with no 
success.


My bgpd.conf  is like that


------------------------------------------------------------------------------------------------------------------------
prefix-set privnetworks {
        10.55.0.0/16
        10.60.0.0/16
        172.16.0.0/12
}

log updates
network 10.240.0.0/16

group "eBGP" {
      remote-as $AS1
      neighbor $GW01 {
             descr "bgp#1"
             announce IPv4 unicast
             announce add-path recv yes
             set localpref 110
      }

      neighbor $GW02 {
             descr "bgp#2"
             announce IPv4 unicast
             announce add-path recv yes
             set localpref 110
      }
}

match from any community GRACEFUL_SHUTDOWN set { localpref 0 }
deny quick from group eBGP prefix 0.0.0.0/0
####Deny out internal route
deny quick from group eBGP prefix 10.240.0.0/16 or-longer
##allow private
allow quick from group eBGP prefix-set privnetworks or-longer set rtlabel 
PRIVNET

allow quick to group eBGP prefix 10.240.0.0/16
deny quick from any

#bgpctl sh rib 172.18.180.0/24

flags: * = Valid, > = Selected, I = via IBGP, A = Announced,
       S = Stale, E = Error
origin validation state: N = not-found, V = valid, ! = invalid
aspa validation state: ? = unknown, V = valid, ! = invalid
origin: i = IGP, e = EGP, ? = Incomplete

flags  vs destination          gateway          lpref   med aspath origin
*>    N-? 172.18.180.0/24      10.0.1.241        110     0 14381 i
*m    N-? 172.18.180.0/24      10.0.1.245        110     0 14381 i

Show me two routes one marked with multipath

But in fib I see only one route

#bgpctl sh fib 172.18.180.0/24

flags: B = BGP, C = Connected, S = Static
       N = BGP Nexthop reachable via this route
       r = reject route, b = blackhole route
flags prio destination                      gateway
B       48 172.18.180.0/24                  10.0.1.241

Confirmed by route

#route -n get 172.18.180.0/24
   route to: 172.18.180.0
destination: 172.18.180.0
       mask: 255.255.255.0
    gateway: 10.0.1.241
  interface: sec7130
if address: 10.0.1.242
   priority: 48 (bgp)
      flags: <UP,GATEWAY,DONE>
      label: PRIVNET
     use       mtu    expire
       0         0         0
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA,BRD,LABEL>

Multipath is enabled

# sysctl net.inet.ip.multipath
net.inet.ip.multipath=1

and static routes with -mpath option are setup correctly

What I miss here ??

Cheers
Marco




Caterpillar: Confidential Green

Reply via email to