I'm trying to configure TRex with client clustering, but I still receive packets with the same MAC and IP (the first one from traffic config file - 00:08:de:ad:00:01 / 16.10.10.1).
Here is TRex config file - trex_cfg_l3_ip4_p2p.yaml :
- port_limit: 2
version: 2
interfaces: ['81:00.0', '81:00.1' ]
port_info:
- ip6: 6.0.0.100
default_gw6: 6.0.0.1
src_mac: a0:36:9f:bc:eb:08
dest_mac: a0:36:9f:bc:eb:5c
- ip6: 7.0.0.100
default_gw6: 7.0.0.1
src_mac: a0:36:9f:bc:eb:0a
dest_mac: a0:36:9f:bc:eb:5e
platform:
master_thread_id: 8
latency_thread_id: 9
dual_if:
- socket: 1
threads: [10,11,12,13,14,15]
Traffic profile - ipv4_p2p.yaml :
- duration : 0.1
generator :
distribution : "seq"
clients_start : "16.10.10.1"
clients_end : "16.10.10.255"
servers_start : "48.10.10.1"
servers_end : "48.10.11.255"
clients_per_gb : 201
min_clients : 101
dual_port_mask : "1.0.0.0"
tcp_aging : 0
udp_aging : 0
mac : [0x1,0x1,0x1,0x1,0x1,0x01]
cap_ipg : true
cap_info :
- name: avl/delay_10_http_get_0.pcap
cps : 1.0
ipg : 10000
rtt : 10000
w : 1
And client cluster configuration - p2p_client_cfg.yaml :
vlan: false
groups:
- ip_start : 16.10.10.1
ip_end : 16.10.10.200
initiator :
src_mac : "00:08:de:ad:00:01"
responder :
src_mac : "00:11:22:33:00:01"
count : 4
- ip_start : 16.10.10.201
ip_end : 16.10.10.255
initiator :
src_mac : "00:08:de:ad:00:02"
responder:
src_mac : "00:44:55:66:00:02"
count : 3
TRex command :
./t-rex-64 --cfg ~/trex_cfg_l3_ip4_p2p.yaml -f ~/ipv4_p2p.yaml -c 1 -m 1 -d 1 --client_cfg ~/p2p_client_cfg.yaml
But also simulator's output contains only packets from first client (00:08:de:ad:00:01 / 16.10.10.1)
./bp-sim-64 -f ~/ipv4_p2p.yaml -o p2p_v4.pcap --client_cfg ~/p2p_client_cfg.yaml
So I'm something doing wrong. What?
Thank you
Pavel
--
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/a5696924-8226-4cdc-a856-0252bf51594d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/6713ad59-d6d9-4ed7-902a-7538a058c570%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.