[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The 1st interface assigns its link-local address (169.254.4.2/24). Unfortun=
ately, the next interface to start doesn't assign any link-local address. I=
've tried to get more debug information by increasing log-level to debug, b=
ut I get no indications around the address assignments.

As an experiment, I change the 2nd system to use a different host address i=
n the same subnet, and it gets assigned correctly.  I guess that collision =
detection is preventing the address assignment.

How do I achieve this or how can I get more debug information?

The relevant snippet from the network config file is:

[Network]
Address=3D169.254.4.2/24


Full contents of the network configuration follows:

$ networkctl cat 10-eno0.network
# /etc/systemd/network/10-eno0.network
[Match]
KernelCommandLine=3D!nfsroot
Name=3Deno0

[DHCP]
ClientIdentifier=3Dmac
RouteMetric=3D10
UseDomains=3Dyes
UseHostname=3Dyes
UseMTU=3Dyes

[IPv6AcceptRA]
UseRedirect=3Dno

[Link]
RequiredForOnline=3Dno

[Network]
DHCP=3Dyes
Domains=3Dlabs.company.net
NTP=3D10.10.135.123
# LinkLocalAddressing=3Dyes
# IPv4LLStartAddress=3D169.254.1.1
Address=3D169.254.4.2/24

# /usr/lib/systemd/network/10-eno0.network.d/10-network.conf
[Network]
MulticastDNS=3Dyes

Regards,
Matt.


--_000_SJ0PR84MB20889DAA73B08BF3D2A78A27D8112SJ0PR84MB2088NAMP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"; xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:12.0pt;
	font-family:"Aptos",sans-serif;
	mso-ligatures:standardcontextual;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#467886;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Aptos",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-AU" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">I have two systems where I need them to assign link-=
local addresses in a 169.254.4/24 subnet, regardless of any other addresses=
 configured. I&#8217;m using a /24 subnet because I have multiple interface=
s on the system that require link-local
 addresses; I was placing them in their own subnets. <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">From <a href=3D"https://www.freedesktop.org/software=
/systemd/man/latest/systemd.network.html#:~:text=3DIf%20an%20IPv4%20link%2D=
local%20address%20(169.254.0.0/16)%20is%20specified%2C%20IPv4%20Address%20C=
onflict%20Detection%20(RFC%205227)%20is%20enabled%20for%20the%20address.">
this comment</a> in the man page, I was expecting I could configure the int=
erface address identically on both systems and leave it to collision detect=
ion to pick an appropriate available address.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The 1<sup>st</sup> interface assigns its link-local =
address (169.254.4.2/24). Unfortunately, the next interface to start doesn&=
#8217;t assign any link-local address. I&#8217;ve tried to get more debug i=
nformation by increasing log-level to debug, but
 I get no indications around the address assignments.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">As an experiment, I change the 2<sup>nd</sup> system=
 to use a different host address in the same subnet, and it gets assigned c=
orrectly.&nbsp; I guess that collision detection is preventing the address =
assignment.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">How do I achieve this or how can I get more debug in=
formation?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The relevant snippet from the network config file is=
:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[Network]<o:p></o:p></p>
<p class=3D"MsoNormal">Address=3D169.254.4.2/24<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Full contents of the network configuration follows:<=
o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">$ networkctl cat 10-eno0.network<o:p></o:p></p>
<p class=3D"MsoNormal"># /etc/systemd/network/10-eno0.network<o:p></o:p></p=
>
<p class=3D"MsoNormal">[Match]<o:p></o:p></p>
<p class=3D"MsoNormal">KernelCommandLine=3D!nfsroot<o:p></o:p></p>
<p class=3D"MsoNormal">Name=3Deno0<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[DHCP]<o:p></o:p></p>
<p class=3D"MsoNormal">ClientIdentifier=3Dmac<o:p></o:p></p>
<p class=3D"MsoNormal">RouteMetric=3D10<o:p></o:p></p>
<p class=3D"MsoNormal">UseDomains=3Dyes<o:p></o:p></p>
<p class=3D"MsoNormal">UseHostname=3Dyes<o:p></o:p></p>
<p class=3D"MsoNormal">UseMTU=3Dyes<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[IPv6AcceptRA]<o:p></o:p></p>
<p class=3D"MsoNormal">UseRedirect=3Dno<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[Link]<o:p></o:p></p>
<p class=3D"MsoNormal">RequiredForOnline=3Dno<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[Network]<o:p></o:p></p>
<p class=3D"MsoNormal">DHCP=3Dyes<o:p></o:p></p>
<p class=3D"MsoNormal">Domains=3Dlabs.company.net<o:p></o:p></p>
<p class=3D"MsoNormal">NTP=3D10.10.135.123<o:p></o:p></p>
<p class=3D"MsoNormal"># LinkLocalAddressing=3Dyes<o:p></o:p></p>
<p class=3D"MsoNormal"># IPv4LLStartAddress=3D169.254.1.1<o:p></o:p></p>
<p class=3D"MsoNormal">Address=3D169.254.4.2/24<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"># /usr/lib/systemd/network/10-eno0.network.d/10-netw=
ork.conf<o:p></o:p></p>
<p class=3D"MsoNormal">[Network]<o:p></o:p></p>
<p class=3D"MsoNormal">MulticastDNS=3Dyes<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Regards,<o:p></o:p></p>
<p class=3D"MsoNormal">Matt.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_SJ0PR84MB20889DAA73B08BF3D2A78A27D8112SJ0PR84MB2088NAMP_--



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux