Hi, I have a Linux box controlling a few serial devices; and will like to write a SNMP agent to manage these serial devices from a SNMP manager over a LAN. One way is to assign multiple IP addresses to the Linux box's network card; such that each IP address represent a serial device. When the SNMP agent receives a SNMP request packet, it will determine the target IP address (i.e. the destination IP address of the packet), maps it to the appropriate serial device and carries out the necessary operations over the serial port, and then send a SNMP respond packet back to the manager if the operations are successful.
My questions: 1) Is there a API call to get the target and source IP addresses from an incoming SNMP packet? 2) Is there an alternative to achieving what I wish to do? Many thanks in advance. Regards ... Francis Tay ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
