Difference between revisions of "Zero Configuration Networking"
From Funtoo Linux
(I put this in the howto category.) |
|||
| Line 1: | Line 1: | ||
[http://developer.apple.com/library/mac/#qa/qa2004/qa1357.html Apple Technical Q&A QA1357] | [http://developer.apple.com/library/mac/#qa/qa2004/qa1357.html Apple Technical Q&A QA1357] | ||
[[Category:Howto]] | [[Category:Howto]] | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | === Link-local Addresses === | ||
| + | |||
| + | <pre> | ||
| + | route add default dev eth0 metric 99 | ||
| + | route add -net 169.254.0.0 netmask 255.255.0.0 dev eth0 metric 99 | ||
| + | </pre> | ||
| + | |||
| + | === Multicast Route === | ||
| + | |||
| + | <pre> | ||
| + | route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0 | ||
| + | </pre> | ||
| + | |||
| + | === mDNS === | ||
| + | |||
| + | /etc/nsswitch.conf: | ||
| + | |||
| + | <pre> | ||
| + | hosts: files mdns_minimal [NOTFOUND=return] dns mdns | ||
| + | </pre> | ||
Revision as of 07:46, 6 November 2010
Link-local Addresses
route add default dev eth0 metric 99 route add -net 169.254.0.0 netmask 255.255.0.0 dev eth0 metric 99
Multicast Route
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
mDNS
/etc/nsswitch.conf:
hosts: files mdns_minimal [NOTFOUND=return] dns mdns