Nat Filtering - Chelsio Communications Terminator Series Installation And User Manual

Unified wire for linux
Hide thumbs Also See for Terminator Series:
Table of Contents

Advertisement

Chapter XX. Classification and Filtering

NAT Filtering

T5/T6 adapters support offloading of stateless/static NAT functionality i.e. translating source/
destination L3 IP addresses, and source/destination L4 port numbers. This feature is supported
with both LE-TCAM and Hash filters.
This feature is only supported with filter action switch.
Note
Syntax:
[root@host~]# cxgbtool ethX filter <index> action switch fip <source_ip> lip
<destination_ip> fport <source_port> lport <destination_port> nat <mode>
nat_fip <new_source_ip> nat_lip <new_destination_ip> nat_fport
<new_source_port> nat_lport <new_destination_port>
Where,
ethX
source_ip/port
destination_ip/port
new_source_ip/port
new_destination_ip/port
mode
Examples:
Hash filter to translate all four tuples, viz. source IP, destination IP, source port and destination
port to new values:
Hash filter to translate source IP and source port to new values:
LE-TCAM filter to translate destination IP and destination port to new values:
Chelsio Unified Wire for Linux
: Chelsio interface.
: Source IP/port of incoming packet.
: Destination IP/port of incoming packet.
: Source IP/port to be translated to.
: Destination IP/port to be translated to.
: Combination of IP/port to be translated. all will
translate all 4-tuple fields. To see other modes, refer
cxgbtool manual page.
296

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Terminator Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Terminator 6

Table of Contents