On Sunday 20 March 2005 08:49, Tim Warnock wrote: > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Steve Johnson > > Sent: Sunday, 20 March 2005 5:09 PM > > To: user-mode-linux-user@lists.sourceforge.net > > Subject: [uml-user] Multiple Ethernet Interfaces in Debian Stable > > > > > > Does anyone know the secret to adding multiple > > ethernet interfaces to Debian UML guests? Or how to > > add multiple IP numbers to a Debian UML guest? > > > > My interfaces file: > > > > # /etc/network/interfaces -- configuration file for > > ifup(8), ifdown(8) > > > > # The loopback interface > > auto lo > > iface lo inet loopback > > > > # The first network card - this entry was created > > during the Debian installation > > # (network, broadcast and gateway are optional) > > auto eth0 eth1 > > iface eth0 inet static > > address 10.1.1.10 > > netmask 255.255.255.0 > > gateway 10.1.1.1 > > iface eth1 inet static > > address 10.1.1.11 > > netmask 255.255.255.0 > > gateway 10.1.1.1 > > > > Interfaces are set up on the host and work correctly > > with Redhat / Fedora guests (ifcfg-eth0 and > > ifcfg-eth1) and with Slackware guests rc.inet1.cfg > > > > Any ideas? > > > > Thanks for your help. > > > > -Steve Johnson > > Im not sure what you are trying to do will even work in real life... Can > you run two nics in the same subnet on different ips? I do it currently... > Which one does the > kernel choose to use? Good question at first, and the answer is "look at the routing table, at the dev column". You can ask "what will do ifconfig when you create the second interface?" and I don't know about this. > Anyway, your prolly better off doing: > > Eth0 and eth0:1 (ip alias)... I use debian stable as host and guest and > that works quite nicely This also avoids having to setup two interfaces on the UML command line. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user