") Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii
Sometime ago we had this conversation about how to do dynamic creation of UMLs, particularly for laptop development environments. Blaisorblade <[EMAIL PROTECTED]> writes: > 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. Can you explain this a bit more? I'll explain why. My laptop uml setup works really well... I can create UMLs on the fly with one command. But I can't start more than one at once and get a network device and I want to be able to. Here's (roughly) my current bootscript: umlkernel \ ubd0=localcow,/someplace/umlfs \ ubd1=/someplace/swap \ eth0=tuntap,umltap umltap is a tuntap which is preconfigured at host OS boot time. I have a dhcp server listening on the tuntap interface. If I try to boot two UMLs simultaneously then one of them doesn't get a network. So, first question: do I need a new tun device for every UML I start? If I create a new tuntap device and pass it to the UML line, thus: tunctl -t umltap2 ifconfig umltap2 192.168.1.4 up route add -host 192.168.1.4 dev umltap2 bash -c 'echo 1 > /proc/sys/net/ipv4/conf/umltap2/proxy_arp' arp -Ds 192.168.1.4 umltap pub I can ping from the host to the new tuntap. I can bring up the eth in the new uml manually and ping to the host OS but DHCP allocation inside the UML does not work. My second question is: can uml_switch help me make tuntap's on the fly and connect them all together? Nic Ferrier ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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