sudo ip tuntap add tap0 mode tap
sudo ip link set tap0 up
sudo ip addr add 192.168.2.2/24 dev tap0
sudo ip route add default via 192.168.2.1
[NetDev]
Name=tap0
Kind=tap
[Match]
Name=tap0
[Network]
Address=192.168.2.2/24
Gateway=192.168.2.1
DNS=8.8.8.8
DNS=8.8.4.4