Isso é fixo. Para qualquer pessoa interessada, por favor veja os detalhes abaixo.
-
Instale o bridge-utils.
-
sudo leafpad /etc/network/interfacesauto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.1 netmask 255.255.255.0 dns-nameservers 10.228.129.113 10.228.129.114 -
sudo leafpad /etc/rc.d/rc.localvboxmanage hostonlyif ipconfig vboxnet0 --ip 192.168.0.3 --netmask 255.255.255.0 brctl addbr br0 ifconfig eth0 0.0.0.0 down ifconfig vboxnet0 0.0.0.0 down brctl addif br0 eth0 brctl addif br0 vboxnet0 ifconfig eth0 up ifconfig vboxnet0 up ifconfig br0 192.168.0.1 netmask 255.255.255.0 up /sbin/iptables -P FORWARD ACCEPT /sbin/iptables --append FORWARD --in-interface br0 -j ACCEPT /sbin/iptables --table nat -A POSTROUTING -s 192.168.0.0/24 -o ppp0 -j MASQUERADE restart isc-dhcp-server exit 0 -
sudo leafpad /etc/default/isc-dhcp-serverINTERFACES="br0 eth0" -
Reinicie seu computador