<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 04/08/2014 12:54 PM, "Jóhann B.
      Guðmundsson" wrote:<br>
    </div>
    <blockquote cite="mid:5343A43F.4030202@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">On 04/08/2014 03:22 AM, Susant Sahani
        wrote:<br>
      </div>
      <blockquote
        cite="mid:1396927371-24614-1-git-send-email-susant@redhat.com"
        type="cite">
        <pre wrap="">file: ipip.netdev
--------------------------
[NetDev]
Name=ipip-tun
Kind=ipip

[Tunnel]
Local=192.168.8.102
Remote=10.4.4.4
TTL=64
MTUBytes=1480

file: ipip.network
--------------------------
[Match]
Name=eth0

[Network]
Tunnel=ipip-tun</pre>
      </blockquote>
      <br>
      I think this is worse from previous example since now you have
      moved the  network definitions out from the network file and into
      the net device file.<br>
    </blockquote>
    <br>
    Well thanks for the comment . I am open for the change . Leaving tom
    to comment on this .<br>
    <blockquote cite="mid:5343A43F.4030202@gmail.com" type="cite"> <br>
      The best way to define this from my pov is like this since the
      tunnel is the network device type aka Kind=tunnel and the mode is
      the operation mode of that tunnel<br>
      <br>
      <code><code>tunnel0</code>.netdev</code><br>
      <pre><code>[NetDev]
Name=</code><code><code>tunnel0</code>
Kind=tunnel

</code><code>[Match]
Name=enp2s0

.network

[Network]
</code><code><code># one of the following</code>
Mode=ipip | gre | sit | isatap | vti <-- 
Address=192.168.0.15/24
Gateway=192.168.0.1</code></pre>
      <br>
      Or<br>
      <br>
      <code>tunnel0.netdev</code><br>
      <pre><code>[NetDev]
Name=</code><code><code>tunnel0</code>
Kind=tunnel

</code><code>[Match]
Name=enp2s0

.network

[Network]
</code><code><code># one of the following</code>
Mode=ipip | gre | sit | isatap | vti <--
</code><code>DHCP=yes</code>
</pre>
      <br>
      or if you want to be consistent with how it's done with bridging
      you would swap the Mode= in the [Network] section to Tunnel=<code>ipip
        | gre | sit | isatap | vti</code> <br>
      <br>
      JBG<br>
      <br>
    </blockquote>
    Thanks,<br>
    Susant<br>
    <blockquote cite="mid:5343A43F.4030202@gmail.com" type="cite"> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
systemd-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>