From: Olivier B. <ol...@pr...> - 2005-03-20 07:33:56
|
Steve Johnson wrote: > 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 Assuming you set up two tuntap-interfaces on the host, something like so? auto eth0 iface eth0 inet static address 10.1.1.10 netmask 255.255.255.0 gateway 10.1.1.1 auto eth1 iface eth1 inet static address 10.1.1.11 netmask 255.255.255.0 HTH, Olivier |