sudo ip tuntap add dev tap0 mode tap group kvm sudo brctl addif br0 tap0 sudo ip link set dev tap0 up promisc on #sudo sysctl -w net.ipv4.ip_forward=1
emulator -avd Pixel_3a_API_30_x86 -netfast -accel auto -qemu -device virtio-net,netdev=net0,mac=52:55:00:d1:55:51 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no
adb root adb shell "dhcpclient -i eth1 &" adb# ctrl+z adb# bg adb shell "ip rule add from all lookup main pref 1" adb shell "ip route add default via 172.16.106.254 dev eth1"
Crappy format, isn't it?