User Manual
TRex 59 / 113
mtu 4000
ip address 11.11.11.11 255.255.255.0
ip policy route-map p1_to_p2
ip nat outside
v
3
load-interval 30
ip nat pool my 200.0.0.0 200.0.0.255 netmask 255.255.255.0
v
4
ip nat inside source list 7 pool my overload
access-list 7 permit 16.0.0.0 0.0.0.255
v
5
ip nat inside source list 8 pool my overload
v
6
access-list 8 permit 17.0.0.0 0.0.0.255
v
1
Must be connected to TRex Client port (router inside port)
v
2
NAT inside
v
3
NAT outside
v
4
Pool of outside address with overload
v
5
Match TRex YAML client range
v
6
In case of dual port TRex
Limitations:
1. The IPv6-IPv6 NAT feature does not exist on routers, so this feature can work only with IPv4.
2. Does not support NAT64.
3. Bundling/plugin is not fully supported. Consequently, sfr_delay_10.yaml does not work. Use sfr_delay_10_no_bundling.yaml
instead.
Note
• --learn-verify is a TRex debug mechanism for testing the TRex learn mechanism.
• Need to run it when DUT is configured without NAT. It will verify that the inside_ip==outside_ip and inside_port==outside_port.
5.7 Flow order/latency verification
In normal mode (without the feature enabled), received traffic is not checked by software. Hardware (Intel NIC) testing for
dropped packets occurs at the end of the test. The only exception is the Latency/Jitter packets. This is one reason that with TRex,
you cannot check features that terminate traffic (for example TCP Proxy).
To enable this feature, add --rx-check <sample> to the command line options, where <sample> is the sample rate. The
number of flows that will be sent to the software for verification is (1/(sample_rate). For 40Gb/sec traffic you can use a sample
rate of 1/128. Watch for Rx CPU% utilization.
Note
This feature changes the TTL of the sampled flows to 255 and expects to receive packets with TTL 254 or 255 (one routing
hop). If you have more than one hop in your setup, use --hops to change it to a higher value. More than one hop is possible
if there are number of routers betwean TRex client side and TRex server side.










