IP SLB stumping
I'm stumped on IP SLB.
On routers R1 to R3 I have configured a loopback0 ip 172.16.0.254/32 on each of them.
This is the config on my Router called R4.
ip slb serverfarm MYFARM
real 172.16.0.1
inservice
real 172.16.0.2
inservice
real 172.16.0.3
inservice
!
ip slb vserver VIRTUAL_SERVER
virtual 172.16.0.254 tcp www
serverfarm MYFARM
inservice
DHCP-R4#SHOW IP SLB REAL
real server farm weight state conns
172.16.0.1 MYFARM 8 OPERATIONAL 0
172.16.0.2 MYFARM 8 OPERATIONAL 3
172.16.0.3 MYFARM 8 OPERATIONAL 0
DHCP-R4#
DHCP-R4#SHOW IP SLB VSERVER
slb vserver prot virtual state conns
VIRTUAL_SERVER TCP 172.16.0.254:80 INSERVICE 3
DHCP-R4#show ip slb serverfarm
server farm predictor nat reals bind id
MYFARM ROUNDROBIN none 3 0
I used telnet 172.16.0.254 80 cmd on the hosts (R5,R6 and R7) pretty much at the same time but they seem to be all connecting to the 172.16.0.2 address. Shouldnt they be load balancing equally? it is set to default round robin
On routers R1 to R3 I have configured a loopback0 ip 172.16.0.254/32 on each of them.
This is the config on my Router called R4.
ip slb serverfarm MYFARM
real 172.16.0.1
inservice
real 172.16.0.2
inservice
real 172.16.0.3
inservice
!
ip slb vserver VIRTUAL_SERVER
virtual 172.16.0.254 tcp www
serverfarm MYFARM
inservice
DHCP-R4#SHOW IP SLB REAL
real server farm weight state conns
172.16.0.1 MYFARM 8 OPERATIONAL 0
172.16.0.2 MYFARM 8 OPERATIONAL 3
172.16.0.3 MYFARM 8 OPERATIONAL 0
DHCP-R4#
DHCP-R4#SHOW IP SLB VSERVER
slb vserver prot virtual state conns
VIRTUAL_SERVER TCP 172.16.0.254:80 INSERVICE 3
DHCP-R4#show ip slb serverfarm
server farm predictor nat reals bind id
MYFARM ROUNDROBIN none 3 0
I used telnet 172.16.0.254 80 cmd on the hosts (R5,R6 and R7) pretty much at the same time but they seem to be all connecting to the 172.16.0.2 address. Shouldnt they be load balancing equally? it is set to default round robin
I'm an Xpert at nothing apart from remembering useless information that nobody else cares about.
Comments
-
MrXpert Member Posts: 586 ■■■□□□□□□□any ideas?I'm an Xpert at nothing apart from remembering useless information that nobody else cares about.
-
MrXpert Member Posts: 586 ■■■□□□□□□□No worries, i;ve figured it out and some.
Also setup two different server farms and load balanced between them with 2 web servers per farm. Each farm served a different subnet.
It's an amazing feature and I think often forgotten about.I'm an Xpert at nothing apart from remembering useless information that nobody else cares about. -
Dieg0M Member Posts: 861What did you figure out? Did it have to do with the load-balancing algorithm of WRR?Follow my CCDE journey at www.routingnull0.com