Broadcom Confidential
5880X-PS225-UG101
27
PS225
User Guide
Quick Start Guide
b. On the PS225 console, run the following commands:
[lab@localhost ~]
$ sudo depmod -a # apply only at the very first boot
[lab@localhost ~]
$ sudo modprobe bnxt_en.
11. On the PS225, edit
/etc/sysconfig/network-scripts/ifcfg-enP8p1s0f0np0
and add the following lines:
DEVICE= enP8p1s0f0np0
GATEWAY=192.168.1.20
IPADDR=192.168.1.10
NETMASK=255.255.255.0
DNS1=8.8.8.8
[lab@localhost ~]
$ sudo ifup enP8p1s0f0np0
[lab@localhost ~]
$ sudo ip addr show
a. On the host, insmod to
bnxt_en.ko
module using the following commands (see the PS225 Quick Start Guide for
information on building this module on a x86 host):
sudo insmod ~/temp/bnxt_en-1.8.29/bnxt_en.ko
sudo ifconfig enp8s0f0 192.168.1.20 up ; ping 192.168.1.10
b. The ping to the PS225 board should be successful. SSH and SCP between the host and the PS225 with the following
command:
# ssh [email protected]
12. All the PS225s must be able to access the Internet so that the
yum install
command can be used to retrieve the
software from the Internet.
NOTE:
If the PS225’s SFP28 port is connected to the Internet (for example, via a switch and DHCP server), there is no
need for the host to forward internet traffic. Skip the following steps.
The results of ifconfig on the host are as follows:
NOTE:
Eno2 is the regular Ethernet interface that the host uses to access the Internet while enp8s0f0 is the first PF
towards the PS225 card. On different systems these items could be different. Adjust these items based on your
setup.
byang@byang-PowerEdge-2950:
~/temp/bnxt_en-1.8.29$ ifconfig
eno2 Link encap:Ethernet HWaddr 00:22:19:91:7c:e4
inet addr:10.67.93.199 Bcast:10.67.93.255 Mask:255.255.254.0
inet6 addr: fe80::116e:caa:13f3:1dbf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23392 errors:0 dropped:0 overruns:0 frame:0
TX packets:16471 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2509414 (2.5 MB) TX bytes:2926607 (2.9 MB)
enp8s0f0 Link encap:Ethernet HWaddr 00:10:18:ad:05:08
inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::210:18ff:fead:508/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1661 errors:0 dropped:0 overruns:0 frame:0
TX packets:344 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:481235 (481.2 KB) TX bytes:32437 (32.4 KB)
Broadcom
Confidential
Содержание Stingray PS225
Страница 31: ...B r o a d c o m C o n f i d e n t i a l ...