![Chelsio Communications Chelsio T4 Installation And User Manual Download Page 45](http://html1.mh-extra.com/html/chelsio-communications/chelsio-t4/chelsio-t4_installation-and-user-manual_2595805045.webp)
Chapter I. Chelsio Unified Wire
Chelsio T5/T4 Unified Wire for Linux
Page 45
5.2.
Configuring network-scripts
A typical interface network-script (e.g. eth0) on RHEL 6.X looks like the following:
# file: /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR=00:30:48:32:6A:AA
ONBOOT="yes"
NM_CONTROLLED="no"
BOOTPROTO="static"
IPADDR=10.192.167.111
NETMASK=255.255.240.0
In the case of DHCP addressing the last two lines should be removed and
BOOTPROTO="static"
should be changed to
BOOTPROTO="dhcp"
The
ifcfg-ethX
files have to be created manually. They are required for bringing the
interfaces up and down and attribute the desired IP addresses.
5.3.
Creating network-scripts
To spot the new interfaces, make sure the driver is unloaded first. To that point
ifconfig -a |
grep HWaddr
should display all non-chelsio interfaces whose drivers are loaded, whether the
interfaces are up or not.
[root@host~]# ifconfig -a | grep HWaddr
eth0 Link encap:Ethernet HWaddr 00:30:48:32:6A:AA
Then load the driver using the
modprobe cxgb4
command (for the moment it does not make
any difference whether we are using NIC-only or the TOE-enabling driver). The output of
ifconfig should display the T5/T4 interfaces as:
[root@host~]# ifconfig -a | grep HWaddr
eth0 Link encap:Ethernet HWaddr 00:30:48:32:6A:AA
eth1 Link encap:Ethernet HWaddr 00:07:43:04:6B:E9
eth2 Link encap:Ethernet HWaddr 00:07:43:04:6B:F1
On earlier versions of RHEL the NETMASK attribute is named IPMASK. Make sure
you are using the right attribute name.
Note
Summary of Contents for Chelsio T4
Page 1: ......
Page 49: ...Chapter II Network NIC TOE Chelsio T5 T4 Unified Wire for Linux Page 49 II Network NIC TOE...
Page 67: ...Chapter IV iWARP RDMA Chelsio T5 T4 Unified Wire for Linux Page 67 IV iWARP RDMA...
Page 88: ...Chapter VI WD UDP Chelsio T5 T4 Unified Wire for Linux Page 88 VI WD UDP...
Page 180: ...Chapter XI FCoE Full Offload Initiator Chelsio T5 T4 Unified Wire for Linux Page 180...
Page 212: ...Chapter XVI Bypass Driver Chelsio T5 T4 Unified Wire for Linux Page 212 XVI Bypass Driver...
Page 248: ...XIX Traffic Management Chelsio T5 T4 Unified Wire for Linux Page 248 XIX Traffic Management...
Page 382: ...Chapter XXI Unified Boot Chelsio T5 T4 Unified Wire for Linux Page 382 XXI Unified Boot...
Page 487: ...Chapter XXI Unified Boot Chelsio T5 T4 Unified Wire for Linux Page 487 iii Click Add a disk...
Page 506: ...Chapter XXIII Appendix Chelsio T5 T4 Unified Wire for Linux Page 506 XXIII Appendix A...