Avahi-daemon is not working in IPv6 case

Hi,

I am using avahi-daemon for opening the GUI when switched from static protocol to DHCP protocol. Avahi daemon is working in the IPv4 case but not working in the IPv6 case.

Can anyone tell from where I need to change the configuration for the IPv6 case?

Thanks in advance.

netstat -l -n -p | grep -e avahi

What does it say?

Hi @vgaetera,

Thank for your reply.
Please find the attached output:

root@xxxx:/# netstat -l -n -p | grep -e avahi
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           6229/avahi-daemon: 
udp        0      0 :::5353                 :::*                                6229/avahi-daemon: 
unix  2      [ ACC ]     STREAM     LISTENING      21715 6229/avahi-daemon:  /var/run/avahi-daemon/socket
root@xxxx:/# 

As you can see, it listens to both IPv4 and IPv6:

The default configuration also provides dual-stack:

So, your issue is most likely a client side one.

If you are using Fedora Linux or the like, you can provide dual-stack mDNS with the following method:

Hi @vgaetera

Yes, i have checked in dual stack, and it is working fine but only in IPv6 it is not working.
Please find the attached logs in case of IPv6 and also avahi daemon conf file.

root@xxxx:/# netstat -l -n -p | grep -e avahi
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           26761/avahi-daemon:
udp        0      0 :::5353                 :::*                                26761/avahi-daemon:
unix  2      [ ACC ]     STREAM     LISTENING     208840 26761/avahi-daemon: /var/run/avahi-daemon/socket
root@xxxx:/# 
root@xxxx:/# cat /etc/avahi/avahi-daemon.conf 
[server]
host-name=abcd
domain-name=local
use-ipv4=yes
use-ipv6=yes
check-response-ttl=no
use-iff-running=no

[publish]
publish-addresses=yes
publish-hinfo=yes
publish-workstation=no
publish-domain=yes
publish-dns-servers=192.168.1.1
publish-resolv-conf-dns-servers=yes

[reflector]
enable-reflector=no
reflect-ipv=no

[rlimits]
#rlimit-as=
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=30
rlimit-stack=4194304
rlimit-nproc=3

Thanks in advance.

Hi all,

Can anyone help me on this.

Thanks in Advance.