Re: [vserver] Static Route on Loopback

From: Gordan Bobic <gordan_at_bobich.net>
Date: Sun 17 Oct 2010 - 17:24:54 BST
Message-ID: <4CBB2356.5090709@bobich.net>

On 17/10/2010 17:07, Herbert Poetzl wrote:
> On Fri, Oct 15, 2010 at 01:08:22PM +0100, Gordan Bobic wrote:
>> The problem is that loopback reacts differently. It responds locally
>> to all addresses in the subnet.
>
>> e.g. if you set your loopback 127.0.0.1/8, the localhost will
>> listen to ALL of the addresses in that subnet. If you set it for
>> 192.168.0.1/24, then ALL of the IPs in that subnet will get answered
>> by localhost, rather than passed out.
>
>> Either way, the solution using a dummy NIC works. It turns out the lo
>> IP bindings were a hangover from before, after I removed them they
>> didn't come back, so it's all good.
>
>> I think this is a point that's worth pointing in the dummy vs lo
>> argument. With lo, the routing and filtering can be quite unintuitive,
>> while dummy works exactly as you'd expect.
>
> what's the point puting it on dummy, why not put it on
> the actual interface it will be using anyway, e.g. eth0
> (or whatever your traffic uses)?

It won't be using an external interface. This is for a guests-only
internal interface.

Gordan
Received on Sun Oct 17 17:25:03 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 17 Oct 2010 - 17:25:03 BST by hypermail 2.1.8