Hi friends, recently I tried to setup a DSR mode LB via ilbadm in smartos, but 
I got some problems and need your help.

1.first I create a Vm with “allow_ip_spoof”: true
2.second I enable the lib service.svcadm enable ipv4-forwarding ilb
3.second I setup a server group, ilbadm create-servergroup -s 
servers=10.20.1.8:80,10.20.1.9:80 dnsgroup
4.then I create the rule,ilbadm create-rule -e -p -i vip=10.20.1.244,port=80 -m 
lbalg=rr,type=DSR,pmask=24 -o servergroup=dnsgroup dnsrule_rr
5.finally I create the vip, arp -s 10.20.1.244 d2:e3:53:d:3d:9e pub permanent

now the problem appeared, how can I create vip for backend servers?
I’ve tried create a alias for lo0
ipadm create-addr -t -T static -d -a 10.20.1.244/24 lo0/server0
but it doesn’t work.
also I can’t create alias for net0 because I did’t enable ip spoof in backend 
server(and it should be disabled).

I used tcpdump and I could see the packet from client server to vip, so the 
rule in lb should be right, but the backend server didn't response.
What can I do?


Thanks.


--------------------------------------------------------------------------------------------------------
Briphant, Ruochen Xu
[email protected]<mailto:[email protected]>






-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to