Forum Discussion

Dionisis_Veizi1's avatar
Dionisis_Veizi1
Icon for Nimbostratus rankNimbostratus
Oct 14, 2015

Configuring SNMP traps to use a source IP address

Hi all,

 

I am trying to configure some customs SNMP Traps but these are always sent through an ip address other than the management.

 

Even when i configure the snmp trap source ip address explicitly using modify /sys snmp trap-source , all traps are sent using a self ip as source.

 

I am using logger -p local0.warning "Pool /Common/web_pool443 member /Common/10.10.0.100:80 monitor status node down. [ was up for 0hr:1mins:33sec ]" to reproduce the snmp trap and i monitor traffic with tcpdump on all interfaces (including management interface) on port 162.

 

The version is 11.6 HF4

 

Any ideas?

 

    • Andras_Kis-Szab's avatar
      Andras_Kis-Szab
      Icon for Nimbostratus rankNimbostratus
      Default is the service interface if route added. Have you tried to add the management-route, please? Like: tmsh create sys management-route ntp-date network 10.190.1.1/32 gateway 10.190.128.1
    • Deep_287674's avatar
      Deep_287674
      Icon for Nimbostratus rankNimbostratus

      Well creat sys management-route gateway is configured and SNMP server reachable but I have the same query as why not management used as source . IF self IP is used then which self Ip is used.

       

    • nolipineda's avatar
      nolipineda
      Icon for Altostratus rankAltostratus

      Unless the SNMP Manager is a connected network, it would use the self IP where the default route is defined. If you need to use a specific self IP, create a host route for the SNMP host that uses the layer 3 gateway of that self-IP.