-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make Zeroconf available on all interfaces [eth0/wlan0] #296
Comments
Pass |
Ok thanks.
However this means also that I have to change IP addresses that I
advertise my services on each time those change e.g. due to new IP via
DHCP, change to static IP,....
Is it right?
Am 09.09.2020 um 18:41 schrieb Jakub Stasiak:
…
Pass |InterfaceChoice.All| (or manually constructed list of addresses)
as |interfaces| parameter when constructing |Zeroconf|. The addresses
in |ServiceInfo| are are addresses that you advertise your service to
be available at, they have no bearing on what interfaces do you send
the advertisements to.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHV57T3H7SBESWVCQ3RUARDSE6V3XANCNFSM4QUTKNMQ>.
|
If you're talking about the addresses used to specify the network interfaces for |
Wouldn't that have the same IP address published on all interfaces, which kind of is broken because if I publish my wlan IP on the ethernet interface as well then a client "looking" for my service on ethernet won't actually be able to connect because of wrong IP. I wonder if that's a bug in the library ? |
For example if I publish a service with avahi, it publishes the "right" IP for each interface.
|
hi all, |
Hi,
I am playing with Zeroconf on an embedded linux system with a HTTP Server .
All interfaces have DHCP running.
How to configure Py-Zeroconf on all interfaces (eth0/wlan0) with DHCP on?
When I add the IP on eth0 e.g. 192.168.96.103 as in the code snippet below. Then it works accessing through PC on the networks, oherwise not.
The text was updated successfully, but these errors were encountered: