Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : Source address when sending SNMP Traps
| Subject: | Source address when sending SNMP Traps |
| Posted by: | "Stefan Paege" (pae..@el-carls.de) |
| Date: | Mon, 16 Apr 2007 09:47:31 |
Hi,
I'm using TIdSnmp to send SNMP Traps to a SNMP Manager application.
Everything works except the following.
Let's say my SNMP agent is on 10.1.1.1 and the manager is on 10.128.1.1.
When I send my trap it is displayed in the manager app. So routing seems
to work. But as source the manager shows a domain name that resolves to
10.128.1.1 and not to 10.1.1.1.
I'm not familiar with SNMP and maybe I'm stupid here but I cannot see a
possibility in TIdSnmp to influence the source IP of the trap package.
Is the source IP part of the trap data? Or is is it only part of the UDP
header?
So:
- Is it me creating a wrong SNMP trap
- Is it Indy filling a source IP field with the destination IP
- Is it a faulty DNS in my client's network (I have no access to it)
- Is it something else
Can anyone please shed some light on this?
Thanks
--
Elektronik-Labor Carls GmbH & Co. KG
Stefan Paege
Fon: +49 5973 9497-23
Fax: +49 5973 9497-19