<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="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:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.error
{mso-style-name:error;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;}
@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="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a working patch to copy the mac address from parent link to the netdev vlan device.<o:p></o:p></p><p class=MsoNormal>Currently today when using the IP command this is the behavior seen and for our projects it is the behavior we would like to see for systemd-networkd also.<o:p></o:p></p><p class=MsoNormal>In the systemd-networkd solution a mac address is generated using <i>netdev_get_mac</i>.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have implemented a patch the mimic this behavior, but as far as the matching goes, which solution would be best accepted for the device comparison?<o:p></o:p></p><p class=MsoNormal>By providing the below key options, users can opt for this functionality or not. <o:p></o:p></p><p class=MsoNormal>A key in the below format? Is the CopyParentMac option superfluous?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[NetDev] <br>Name=<b>enp0s20f0</b>.4094 <br>Kind=vlan<o:p></o:p></p><p class=MsoNormal><span style='color:red'>CopyParentMac</span>=True<o:p></o:p></p><p class=MsoNormal><span style='color:red'>Parent</span>=<b>enp0s20f0</b><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[VLAN] <br>Id=4094<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks<o:p></o:p></p><p class=MsoNormal>Dave.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>