* Tzafrir Cohen <[EMAIL PROTECTED]> [040528 08:51]: > On Fri, May 28, 2004 at 01:01:50AM +0200, Hetz Ben Hamo wrote: > > >how about network? > > >was it out of the box? how much setup did you need? > > > > Network is seperated into 2 - you can use the TUN support (which > > frankly, I didn't yet manage to use it) or the SLiRP support (compile > > QEMU with --enable-slirp and user -user-net when you launch QEMU) [...] > > In both ways, you'll need to do some iptables tricks to connect to your > > host OS.. > > tun creates simply another network interface. So if you have some > control of the routing around that network you simply need to enable > ip forwarding and set the routing tables properly.
The standard trick with tun devices and UMLs is to bridge them to the external network interface, this way the hosted OS will communicate as if its on the external network, it can take DHCP and do all the rest. Of course if you are on a single machine broadband/dialup connection you WILL need to setup NAT and such since you'll effectively have one gateway machine (the host) and one network client (the hosted). Baruch ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]