User Manual

TRex 37 / 113
servers_start : "48.0.0.1"
servers_end : "48.0.0.255"
dual_port_mask : "1.0.0.0"
v
1
tcp_aging : 0
udp_aging : 0
v
1
Offset to add per port pair. The reason for the “dual_port_mask” is to make static route configuration per port possible.
With this offset, different ports have different prefixes.
For example, with four ports, TRex will produce the following ip ranges:
port pair-0 (0,1) --> C (16.0.0.1-16.0.0.128 ) <-> S( 48.0.0.1 - 48.0.0.128)
port pair-1 (2,3) --> C (17.0.0.129-17.0.0.255 ) <-> S( 49.0.0.129 - 49.0.0.255) + mask -
("1.0.0.0")
Number of clients : 255
Number of servers : 255
The offset defined by “dual_port_mask” (1.0.0.0) is added for each port pair, but the total number of clients/servers will remain
constant (255), and will not depend on the amount of ports.
TCP/UDP aging is the time it takes to return the socket to the pool. It is required when the number of clients is very small and
the template defines a very long duration.
If “dual-port_mask” was set to 0.0.0.0, both port pairs would have uses the same ip range. For example, with four ports, we
would have get the following ip range is :
port pair-0 (0,1) --> C (16.0.0.1-16.0.0.128 ) <-> S( 48.0.0.1 - 48.0.0.128)
port pair-1 (2,3) --> C (16.0.0.129-16.0.0.255 ) <-> S( 48.0.0.129 - 48.0.0.255)
Router configuration for this mode:
PBR is not necessary. The following configuration is sufficient.
interface TenGigabitEthernet1/0/0
v
1
mac-address 0000.0001.0000
mtu 4000
ip address 11.11.11.11 255.255.255.0
!
interface TenGigabitEthernet1/1/0
v
2
mac-address 0000.0001.0000
mtu 4000
ip address 22.11.11.11 255.255.255.0
!
interface TenGigabitEthernet1/2/0
v
3
mac-address 0000.0001.0000
mtu 4000
ip address 33.11.11.11 255.255.255.0
!
interface TenGigabitEthernet1/3/0
v
4
mac-address 0000.0001.0000
mtu 4000
ip address 44.11.11.11 255.255.255.0
load-interval 30
ip route 16.0.0.0 255.0.0.0 22.11.11.12
ip route 48.0.0.0 255.0.0.0 11.11.11.12
ip route 17.0.0.0 255.0.0.0 44.11.11.12
ip route 49.0.0.0 255.0.0.0 33.11.11.12