HAProxy - Multiple sites, whitelist IP

How to whitelist IP addresses so that specific IP addresses go to one server and the rest to another server?

balance roundrobin
cookie SERVER insert indirect nocache
option forwardfor
option httpclose
default-server inter 1s
server test1 10.10.100.10:443 cookie test11 weight 10 maxconn 300 check ssl verify none id 1
server test2 10.10.100.11:443 cookie test22 weight 10 maxconn 300 check ssl verify none id 2
acl test1 src 10.10.100.0/24
acl test2 src 0.0.0.0/0
http-request allow if test1
http-request deny if test2