router IP is 10.1.1.1
load balaner VIP is 10.1.1.10
2 syslog server need to be load balanced: 10.1.1.2 and 10.1.1.3, with default gateway: 10.1.1.1
when I use layer2 design on the load balancer, I need to configure "group" to make sure that return traffic from server still need to pass through LB.
it works well until we found out that all the traffic source record in Syslog server are :10.1.1.10, which is VIP on the LB, so that I change to layer3 approach on the LB:
on the server, default gateway changed to 10.1.1.11, which is layer 3 IP on the LB;
on the router, create 2 static host routes: 10.1.1.2 255.255.255.255 -> 10.1.1.11 and 10.1.1.3 255.255.255.255 -> 10.1.1.11
I still have a few questions:
1). shall I point the default gateway to 10.1.1.10 (VIP) or 10.1.1.11, which is configured on the LB circuitVLAN10?
2). in the LB, I configued:
ip address 10.1.1.2
and I also specified the "protocol udp"and"port 514" in the service part:
add service Server13
add service Server14
vip address 10.1.1.10
do I need to specified that at 2 parts both? what is the difference?
3). when I shut down 1 server, I can see server down from "show keeplive", but it still direct traffic to the down server, I know I can fix this by restart the LB, is there any automatical way?
I have post the samiliar question before, so far i have not get any right answer yet, thanks in advance!