Making stupid bridged networking work on wifi (because usermode networking is not good enough)
Source: cosarara.me ·
This is how I setup the network when I run a VM on a laptop. Create a bridge on networkmanager: $ nmcli connection add type bridge ifname br0 stp no \ ipv4.addresses 10 .42.42.42/24 ipv4.method manual connection.id br0 (it will be DOWN but already be visible in ip link ) Set up a dhcp server for our vms using dnsmasq #/etc/dnsmasq.conf interface=br0 dhcp-range=10.42.42.50,10.42.42.150,12h # systemctl enable --now dnsmasq Enable forwarding In /etc/sysctl.conf or /etc/sysctl.d/99-sysctl.conf: net.ipv4.ip_forward = 1 # sysctl -p /etc/sysctl.conf Tell iptables to please forward iptables -A FORWARD
More like this
-
Ardbeg Ten Cask Strength
Article · Whisky and Wisdom
-
The etiquette and politics of whisky write-ups and reviews
Article · Whisky and Wisdom
-
The Glendronach “Ode to….” series
Article · Whisky and Wisdom
-
Jack Daniel’s 10 Years Old
Article · Whisky and Wisdom
-
Glenfiddich 16 Aston Martin
Article · Whisky and Wisdom
-
Falkirk Distillery
Article · Whisky and Wisdom