[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] About how to connect from guest "" to remote "19

From: Qi Zhang
Subject: [Qemu-discuss] About how to connect from guest "" to remote "192.168.1.xx"
Date: Tue, 14 Feb 2012 17:21:52 +0800

Hi There:

        I'm trying to use QEMU to emulate a simple Linux Guest for
some specific task
        I have download/compile the Linux 3.2.5 kernel and busybox
1.19.4 and successfully make the guest system running after some
simple setup.
        Also the guest system can mount host NFS after I set the eth0
IP to  (mount -t nfs /tmp)

        Now the host system is also connect to a LAN (,
and there is application running on the guest system, who want to talk
to another server on the LAN (
        but guest ( can't ping to the remote server (,
        I have manually add the default gateway as, that
still not work.
        Destination     Gateway         Genmask         Flags Metric
Ref    Use Iface         UG    0      0
       0 eth0       U     0      0
       0 eth0

        Can anybody help me to figure it out?
        Wish the solution is not about use the tap/bridge solution,
        I was lack of related network knowledge and the only thing I
know is use QEMU "user net" is something similar as "NAT" option in
virtual box,
        though when use NAT the host can't ping to guest, but the
guest can ping to everywhere and there is no bridge I think

        my host system is Ubuntu 11.10 and the command to start the QEMU is
        "qemu-system-x86_64 -kernel arch/x86/boot/bzImage -boot d
-append 'console=ttyS0, 115200' -nographic -net nic -net user"

Thanks a lot!
Zhang Qi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]