<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd-networkd: support adding routes without additional addresses & support link-local addresses"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86947#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd-networkd: support adding routes without additional addresses & support link-local addresses"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86947">bug 86947</a>
from <span class="vcard"><a class="email" href="mailto:skeenan@gmail.com" title="Shaun Keenan <skeenan@gmail.com>"> <span class="fn">Shaun Keenan</span></a>
</span></b>
<pre>1) here's the end goal I'm trying to get:
core@coreos ~ $ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.9.134.1 0.0.0.0 UG 0 0 0 eth0
10.9.134.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.9.134.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
169.254.169.254 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0
flannel0
192.168.65.0 0.0.0.0 255.255.255.0 U 0 0 0
docker0
core@coreos ~ $ ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
qlen 1000
link/ether fa:16:3e:9a:a6:10 brd ff:ff:ff:ff:ff:ff
inet 10.9.134.192/24 brd 10.9.134.255 scope global dynamic eth0
valid_lft 1405sec preferred_lft 1405sec
inet6 fe80::f816:3eff:fe9a:a610/64 scope link
valid_lft forever preferred_lft forever
note that there's no ip on the interface. On a side note, I don't care all
that much about whether or not there's an IP on the int... but the issue is
that systemd doesn't automatically discover link-local addresses, and adding
IPv4LL=true doesn't change the fact that I don't get a link-local addy on the
interface.
Here's how I was trying to add it:
write_files:
- path: /etc/systemd/network/00-eth0.network
owner: root:root
permissions: 0644
content: |
[Match]
Name=eth*
[Network]
IPv4LL=true
IPv4LLRoute=true
DHCP=v4
[DHCP]
UseRoutes=false
I tried a few different versions of this. no matter what I do, link-local
addresses never show up unless I statically configure the IP.
2) see #1 - IPv4LL assignment is failing both with and without the
IPv4LLRoute=true attribute turned on.
Note that this is with the latest coreos alpha, which is on 216 I believe.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>