Difference between revisions of "Zero Configuration Networking"
From Funtoo Linux
(→mDNS) |
(→Multicast Route) |
||
| Line 18: | Line 18: | ||
<pre> | <pre> | ||
/usr/sbin/avahi-autoipd --daemonize --syslog --wait eth0 | /usr/sbin/avahi-autoipd --daemonize --syslog --wait eth0 | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</pre> | </pre> | ||
Revision as of 07:52, 6 November 2010
Link-local Addresses
To use link-local addressing, first set up the proper routes:
route add default dev eth0 metric 99 route add -net 169.254.0.0 netmask 255.255.0.0 dev eth0 metric 99
Then, use avahi-autoipd to discover a valid link-local IP address:
/usr/sbin/avahi-autoipd --daemonize --syslog --wait eth0
mDNS
emerge nss-mdns
/etc/nsswitch.conf:
hosts: files mdns_minimal [NOTFOUND=return] dns mdns