V
V
Vlad T.2018-06-18 00:46:58
GRE
Vlad T., 2018-06-18 00:46:58

How to set up a GRE tunnel with netplan?

Previously, on Ubuntu, the gre-tunnel could be configured using ifupdown, for example

auto tun1
iface tun1 inet static
    address <tunnel IP>
    netmask <tunnel subnet mask>
    pre-up iptunnel add tun1 mode gre local <local IP> remote <remote IP> ttl 255
    up ifconfig tun1 multicast
    pointopoint <remote tunnel IP>
    post-down iptunnel del tun1

Netplan is currently running by default. In principle it is possible to install ifupdown and work as before, but I'm wondering how to do the same with netplan

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question