Hello all,
I am trying use net-snmp with ipv6 support.
I followed the following steps..
 
1.# more "/opt/iexpress/net-snmp/share/snmp/snmpd.conf"
rocommunity public
rocommunity6 public
2.Start snmpd as follows to accept both IPv6 and IPv4 packets.
#  ./snmpd -f -L udp:161,udp6:161
NET-SNMP version 5.2.1.2
 
3.Test for IPv4 and IPv6 addresses
a.# snmpwalk -v 1 -c public udp6:[ip6 address]:161  system
b.#snmpwalk -v 1 -c public localhost system
 
 
My problem is..This works perfect in few platforms.At some systems,i get the below err at startup of snmpd
 
#  ./snmpd -f -L udp:161,udp6:161 -d
Error opening specified endpoint "udp6:161"
Server Exiting with code 1
.
I tried to do with diff ports as below.
# ./snmpd -f -L udp:161,udp6:162
NET-SNMP version 5.2.1.2
 and did tests as
 
.# snmpwalk -v 1 -c public udp6:[ip6 address]:162  system
#snmpwalk -v 1 -c public localhost system
 
Is that OK.Why do i get "address in use" errors in some systems alone.Can i go for using different ports like this.Is it Right.
 
Thanks
ms
 

Reply via email to