<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv573560466"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div id="yiv573560466yui_3_2_0_16_132193565741140">I want to learn more about how avahi and link local addresses work (I'm generally an expert on traditional<span><br></span></div><div id="yiv573560466yui_3_2_0_16_1321935657411123">tcp/ip networking, zeroconf is new to me).</div><div id="yiv573560466yui_3_2_0_16_1321935657411134"><br id="yiv573560466yui_3_2_0_16_1321935657411147"></div><div id="yiv573560466yui_3_2_0_16_1321935657411135">I have a machine running fedora 13 with two ethernet interfaces on the same lan (dell).<br></div><div id="yiv573560466yui_3_2_0_16_1321935657411138"><br></div><div id="yiv573560466yui_3_2_0_16_1321935657411139">One interface (eth0) is dhcp. I want the
other interface to be link-local. I execute<br>avahi-autoipd eth1. <br>For good measure, I changed /etc/avahi/avahi-daemon.conf to<br><br></div>allow-interfaces=eth1<br><br>(but it made no differences.<br><br><div id="yiv573560466yui_3_2_0_16_1321935657411152"><br></div><div id="yiv573560466yui_3_2_0_16_1321935657411188">On remote machines, when I ping the link
local interface, I want to see the MAC address of eth1 being <br>used. What I'm seeing is eth0 bound to the link local ip address for eth1.</div><div id="yiv573560466yui_3_2_0_16_1321935657411222"><br></div><div id="yiv573560466yui_3_2_0_16_1321935657411263">My target machine looks like:</div>[root@dell init.d]# ifconfig<br>eth0 Link encap:Ethernet HWaddr 00:C0:9F:12:33:6A <br> inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0<br> inet6 addr: fe80::2c0:9fff:fe12:336a/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:2724 errors:0 dropped:0 overruns:0
frame:0<br> TX packets:1207 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:250992 (245.1 KiB) TX bytes:153082 (149.4 KiB)<br><br>eth1 Link encap:Ethernet HWaddr 00:E0:4C:D0:1A:9D <br> inet6 addr: fe80::2e0:4cff:fed0:1a9d/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:11116 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:60 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0
txqueuelen:1000 <br> RX bytes:1845507 (1.7 MiB) TX bytes:10113 (9.8 KiB)<br> Interrupt:27 Base address:0x2000 <br><br>eth1:avahi Link encap:Ethernet HWaddr 00:E0:4C:D0:1A:9D <br> inet addr:169.254.86.144 Bcast:169.254.255.255 Mask:255.255.0.0<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Interrupt:27 Base address:0x2000 <br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128
Scope:Host<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:144 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:144 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:15090 (14.7 KiB) TX bytes:15090 (14.7 KiB)<br><br>[root@dell init.d]# route -n<br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>192.168.0.0 0.0.0.0 255.255.255.0 U
1 0 0 eth0<br>169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1<br>0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0<br><br>On another machine (asus)<br>: leisner@asus 11:33:14;arping -I wlan1 169.254.86.144<br>WARNING: interface is ignored: Operation not permitted<br>ARPING 169.254.86.144 from 192.168.0.155 wlan1<br>Unicast reply from 169.254.86.144 [00:C0:9F:12:33:6A] 6.427ms<br>Unicast reply from 169.254.86.144 [00:C0:9F:12:33:6A] 2.097ms<br>Unicast reply from 169.254.86.144
[00:C0:9F:12:33:6A] 1.779ms<br><br><br>I would expect a ping to 169.254.86.144 from a remote machine <br>would return a MAC address of 00:E0:4C:D0:1A:9D . It seems like the kernel "knows"<br>what's going on.<br><br>marty<br><br><br><br></div></div></div></div></body></html>