Chapter XX. Classification and Filtering
2.4.
Removing Filter Rules
To remove a filter, run the following command with the corresponding filter rule index
[root@host~]# cxgbtool ethX filter <index> <delete|clear>
For more information on additional parameters, refer cxgbtool manual by running
Note
the
man cxgbtool
2.5.
Layer 3 Example
Here's an example on how to achieve L3 routing functionality:
102.1.1.1/24
102.1.1.2/24
102.1.1.3/24
•
Follow these steps on Node 1
i.
Configure IP address and enable the 3 interfaces:
[root@host~]# ifconfig eth0 102.1.1.1/24 up
[root@host~]# ifconfig eth0:2 102.1.1.2/24 up
[root@host~]# ifconfig eth0:3 102.1.1.3/24 up
[root@host~]# ifconfig eth0
eth0
Link encap:Ethernet
inet addr:102.1.1.1
inet6 addr: fe80::207:43ff:fe04:7d50/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST
RX packets:14372 errors:0 dropped:0 overruns:0 frame:0
Chelsio Unified Wire for Linux
command
T6/T5
eth0
102.1.1.250/24
eth0
Node 1
HWaddr 00:07:43:04:7D:50
Bcast:102.1.1.255
eth1
102.1.2.250/24
102.1.2.1/24
102.1.2.2/24
102.1.2.3/24
eth0
Node 2
Mask:255.255.255.0
MTU:1500
Metric:1
280
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers