Forum Discussion

Zdenda's avatar
Zdenda
Icon for Cirrus rankCirrus
Mar 25, 2013

mgmt traffic doesnt use mgmt route

Hi F5 masters,

 

I have running 11.2.1 HF4 on bigip 1600. And have troubles to make my SNMP traps flowing the right way. They are generated from prod self IP and sended to default production route.

 

But I need and have set management default route and SNMP traps should be sent there:

 

 

admin@(LB02)(cfg-sync In Sync)(Standby)(/Common)(tmos) list /sys management-route

 

sys management-route 172.25.16.1 { }

 

sys management-route default {

 

gateway 172.25.16.1

 

network default

 

}

 

 

 

Am I facing some bug, or what can be causing this?

 

Many thanks,

 

Zdenek

 

5 Replies

  • if you have set the managemnet route for network you will need to set gateway ie

     

     

    sys management-route default {

     

    gateway 1.1.1.1

     

    network default

     

    }

     

    sys management-route 10.0.0.0/24 {

     

    gateway 1.1.1.1

     

    network 10.0.0.0/24

     

    }
  • The default management route is essentially ignored when routing traffic generated by the device. As Ferg has said (I just think it needs clarifying) you need to configure a specific management route to the subnet/s of the hosts you are trying to send SNMP packets to.
  • Cha, it really helped:-) I dont understand the idea why I had to set static route for subnet when next hop is the same as default route...but, it works and I don't care more:-)

     

     

    Thank you

     

    • AJF5's avatar
      AJF5
      Icon for Altocumulus rankAltocumulus

      Replying to this comment decades later but I thought if someone will refer this solution will find this helpful. It prefers the tmm route as they have the lowest metric compared to the mgmt route and to give mgmt route preference we need specific route. So that the least specific route gets selected first and dont have to go on to metric to decide.

       

  • You're welcome. I'm not sure of the thinking behind the use (or not) of the default route myself.