Regarding the engineID, it is configured exactly with the same string in both snmp agents. The parameters engineIDType and engineIDNic are not configure in neither of them.
I included the output of tcpdump. The first packets are the ones transmited during the first session open. The next two are the ones transmited after the second session open with no changeover. Finally, the last 4 are the packets transmited after the changeover.
16:45:27.322385 IP 192.168.24.107.32811 > 192.168.24.11.snmp: F=r U= E= C= GetRequest(4) [|snmp]
0x0000: 4500 005c 0000 4000 4011 88ca c0a8 186b [EMAIL PROTECTED]@......k
0x0010: c0a8 180b 802b 00a1 0048 b220 303e 0201 .....+...H..0>..
0x0020: 0330 1102 0403 8757 c102 0300 ffe3 0401 .0.....W........
0x0030: 0402 0103 0410 300e 0400 0201 0002 0100 ......0.........
0x0040: 0400 0400 0400 3014 0400 0400 a00e 0204 ......0.........
0x0050: 3443 4C
16:45:27.334423 IP 192.168.24.11.snmp > 192.168.24.107.32811: F= [|snmp][|snmp]
0x0000: 4500 00a8 0000 4000 4011 887e c0a8 180b [EMAIL PROTECTED]@..~....
0x0010: c0a8 186b 00a1 802b 0094 1b72 3082 0088 ...k...+...r0...
0x0020: 0201 0330 8200 1002 0403 8757 c102 0205 ...0.......W....
0x0030: c004 0100 0201 0304 2b30 8200 2704 1880 ........+0..'...
0x0040: 0007 e504 224c 6f76 655f 6d65 5f74 656e ...."Love_me_ten
0x0050: 6465 de
#######################################################################################################
16:46:47.184553 IP 192.168.24.107.32812 > 192.168.24.11.snmp: F=r U= E= C= GetRequest(4) [|snmp]
0x0000: 4500 005c 0000 4000 4011 88ca c0a8 186b [EMAIL PROTECTED]@......k
0x0010: c0a8 180b 802c 00a1 0048 b220 303e 0201 .....,...H..0>..
0x0020: 0330 1102 0403 8757 c502 0300 ffe3 0401 .0.....W........
0x0030: 0402 0103 0410 300e 0400 0201 0002 0100 ......0.........
0x0040: 0400 0400 0400 3014 0400 0400 a00e 0204 ......0.........
0x0050: 3443 4C
16:46:47.236722 IP 192.168.24.11.snmp > 192.168.24.107.32812: F= [|snmp][|snmp]
0x0000: 4500 00a8 0000 4000 4011 887e c0a8 180b [EMAIL PROTECTED]@..~....
0x0010: c0a8 186b 00a1 802c 0094 1720 3082 0088 ...k...,....0...
0x0020: 0201 0330 8200 1002 0403 8757 c502 0205 ...0.......W....
0x0030: c004 0100 0201 0304 2b30 8200 2704 1880 ........+0..'...
0x0040: 0007 e504 224c 6f76 655f 6d65 5f74 656e ...."Love_me_ten
0x0050: 6465 de
######################################################################################################
16:48:14.278654 IP 192.168.24.107.32812 > 192.168.24.11.snmp: F=r U= E= C= GetRequest(4) [|snmp]
0x0000: 4500 005c 0000 4000 4011 88ca c0a8 186b [EMAIL PROTECTED]@......k
0x0010: c0a8 180b 802c 00a1 0048 b220 303e 0201 .....,...H..0>..
0x0020: 0330 1102 0403 8757 c902 0300 ffe3 0401 .0.....W........
0x0030: 0402 0103 0410 300e 0400 0201 0002 0100 ......0.........
0x0040: 0400 0400 0400 3014 0400 0400 a00e 0204 ......0.........
0x0050: 3443 4C
16:48:14.290918 arp who-has 192.168.24.107 tell 192.168.24.11
0x0000: 0001 0800 0604 0001 0050 c222 5d3a c0a8 .........P."]:..
0x0010: 180b 0000 0000 0000 c0a8 186b 0000 0000 ...........k....
0x0020: 0000 0000 0000 0000 0000 0000 0000 ..............
16:48:14.290931 arp reply 192.168.24.107 is-at 00:0b:db:8f:d0:43
0x0000: 0001 0800 0604 0002 000b db8f d043 c0a8 .............C..
0x0010: 186b 0050 c222 5d3a c0a8 180b .k.P."]:....
16:48:14.291667 IP 192.168.24.11.snmp > 192.168.24.107.32812: F= [|snmp][|snmp]
0x0000: 4500 00a8 0000 4000 4011 887e c0a8 180b [EMAIL PROTECTED]@..~....
0x0010: c0a8 186b 00a1 802c 0094 14ed 3082 0088 ...k...,....0...
0x0020: 0201 0330 8200 1002 0403 8757 c902 0205 ...0.......W....
0x0030: c004 0100 0201 0304 2b30 8200 2704 1880 ........+0..'...
0x0040: 0007 e504 224c 6f76 655f 6d65 5f74 656e ...."Love_me_ten
0x0050: 6465 de
thanks,
Rafael
On 9/2/05, Thomas Anders <[EMAIL PROTECTED]
> wrote:
Rafael Garabato wrote:
> I am not allowed to use a packet sniffer.
You might still be able to use the "-d" option to snmpd on the server
side to dump packets.
> But just supposing that the
> problem is the EngineID. How can I do to solve that problem?
Configure the same engineID on both sides by putting
engineID myuniquestring
(please adjust!) into your snmpd.conf. From the snmpd.conf(5) man page:
- --- snip ---
engineID STRING
The snmpd agent needs to be configured with a unique engineID to
be able to respond to SNMPv3 messages. With this configuration
file line, the engineID will be configured from STRING.
engineIDType 1|2|3
Defines that the engineID should be built from the IPv4 address
(1), IPv6 address (2) or MAC address (3). Beware that you might
run into trouble on IP address changes!
engineIDNic interface
Defines the interface (e.g. "eth1") that should be used to
determine the MAC address in case of "engineIDType 3". Default
is eth0.
If neither an engineID, engineIDType or engineIDNic directive is
present, the value of the engineID is built from 2 fairly random ele-
ments: a random number and the current time in seconds. This is the
recommended approach.
- --- snap ---
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
