Re: [vserver] Virtual Host-Only Networking (tap?)

From: Adrian Reyer <are_at_lihas.de>
Date: Sat 11 Sep 2010 - 10:27:13 BST
Message-ID: <20100911092713.GA1231@lihas.de>

On Sat, Sep 11, 2010 at 08:28:41AM +0800, Jeff Jansen wrote:
> We use the 'dummy' interface for this. 'modprobe dummy' and now you've
> got 'dummy0' as an interface on the host. (You can also have dummy1,
> dummy2, etc. by running 'modprobe numdummies=X' where 'X' is the number
> of dummy interfaces you want.)

We use 'lo:N' here and a private address range. What is the benefit of
'dummy'? Basic setup just nanmes 'lo' as
/etc/vservers/NAME/interfaces/X/dev.

> You can treat this just like any other interface on the host and assign
> a different IP address to each guest and you have a truly host-only
> networking device.

Does this make the hosts iptables passing the 'FORWARD' chain? 'lo'
won't.

Regards,
        Adrian

-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas_at_lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
Received on Sat Sep 11 10:27:59 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 11 Sep 2010 - 10:27:59 BST by hypermail 2.1.8