|
| Subject: Re: code+run | |
| Author: Ilker G | June 5, 2001 at 00:41:09 |
| in reply to: Re: code+run posted by tung on May 30, 2001 at 16:58:16 | |
|
> Sorry, I don't understand what the ip 200.200.200.30 and > interface2 means. You didn't mention them before. > > The whole picture should be like this > > xxx ---> [SG:137,214] ---> [S1:192.168.1.1], > [S2:192.168.1.2].... > > The sgclutser owns both publicip(137) and groupip(214) on > the public interface and you have to test it from outside > sgcluster. eg: xxx (machines owns public ip other than 137, > 214) > > When you connect from xxx to groupip (214), you will be > redirect to one of the backend servers(192.168.1.1, > 192.168.1.2) > > > Internet Address Physical Address Type > > 200.200.200.137 00-a0-c9-6e-ae-26 dynamic > > 200.200.200.214 00-a0-c9-6e-ae-26 dynamic > > You will see this on the arp table of machine XXX. > > > 200.200.200.214 -> public ip 200.200.200.137 -> group ip > > What does this mean? I assume both 214 and 137 are ips on > the sgcluster machine. > > > I think, i should see backend server's MAC address instead > > of public interface MAC for 200.200.200.137. What about it? > > No. You will see MAC of the public interface of SG, not the > MAC of the backend servers. > > ps: Your init_command should use 200.200.200.137:0 instead > of 200.200.200.137:80 since your sg is working under > redirect_address mode. Hmm... Ok. I have changed.. client1 (200.200.200.30) ---> sgcluster machine (group ip:200.200.200.137) --> backend web server (ip:192.168.1.1) When client1 wants a HTTP request to 200.200.200.137, i cant get any response from backend server. Some clues: 1 - sgcluster machine can ping to backend server. 2 - client1 can ping to sgcluster's public ip (200.200.200.214). 3 - client1 can NOT ping to sgcluster's group ip (137). My sg.conf: temporary_ip="10.0.0.1" # ip before start sg temporary_gw="10.0.0.253" # gateway before start sg public_interface="fxp0" private_interface="xl0" public_ip="200.200.200.214" default_gw="200.200.200.253" private_ip="192.168.1.253" group_ip="200.200.200.137" # map real servers to server group natd_parameter=" -redirect_address 192.168.1.1 200.200.200.137 -redirect_address 192.168.1.2 200.200.200.137 " # init command sent to sgctrld init_command=" set g 200.200.200.137:0 s 192.168.1.1:0 weight 10 set g 200.200.200.137:0 s 192.168.1.2:0 weight 5 " Best regards, Ilker G. |
  | |
| Follow Ups: | ||
| ||
| Post Followup | ||
|---|---|---|
|
Served by ruboard 1.2.1; Copyright © 1998 by Andrew Maltsev. | ||