avahi/avahi-autoipd.README.SUSE
Bjørn Lie cc174dd54f Accepting request 1043760 from GNOME:Next
- Drop %{_sysconfdir}/sysconfig/network/if-{up,down}.d scripts:
  they are not used, or supported, in a while already.

  Doesn't work since about 9 years and will not be executed on a

OBS-URL: https://build.opensuse.org/request/show/1043760
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=215
2022-12-20 17:56:10 +00:00

78 lines
2.2 KiB
Plaintext

IPv4LL in SUSE Linux
====================
IPv4LL provides support of peer to peer address assignment from a
special link local IP range.
SUSE Linux contains two implementations of IPv4LL autoip protocol:
avahi-autoipd from avahi-autoipd package from avahi project
===========================================================
This is a daemon, that runs and assign IPv4LL address, either as a
fallback or at any time, depending on System/Zeroconf
AVAHI_AUTOIPD_FORCE_BIND sysconfig key (disabled by default).
The daemon runs permanently for each device, monitors the network
status, and assigns IPv4LL address when requested.
See http://avahi.org/wiki/AvahiAutoipd#ModesofOperation for more.
Activate avahi-autoipd implementation
-------------------------------------
- Install avahi-autoip package and check that System/Zeroconf
AVAHI_AUTOIPD_FORCE_BIND sysconfig key is "yes" (the default).
- Set the address settings in the YaST network configuration either to
None (to have IPv4LL address only) or DHCP (if you want DHCP together
with IPv4LL).
- Note that NetworkManager uses avahi-autoipd by default.
For AVAHI_AUTOIPD_FORCE_BIND=false:
-----------------------------------
In this mode the daemon assigns IPv4LL address only of DHCP fails.
Advantage:
- All programs work with this setup.
Disadvantage:
- When DHCP assigns address, all existing IPv4LL connections are lost.
For AVAHI_AUTOIPD_FORCE_BIND=true:
----------------------------------
In this mode the deamon forces binding address from IPv4LL address, even if
standard IPv4 address exists.
Advantage:
- You can depend on IPv4LL address always assigned.
Disadvantage:
- Some programs don't work well with labeled IP addresses or interface
aliases.
IPv4LL assigned by dhcpcd
=========================
If dhcpcd fails to obtain a lease, it will probe for a valid IPv4LL
address. Once obtained it will probe every 10 seconds for a DHCP server.
Activate dhcpcd implementation
------------------------------
This implementation is not supported in SUSE yet. Enabling this
implementation would require several manual changes in the
/sbin/ifup-dhcp script (removal of -L argument, and skipping of calls to
${SCRIPTNAME}-autoip in /sbin/ifup (e. g. by not setting Zeroconf in the
YaST network configuration).