Hello,
I want to achieve predictible random in distribution between client & server IP ranges but option distribution with "rand" in ASTFIPGenDist doesn't help - I see same traffic as with "seq" with 1 to 1 distribution between client & server IP.
ip_gen_c = ASTFIPGenDist(ip_range=["172.16.0.2", "172.16.3.234"], distribution="rand")
ip_gen_s = ASTFIPGenDist(ip_range=["8.1.0.109", "8.1.3.93"], distribution="rand")
ip_gen = ASTFIPGen(glob=ASTFIPGenGlobal(ip_offset="1.0.0.0"), dist_client=ip_gen_c, dist_server=ip_gen_s)
I achieved what I need when changed only last octet of server to value 81,
ip_gen_s = ASTFIPGenDist(ip_range=["8.1.0.109", "8.1.3.81"], distribution="rand")
but
1 – with value 85 I achieve the same 1 to 1 distribution
2 – with value 94 I achieve pseudo-random distribution
Is this some type of a bug? May I predict value of last octet to always achieve random distribution or in another way to get it?
ASTF @ v2.89
Thanks.
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/6728ed38-ee96-4e49-bd78-ffdd5f143e82n%40googlegroups.com.