Chelsio Communications Chelsio T5 Guia do Utilizador Página 242

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 241
Chapter XVIII. Classification and Filtering
Chelsio T5/T4 Unified Wire For Linux Page 242
Follow these steps on machine with T5 adapter
i. Configure IP address and enable the 2 interfaces:
[root@host]# ifconfig eth0 102.1.1.250/24 up
[root@host]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:07:43:04:96:40
inet addr:102.1.1.250 Bcast:102.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::207:43ff:fe04:9640/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:114 errors:0 dropped:0 overruns:0 frame:0
TX packets:535 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11880 (11.6 KiB) TX bytes:61729 (60.2 KiB)
Interrupt:16
[root@host]# ifconfig eth1 102.1.2.250/24 up
[root@host]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:07:43:04:96:48
inet addr:102.1.2.250 Bcast:102.1.2.255 Mask:255.255.255.0
inet6 addr: fe80::7:4300:104:9648/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:433 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3181 (3.1 KiB) TX bytes:49134 (47.9 KiB)
Interrupt:16
ii. Create filter rule to send packets for 102.1.2.0/24 network out via eth1 interface:
[root@host]# cxgbtool eth0 filter 0 lip 102.1.2.0/24 hitcnts 1 action switch
eport 1 smac 00:07:43:04:96:48 dmac 00:07:43:12:D4:88
Where, smac is the MAC address of eth1 interface on T5 adapter machine and dmac is the MAC
address of eth0 interface on Node 2.
Vista de página 241
1 2 ... 237 238 239 240 241 242 243 244 245 246 247 ... 459 460

Comentários a estes Manuais

Sem comentários