Many Thanks Nick and Jack ; all is ok now for NAT.
So I test now Direct Routing and have another trouble : the director
runs ok but after a few requests, it blocks.
I have upgraded my kernel to 2.6.8 and checked the arp trouble.
Do you have an idea for my trouble ?
My /etc/network/interfaces is :
#Realserver
auto eth0
iface eth0 inet static
address 192.168.1.10
gateway 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
#VIP Shared
auto lo:5
iface lo:5 inet static
address 192.168.1.5
broadcast 192.168.1.5
netmask 255.255.255.255
up route add -host 192.168.1.5 dev lo:5
Regards
jeremie
Le 19 mars 06 à 00:03, Nicklas Bondesson a écrit :
So when I make a GET / on lvs1 I got an error : seems normal
because it does not listen WWW port.
Could anyone help me and show me my mistake ? What's the
solution to tell LVS1 listen on WWW port ?
Regards
Jeremie
You probably don't want to listen on port 80 on the director since
you are
obviously trying to forward traffic on that port to your realservers
(front1-2).
It seems from your lvsadm output that your are using lb_kind NAT
and that
the WWW service is up and running on your realservers.
Since you are telling LVS to use NAT you have to set the director
as default
gateway for your realservers.
Hope this gives you something to work on.
Nick
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|