0
Using this lab setup, I will practice HTTP Host based group selection, which is a
server pool in Alteon's terminology.
Fist I need to add two hosts to my /etc/hosts files, which is c:windowssystem32driversetchosts :
- a.dans-net.com
- b.dans-net.com
Both will point to 10.136.85.11.
10.136.85.11 a.dans-net.com
10.136.85.11 b.dans-net.com
I want a.dans-net.com to go to SRV1 and b.dan-net.com to go to SRV2
I need to add two groups with one host only. Notice that AFAIK since version 29 Alteon allows to use strings as rip, groups and virt
/c/slb/group a_dans
ipver v4
add 1
/c/slb/group b_dans
ipver v4
add 2
Next step is to configure the Content Class, which means to configure matching classes which will be later used by Content Rules
/c/slb/layer7/slb/cntclss a_dans http
/c/slb/layer7/slb/cntclss a_dans http/hostname a_dans
hostname "a.dans-net.com"
match equal
/c/slb/layer7/slb/cntclss b_dans http
/c/slb/layer7/slb/cntclss b_dans http/hostname b_dans
hostname "b.dans"