> What would be the procedure, for doing this with dualstack streams, dynamically using ARP and ND? (expecting different MAC DST per IP version)
>
> Can I do similar, to above example. Using ND after adding the IPv4 streams to port, to resolve IPv6 DST MAC and then append the IPv6 stream to port?
> or what would be the recommended procedure?
...you could use service-arp and service-IPv6ND to resolve dst mac addresses and then build the stream packets using scapy (including Ethernet() information). I think examples for both services are in the stateless user-manual (https://trex-tgn.cisco.com/trex/doc/trex_stateless.html#_services).
best regards,
Andreas
Thanks,
Andreas
just got a short glimps at the code - I think scapy results are returned using lower-case IPv6 addresses and thus the filtering of incoming NA messages fails in the IPv6ND plugin. Workaround would be to lower-case all target addresses when being called (one-liner). Since I'm still on holliday, it'll take some time to propose a patch to the TRex team. But once identified it's easy to implement a workaround :)
Thanks,
Andreas
[root@trex-1-vm-nfvi-1190 stl]# python
Python 2.7.5 (default, Aug 4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from stl_path import *
>>> from trex_stl_lib.api import *
>>> from trex_stl_lib.services.trex_stl_service_IPv6ND import STLServiceIPv6ND
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named services.trex_stl_service_IPv6ND
>>>
--
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/9201197a-8579-4ea9-84a4-83b44b018629%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Please note that there's a problem in v2.49 regarding ARP and ND services. This happened during API consolidation. I already have the fix here (just a few minor changes), but didn't issue the pull request, since I wanted to add some unit tests for the two services. I might split the two things and do the pull request for the bugfix in the next days and add the tests later...
Best regards,
Andreas