Mailing List Archive

nat problem
Hi :

I set a nat cluster but can't work . ( redhat 6.2 default rpm & config by piranha gui with no kernel patch )
If I stop the nat , the gui shutdown my eth0 & eth1:0 .
I try to telnet x.y.a.c 80 but shows connection refused ( sometimes show server busy ).
Please geve me some suggestions and thanks for your help.

Samson

machine A: virtual server with 2 NIC card & gateway bind with eth0 (x.y.a.b)
machine B & C : real server with 1 NIC : gateway 192.168.61.13 and can connect to public ip

/etc/lvs.cf
primary = x.y.a.b
nat_router = 192.168.61.13 eth0
service = lvs

virtual develop {
address = x.y.a.c eth1:0
active = 1
load_monitor = ruptime

server lvs1 {
address = 192.168.61.12
active = 1
}
server lvs2 {
address = 192.168.61.17
active = 1
}
}
Re: nat problem [ In reply to ]
On Thu, 21 Dec 2000, you wrote:
>
> Hi :
>
> I set a nat cluster but can't work . ( redhat 6.2 default rpm & config by piranha gui with no kernel patch )
> If I stop the nat , the gui shutdown my eth0 & eth1:0 .
> I try to telnet x.y.a.c 80 but shows connection refused ( sometimes show server busy ).
> Please geve me some suggestions and thanks for your help.
>
This is spesific piranha problem,..my sugestion is try manual use ipvsadm
cos I also always fail using piranha ..:=(

Use manual from www.linuxvirtualserver.org in NAT section
Re: nat problem [ In reply to ]
> Samson Kao wrote:
>
> Hi :
>
> I set a nat cluster but can't work . ( redhat 6.2 default rpm & config by
> piranha gui with no kernel patch )

Could you please address this to the piranha-mailinglist? Not because we're
not willing to help you but because you're using a special version of the
linux virtual server which needs the support of RedHat itself. If you however
decide to grab a fresh kernel and patch it with the patches from
www.linux-vs.org
itself and you still can get it working, we definitely can help much better.

> If I stop the nat , the gui shutdown my eth0 & eth1:0 .

How do you stop nat? Are you definitely sure it shutdowns eth0 too?

> I try to telnet x.y.a.c 80 but shows connection refused ( sometimes show
> server busy ).

This is when NAT is not setup correctly. What are the ipchains rules on
the director itself?

> Please geve me some suggestions and thanks for your help.

Try to address this issue in the piranha-mailinglist.

Best regards,
Roberto Nibali, ratz

--
mailto: `echo NrOatSz@tPacA.cMh | sed 's/[NOSPAM]//g'`