LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: rc.lvs_nat errors

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: rc.lvs_nat errors
From: "Lizambri, Todd" <tlizambri@xxxxxxxxxxxx>
Date: Tue, 15 Jan 2002 12:12:08 -0500
> 
> so is there any tool (eg ifconfig) that tells you that you 
> have an ip_alias
> configured when you have eth0:1 (say) with an IP on it?
> 

OK. After a little more poking around, here's the deal.

Ifconfig will show the eth0:110 (assuming that someone created the
alias).
The MINI-HOWTO says to get your director/realservers to ping each other.
I have done this, but I used eth0 when setting up my network scripts
(ifcfg-eth0, not an alias). When I do an ifconfig, you only see eth0. I
can ping the director from the realservers and vice-versa. 

In the lvs_nat.conf, I had put in the alias eth0:1(I though the script
would do an ifconfig on the director to set-up the aliased interface).
If I change the eth0:1 to just eth0 in the lvs_nat.conf, the original
problem that Matt and myself had goes away (the one where commenting out
the remove_old_vip() got us around the problem).

I am still losing my default gateway (unless I hardcode DEFAULT_GW=xxx
into the rc.lvs_nat script).

Connections initiated from my realserver to the outside world go through
the director, but are not being NATed.

Is NOT using aliases a problem? 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

<Prev in Thread] Current Thread [Next in Thread>