How do I generate traffic in a 1 point to multi-point topology? Basically, I need a way to pump traffic from 3 or 4 end points.
For a 1 point to 1 point (total of 2 end points), I use (ipv6, astf, tcp) something like (in the template python file):
:
:
c_glob_info.ipv6.src_msb ="2600:dead:dead:1111::"
c_glob_info.ipv6.dst_msb ="2600:feed:feed:1111::"
:
:
return ASTFProfile(:
:
default_c_glob_info=c_glob_info,
:
)
Question:
Suppose the links are A-B, A-C, A-D, A-E. The above conventions of src and dst don't apply...
unless I can think of it as muItiple point-to-point links. But then, I am not allowed to spawn
multiple trex instances even from different folders, since ZMQ process of second instance cannot access the same port A when it is being accessed by the first instance.
So there is multiple IP end ranges for one IP start range on the side of A.
<ip_rangeC> C
/
/
/
<ip_rangeA> A -------- B <ip_rangeB>
\
\
\
<ip_rangeD> D
Any workarounds/suggestions?
Any pointers to sections in the existing documentation itself?
--
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 post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/244f6f39-9f0a-46b6-b71f-9d7fd0f4d8f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for the quick response again.
No - B, C, D cannot, in my case, have different MSBs.
Can we 'still' use TRex to push in traffic from 4 end points?
Can you please elaborate on the 'multiple template' part - did you mean multiple .py files each with a src, dst - accessed by the same trex instance?
--
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 post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/eb2df07e-5272-4113-a9f5-85f42402fac6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1) The example astf/cc_http_simple_src_mac.yaml mentions of a way to specify /split range of ip addresses given in http_simple.py - But they are in the IPv4 world.
2) I need to use a IPv6 template, such as astf/param_ipv6.py. In which file will the 4 ranges of IP address msbs be specified?
http_simple.py uses a range (0-255 in 16.0.0.xxx)
ip_gen_c = ASTFIPGenDist(ip_range=["16.0.0.0", "16.0.0.255"], distribution="seq")
ip_gen_s = ASTFIPGenDist(ip_range=["48.0.0.0", "48.0.255.255"], distribution="seq")
which is split into sub ranges (0-127, 128-255) in its complimentary file cc_http_simple.py
- ip_start : 16.0.0.0
ip_end : 16.0.0.127
initiator :
vlan : 100
dst_mac : "00:00:00:02:00:00"
responder : # not USED !!!
vlan : 200
dst_mac : "00:00:00:01:00:00"
- ip_start : 16.0.0.128
ip_end : 16.0.0.255
initiator :
vlan : 101
dst_mac : "00:00:00:03:00:00"
responder : # not USED !!! learn by the server
vlan : 201
dst_mac : "01:00:00:00:02:01"
3) Above is how we split ipv4 range into 2 sub range of ipv4s.
4) The way we map ipv4 to ipv6 is using a template, when using just 2 endpoints, such as the one in param_ipv6.py, like this:
:
# ip generator
ip_gen_c = ASTFIPGenDist(ip_range=["16.0.0.0", "16.0.0.255"], distribution="seq")
ip_gen_s = ASTFIPGenDist(ip_range=["48.0.0.0", "48.0.255.255"], distribution="seq")
ip_gen = ASTFIPGen(glob=ASTFIPGenGlobal(ip_offset="1.0.0.0"),
dist_client=ip_gen_c,
dist_server=ip_gen_s)
:
c_glob_info.ipv6.src_msb ="2600:dead:dead:1111::"
c_glob_info.ipv6.dst_msb ="2600:feed:feed:1111::"
5) How do we "map" the 2 or 3 or 4 or 'n' sub-ranges in ipv4 to ipv6?
In other words, what would be my cc_param_ipv6.py look like??
In which file will I specify my 2 or 3 or 4 or 'n' IPv6 subnets/msbs ?
6) Not using vlans for now yet - so its 1 router per sfp port.
Thanks Hanoh.
--
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 post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/46ceca7d-3701-406c-a0d2-7ea70afb8faf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/2d8d3807-849b-4e7d-b63a-fbc9597b931e%40googlegroups.com.