[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu 0.8.2 and RTEMS
From: |
Lonnie Mendez |
Subject: |
Re: [Qemu-devel] qemu 0.8.2 and RTEMS |
Date: |
Mon, 13 Nov 2006 16:33:14 -0600 |
On Mon, 2006-11-13 at 14:06 -0800, Jonathan Kalbfeld wrote:
> qemu -isa -nics 1 -n ~joel/qemu-work/qemu/qemu-kit/tunconfig.sh \
> -macaddr 00:80:7F:22:61:77 -m 4 -serial stdio -fda
> /home/joel/qemu/grub144
>
> I have this much of a command line which doesn't cause qemu to
> complain but it doesn't work either:
>
> qemu -net nic,macaddr=00:80:7F:22:61:77,model=ne2k_isa \
> -m 4 -fda /home/joel/qemu/grub144
You need to specify a connection method for the nic. qemu has vlans
now that organize the internal network. The default qemu uses with no
-net arguments is -net nic,vlan=0 -net user,vlan=0. This groups a nic
and a connection method (slirp) on vlan 0. If you want to use tun/tap
networking specify -net tap instead (along with -net nic,...). Your old
line might look like the below:
qemu -M isapc -net nic,macaddr=00:80:7F:22:61:77 -net
tap,script=~joel/qemu-work/qemu/qemu-kit/tunconfig.sh -m 4 -serial stdio
-fda /home/joel/qemu/grub144
Although I'm not sure what the old script format looks like - there are
example qemu-ifup scripts about the net.
> The qemu faq mentions using a tunctl program which I don't see.
Please link that page here so it can be reviewed for correctness.