User Manual

TRex 44 / 113
arp 11.77.11.12 0000.0001.0000 ARPA
v
6
arp 22.77.11.12 0000.0001.0000 ARPA
route-map vlan_100_p1_to_p2 permit 10
v
7
set ip next-hop 22.77.11.12
!
route-map vlan_100_p2_to_p1 permit 10
set ip next-hop 11.77.11.12
!
route-map vlan_200_p1_to_p2 permit 10
set ip next-hop 22.88.11.12
!
route-map vlan_200_p2_to_p1 permit 10
set ip next-hop 11.88.11.12
!
v
1
Main interface must not have IP address.
v
2
Enable VLAN1
v
3
PBR configuration
v
4
Enable VLAN2
v
5
PBR configuration
v
6
TRex destination port MAC address
v
7
PBR configuration rules
5.3 Static source MAC address setting
With this feature, TRex replaces the source MAC address with the client IP address.
Note: This feature was requested by the Cisco ISG group.
YAML:
mac_override_by_ip : true
Example
- duration : 0.1
..
mac_override_by_ip : true
v
1
v
1
In this case, the client side MAC address looks like this: SRC_MAC = IPV4(IP) + 00:00