This tutorial was written using Red Hat Fedora 30 but may be similar on other distros.
You should have an eth0
, but if you $ ifconcig -a
and don't see it, you should do $ nmcli device status
to determine which device is connected to your wifi/ethernet.
$ sudo ip link add macvlan1 link eth0 type macvlan mode bridge
$ sudo ip link add macvlan2 link eth0 type macvlan mode bridge
$ sudo ip netns add net1