Unix/Linux Go Back    


Infrastructure Monitoring Forum for Nagios, Zabbix and other network monitoring and management tools.

Snmp and NAT

Infrastructure Monitoring


Tags
dhcp, nat, snmp, trap

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-04-2013
neutrino neutrino is offline
Registered User
 
Join Date: Mar 2006
Last Activity: 14 October 2013, 5:28 AM EDT
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Network Snmp and NAT

Hello,

I am facing this scenario: three or more remote LAN (peripheral offices), with the same devices (printers, NAS) in each of them. Those LANs have the same network addresses, i.e.192.168.1.* (are connected to WAN via NAT).

I need to collect snmp traps from a central server (public IP).

Question: how can I distinguish traps sent from two devices in different remote locations? Suppose I receive a trap from printer HP2605 with IP 192.168.1.50: I have two or more printers HP2605, same IP, in different remote offices.
Which one has generated the trap?

If you think, even for a single LAN the proble arises: two or more identical laptops in DHCP, sending traps to a server: how recognize the device sending the trap, if IPs are dynamic?

Many thank for thinking with me.
Sponsored Links
    #2  
Old Unix and Linux 01-04-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
Configure them to different 10.x.x.x subnet addresses?
Sponsored Links
    #3  
Old Unix and Linux 01-04-2013
neutrino neutrino is offline
Registered User
 
Join Date: Mar 2006
Last Activity: 14 October 2013, 5:28 AM EDT
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Yep, I was trying to avoid this (you know, got to change everything, NASs, printers, access on SQL...)

Plus, some notebooks are moving from one site to the other, so a trap sent from one of them is hard to be caught).

I can't believe SNMP doesn't have a device unique ID when sending trapsLinux
    #4  
Old Unix and Linux 01-07-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
You might write a proxy for them to report to, that annotates the event with the proxy outbound IP. If they log events locally, you could poll the logs to determine which called.
The Following User Says Thank You to DGPickett For This Useful Post:
neutrino (01-08-2013)
Sponsored Links
    #5  
Old Unix and Linux 01-08-2013
neutrino neutrino is offline
Registered User
 
Join Date: Mar 2006
Last Activity: 14 October 2013, 5:28 AM EDT
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
I am thinking to cross relate the trap with the firewall access, on port 162. This could give the public IP of the remote office the trap has been generated from.

Traps should then be unique...at least if remote offices have fixed public IP.Linux
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SNMP traps to SNMP server stavar Infrastructure Monitoring 2 11-28-2012 11:19 PM
SNMP Problem - SNMP not getting to the agent. broberts IP Networking 0 11-08-2012 08:53 AM
Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161 prabakar4all Red Hat 1 07-29-2011 03:46 PM
Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161 prabakar4all IP Networking 0 07-29-2011 03:37 PM
L2 nat lagigliaivan IP Networking 4 11-28-2008 03:48 PM



All times are GMT -4. The time now is 07:43 PM.