Page MenuHomeVyOS Platform

snmpd cannot start if ipv6 disabled
Closed, ResolvedPublic


snmpd try to listen on ipv6 addresses, but if it is disabled by system, cannot start


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

@elbandi can you check it on the latest rolling release?

Viacheslav assigned this task to elbandi.

By default:

vyos@r4-1.3:~$ sudo netstat -tulpn | grep 161
udp        0      0   *                           1405/snmpd          
udp6       0      0 :::161                  :::*                                1405/snmpd          

With option ipv6 disabled:

vyos@r4-1.3# run show conf com | match "ipv6 disab"
set system ipv6 disable
vyos@r4-1.3# sudo netstat -tulpn | grep 161
udp        0      0   *                           2200/snmpd          
erkin set Issue type to Bug (incorrect behavior).Aug 31 2021, 5:11 PM
erkin removed a subscriber: Active contributors.