VMware Cloud Community
Gr4cchus
Enthusiast
Enthusiast

vDS: mDNS reflection through a vm

Trying to setup a vm to do mDNS reflection(avahi) between two vlans. Is there a certain way I should configure the networking on the vm, or somewhere else? Right now the vDS has two port group in separate vlans which are assigned to the two network adapters(dhcp) on the vm. But only the printer seems to be accessible, while the chromecast and smart tv are not available.

Noticed on the mDNS vm in the same vlan queries go through and a responses comes back, but if in another vlan the queries go through but no response.

Labels (5)
0 Kudos
3 Replies
Tibmeister
Expert
Expert

The mDNS reflection would need to occur at your router, nothing in the vDS would mess with this because it's a L2 protocol and vDS doesn't perform any filtering or routing.

0 Kudos
Gr4cchus
Enthusiast
Enthusiast

Why would it need to go to a router when it half works for other things. Or what if a vm was used with a router image. Theres posts online of people using vms and containers, but its tricky.

0 Kudos
Tibmeister
Expert
Expert

mDNS, or multicast DNS, is not a routable protocol.  In order for it to be visible across other L3 segments, a reflector must be used to intercept the mDNS on subnet A and "reflect" it onto subnet B.  This can be done on any device that is dual homed, but typically this is done on the router acting as the default gateway for a L2 segment, attached to the other L2 segment where the mDNS reflection is desired.

0 Kudos