Difference between revisions of "Zero Configuration Networking"

From Funtoo Linux
Jump to: navigation, search
(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>
 
 
=== Multicast Route ===
 
 
<pre>
 
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
 
 
</pre>
 
</pre>
  

Revision as of 07:52, 6 November 2010

Apple Technical Q&A QA1357



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
Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff