Snmp and NAT


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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.
# 2  
Configure them to different 10.x.x.x subnet addresses?
# 3  
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 trapsSmilie
# 4  
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.
This User Gave Thanks to DGPickett For This Post:
# 5  
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.Smilie
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap
vipul_prajapati
i am working with embedded system -Dell DCS management sub system. my question is as below: currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP...... UNIX for Dummies Questions & Answers
4
UNIX for Dummies Questions & Answers
SNMP traps to SNMP server
stavar
Dear Champs, I am new to unix, and need to configure linux server to send below traps to a SNMP server. Monitoring TRAP Disk Space Low Monitoring TRAP Memory Low Monitoring TRAP CPU high Monitoring TRAP Admin login/Logoff Please help me how to send this information to my SNMP server...... Infrastructure Monitoring
2
Infrastructure Monitoring
SNMP Problem - SNMP not getting to the agent.
broberts
I am having a problem with an SNMP event, and I am not sure where I should be looking to solve this problem. Description: There is an SNMP event in our system that for one reason or another is not getting sent out as an email because it is never getting to our SNMP agent. I see where the...... IP Networking
0
IP Networking
Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161
prabakar4all
Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide.... Red Hat
1
Red Hat
Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161
prabakar4all
Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide.... IP Networking
0
IP Networking