") Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii
Blaisorblade <[EMAIL PROTECTED]> writes: > Let me think... the problem I may think of is that your DHCP server is not > listening on tap0. You need to change its configuration and restart it after > creating the tap0 interface, i.e. after the UML has booted, and then start > dhclient on the UML. Yes, troublesome probably. > > I don't know if the DHCP server can be made to listen on any interfaces so it > will listen also on interfaces started after its boot. > > Improvements: > a) there is dhcp-fwd which forwards DHCP requests from one Ethernet piece to > another Last time I tried a dhcp proxy it didn't work. I was under the impression that there was a problem with DHCP packets as far as the TUN/TAP went... but I may be wrong. > b) pre-setup a tap0 interface (possibly you'll want to run uml_switch to > connect all UMLs to this tap0 device) so that you can run the DHCP server > before starting UMLs. Hmmm... This sounds good. So if I do: tunctl -t mytap then start the dhcp server listening on that device: dhcpd mytap then every UML I want to start looks like this: mykernel ... eth0=tuntap,mytap then inside the VM I'll be able to dhcp to bring up their interfaces? > c) bridging those two Ethernet interfaces together would work,correct,but can > be avoided. I do this for UML hosting. And it does work really nicely. But it requires that the bridge is setup and working and that's not the case on a laptop. > d) personally I pass the network params (IP and hostname) to each instance on > a cmd line parameter and then inside the UML I parse those params (can be > found in /proc/cmdline) and setup networking according to them,instead of > using DHCP. I want autoconfig. Nic ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user