Hi,
I have an machine with a subinterface for eth0, as shown below. I've the
added
"agentaddress 10.10.1.10" to snmpd.conf file and when i run the agent i get
the
coldStart trap with 192.168.0.2 as the agent address. I was expecting to see
10.10.1.10, is there a way to ensure that it used the ip address on eth0
interface.
I've even tried "/usr/sbin/snmpd -C -c /var/run/snmpd.conf 10.10.1.51" and
i get
Error opening specified endpoint "10.10.1.51"
Server Exiting with code 1
would appreciate any suggestions.
$ifconfig
eth0 Link encap:Ethernet HWaddr 00:1B:12:00:02:0A
inet addr:10.10.1.10 Bcast:10.10.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:239685 errors:0 dropped:0 overruns:0 frame:0
TX packets:1389 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19226041 (18.3 MiB) TX bytes:64193 (62.6 KiB)
Base address:0xa000
eth0:1 Link encap:Ethernet HWaddr 00:1B:12:00:02:0A
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Thanks
S
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders