3-6
AOC-STGN-i1S/-i2S Add-on Card User's Guide
5. To assign an IP address to the interface, enter the following:
ifconfig ixgb<interface_num> <IP_address>
6.
Verify that the interface works. Enter the following, where <IP_address> is the
IP address for another machine on the same subnet as the interface that is
being tested:
ping <IP_address>
7. If you want the driver to load automatically when the system is booted:
cd ixgb-x.x.x/src
make load
cp if_ixgb.ko /modules
Edit /boot/loader.conf, and add the following line:
if_ixgb_load="YES"
or
compile the driver into the kernel (see item 8). Edit /etc/rc.conf, and create the
appropriate ifconfig_ixgb<interface_num> entry:
ifconfig_ixgb<interface_num>="<ifconfig_settings>"
Example usage:
ifconfig_ixgb0="inet 192.168.10.1 netmask 255.255.255.0"
8. If you want to compile the driver into the kernel, enter:
cd ixgb-x.x.x/src
mkdir /usr/src/sys/dev/ixgb
cp if_ixgb* /usr/src/sys/dev/ixgb
cp ixgb* /usr/src/sys/dev/ixgb
cp Makefile.kernel /usr/src/sys/modules/ixgb/Makefile
Edit the /usr/src/sys/conf/files.i386 file, and add the following line:
dev/ixgb/ixgb_hw.c optional ixgb
dev/ixgb/ixgb_ee.c optional ixgb
dev/ixgb/if_ixgb.c optional ixgb