[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Question about tun/tap networking
From: |
Arne Bernin |
Subject: |
Re: [Qemu-devel] Question about tun/tap networking |
Date: |
Mon, 03 May 2004 23:31:34 +0200 |
On Mon, 2004-05-03 at 22:22, Jim C. Brown wrote:
> [/space/qemu/qemu-0.5.4/ $] su root
> [/space/qemu/qemu-0.5.4/ #] vde_switch -daemon -tap tap0
> [/space/qemu/qemu-0.5.4/ #] ifconfig tap0 192.168.1.254
> [/space/qemu/qemu-0.5.4/ #] chmod 777 /tmp/vde.ctl
> [/space/qemu/qemu-0.5.4/ #] exit
> [/space/qemu/qemu-0.5.4/ $] vdeq qemu -hda disk1.img
>
> This works, not only can I ping 2 different machines on the vde, I can also
> ping the LAN from the vde, and vice versa. (ifconfig seems to set up
> routing automagicly. Or was it something I put into shorewall...)
>
> Note that for teh guest OS, you need to set up 192.168.1.254 as the default
> gateway
> for just about everything.
>
thanks, it is working now, just had some wrong firewall settings on the
guest OS linux boxes....
--arne