[Lguest] networking

Tim Post echo at echoreply.us
Wed Feb 6 13:48:10 EST 2008


On Tue, 2008-02-05 at 12:02 +0100, octane indice wrote:
> I'm currently trying lguest which seems good and I have a question:
> 
> Is there a way to use multiple lguest and connect them through a virtual
> network?
> 
> Thanks

If you mean setting up x number of guests to share their own network,
independently of the system's network adapter, just set up a dummy
bridge that doesn't enslave a physical device.

On my Debian system, the configuration would be as:

auto brdummy
iface brdummy inet static
  address 192.168.1.1
  netmask 255.255.255.0
  network 192.168.1.0
  bridge_fd 0
  bridge_maxwait 0
  bridge_helo 0
  bridge_stp off
  bridge_ports none

Or just use ifconfig / brctl and make a quick script to set it up and
take it down.

Have brdummy back the vifs in lieu of your 'real' bridge. brdummy
becomes (more or less) a brain dead switch. If you like, you can setup a
DHCP server that can listen on the dummy bridge. 

Cheers,
--Tim






More information about the Lguest mailing list