detuxsandbox / detux

The Multiplatform Linux Sandbox
MIT License
260 stars 58 forks source link

Ask a question about qemu net Can`t find gateway #6

Open zhongshendoushuizhao opened 7 years ago

zhongshendoushuizhao commented 7 years ago

hello buddy~ I tried to build detux. i follow the step and I built it up successfully, but i find a quetion in my detux. My qemu virtual machine can only ping my host ip. It can not ping the gateway and can not access the Internet. My host network configuration is as follows : auto br0 iface br0 inet dhcp bridge_port eth0 bridge_maxwait 0
qq 20170725113609

My virtual host configuration is as follows qq 20170725113641

qq 20170725113711

so ,what happend? can you help me ?

mikelhpdatke commented 6 years ago

Did you run qemu command extractly? I emulated it nomally. Using command below:

sudo qemu-system-mips -M malta -kernel qemu/mips/1/vmlinux-3.2.0-4-4kc-malta -hda qemu/mips/1/debian_wheezy_mips_standard.qcow2 -append "root=/dev/sda1 console=tty0" -net nic,macaddr=52:55:00:d1:55:01 -net tap