<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 11/06/2013 12:33 AM, Tom Gundersen
wrote:<br>
</div>
<blockquote cite="mid:1383698030-29977-1-git-send-email-teg@jklm.no"
type="cite">
<pre wrap="">
[Match]
MACAddress=
Path=
Driver=
Type=
Name=
[Network]
Description=
[IP]
Gateway=192.168.1.1
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Address=label@192.168.1.23/24">Address=label@192.168.1.23/24</a>
Address=fe80::9aee:94ff:fe3f:c618/64</pre>
</blockquote>
<br>
Hmm.. <br>
<br>
Cant we try to follow the same construct as the other units? <br>
<br>
Something like this perhaps ( I think these for case cover more less
the most common parts )...<br>
<br>
The "default" device present spawn *when link is detected* unit
"Type=dhcp"<br>
<br>
network@<network device>.network<br>
<br>
[Unit]<br>
Description=Network device %I<br>
<br>
[Service]<br>
Type=<code>dhcp<br>
Rest provided by dhcp<br>
<br>
</code>The administrator configurable unit "Type=Static"<br>
<br>
em1.network<br>
<br>
[Unit]<br>
Description=Network device em1<br>
<br>
[Service]<br>
Type=static<br>
Address=192.168.0.1/24<br>
<br>
[Install]<br>
WantedBy=multi-user.target<br>
<br>
The administrator configurable unit "Type=bridge"<br>
<br>
bridge0.network<br>
<br>
[Unit]<br>
Description=Network device bridge 0<br>
Master=em1<br>
Slave=em2<br>
<br>
[Service]<br>
Type=bridge<br>
<br>
<br>
[Install]<br>
WantedBy=multi-user.target<br>
<br>
The administrator configurable unit "Type=bridge"<br>
<br>
bond0.network<br>
<br>
[Unit]<br>
Description=Network device bonding 0<br>
Master=bond0<br>
Slave=em1,em2<br>
<br>
[Service]<br>
Type=bonding<br>
Address=192.168.0.1/24<br>
<br>
[Install]<br>
WantedBy=multi-user.target<br>
</body>
</html>