Running Ubuntu Server 19.04. Using SoftEther's Local Bridge feature. Their docs recommend disabling IP on the interface used for bridging.
Here's my Netplan configuration:
network:
version: 2
renderer: networkd
ethernets:
lan:
match:
macaddress: c8:2a:14:00:00:00
addresses:
- 192.168.1.253/24
dhcp4: false
gateway4: 192.168.1.254
nameservers:
addresses:
- 192.168.1.254
set-name: lan
softether:
match:
macaddress: a8:60:b6:00:00:00
dhcp4: false
optional: true
set-name: softether
wifi:
match:
macaddress: 40:6c:8f:00:00:00
dhcp4: true
optional: true
set-name: wifi
Still getting an IPv6 on the softether interface:
$ ip a
2: softether: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether a8:60:b6:00:00:00 brd ff:ff:ff:ff:ff:ff
inet6 fe80::aa60:b6ff:fe09:937c/64 scope link
valid_lft forever preferred_lft forever
Is there a way to remove IPv6 using Netplan alone?
This question is a bit old, however there is a way to do it with netplan, using this answer to a similar question:
This did exactly what I wanted - disabling ipv6 on just one of the two NICs in the server.
NOTE: As Raptor points out, this will also disable link-local adresses for IPv4 as well, so if you need that then you will need to use a different solution.
FYI:
helps keeping ipv4 up while disabling ipv6. Cheers
Have you tried