Running 5.9.

I have x.x.141.0/25 that's directly connected. With x.x.141.0/24 reachable
via bgp.

# route -n get x.x.141.13
   route to: x.x.141.13
destination: x.x.141.0
       mask: 255.255.255.128
  interface: em3
 if address: x.x.141.112
   priority: 4 (connected)
      flags: <UP,DONE,CLONING>

# ifconfig em3 down
jawaka# route -n get x.x.141.13
   route to: x.x.141.13
destination: 66.117.141.0
       mask: 255.255.255.128
  interface: em3
 if address: x.x.141.112
   priority: 4 (connected)
      flags: <DONE,CLONING>

I see the UP flag is removed but it has no effect.

# ping x.x.141.13
PING x.x.141.13 (x.x.141.13): 56 data bytes
ping: sendto: Network is down

I would expect this route to be used instead:
# route -n get x.x.141.0/24
   route to: x.x.141.0
destination: x.x.141.0
       mask: 255.255.255.0
    gateway: x.x.144.154
  interface: em2
 if address: x.x.144.153
   priority: 48 (bgp)
      flags: <UP,GATEWAY,DONE>

I searched the archives but didn't see this specific case mentioned. Can
someone enlighten me?

dmo

Reply via email to