####Networking for firecracker (i think) #on the host machine INTERFACE="ens18" sudo ip link add name br0 type bridge sudo ip addr add 172.20.0.1/24 dev br0 sudo ip link set dev br0 up sudo sysctl -w net.ipv4.ip_forward=1 sudo iptables --table nat --append POSTROUTING --out-interface ${INTERFACE} -j MASQUERADE sudo iptables --insert FORWARD --in-interface br0 -j ACCEPT sudo ip tuntap add dev tap0 mode tap sudo brctl addif br0 tap0 sudo ifconfig tap0 up #Inside the vm (if image isn't built with nfs support ip addr add dev eth0 172.20.0.2/16 ip route add default via 172.20.0.1 echo "nameserver 8.8.8.8" > /etc/resolv.conf if it is built with nfs support you supposedly can change the bootargs like so "boot_args": "ro console=ttyS0 noapic reboot=k panic=1 pci=off nomodules random.trust_cpu=on ip=172.20.0.2::172.20.0.1:255.255.255.0::eth0:off" #delete You can delete interfaces like: sudo ip link del br0