Jump to content

For some uni project I needed a GRE-tunnel on OSPF. For the GRE-tunnel I need on both servers running ubuntu 18.04 a virtual interface. I found the old way was to specify if in "etc/network/interface" or to do this:

sudo ip tunnel add gre1 mode gre remote 172.16.0.2 local 172.16.0.1 ttl 255
sudo ip link set gre1 up
sudo ip addr add 10.10.10.1/30 dev gre1

My question is then. How to make a virtual interface in netplan? (not the function that you can add 2 ip's to one interface)

Link to comment
https://linustechtips.com/topic/1070586-virtual-interface-using-ubuntu-1804-netplan/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×