From: Sam Vilain (sam_at_vilain.net)
Date: Tue 25 Feb 2003 - 14:19:44 GMT
I've got some hosts running on lo:0 virtual interfaces; but they're on
internal network numbers.
Make sure you set IPROOTMASK="255.255.255.255 -arp" in
/etc/vservers/foo.conf, as the /usr/lib/vserver/ifspec program will always
return 255.0.0.0 for vservers set up on lo and try to use that netmask.
Adding the " -arp" inside the IPROOTMASK is clearly a hack :-) but might be
enough to get you going.
On Tue, 25 Feb 2003 23:38, Fredrik Steen wrote:
> Hi all,
> I'm trying to use 2 vservers loadbalaned by lvs. I will be using DR
> (direct routing) for the forwarding method and for that I need to setup
> an alias on the loopback interface (lo) in the vserver with the virtual
> lo:0 Link encap:Local Loopback
> inet addr:184.108.40.206 Mask:255.255.255.255
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> The interface must not use the ARP protocol. (ifconfig lo:0 .. -arp)
> I have tried to get this to work but with no luck. Is this possible?
> Debian GNU/Linux 3.0 (woody)
> Kernel: 2.4.20ctx-16
>  http://www.linuxvirtualserver.org/
> btw, thanks for your great work with vserver!
-- Sam Vilain, sam_at_vilain.net
A pipe gives a wise man time to think and a fool something to stick in his mouth. - anon.