Node:FreeBSD Setup, Next:, Previous:Capture Host, Up:System Admin Guide



FreeBSD Modifications and Configuration

The directory SCNM2/bond/kernel.patch/ contains two patches, one for Berkeley Packet Filter (/sys/net/bpf.*) and one for the Syskonnect driver (/sys/pci/if_sk*).

To install these patches, do the following:

     cd SCNM2/bond/kernel.patch
     ./patch-kernel.sh
     reboot
     

For more information see: http://www-itg.lbl.gov/Net-Mon/FreeBSD_mods.html

When configuring a new SCNM host or moving a SCNM host to a new location, the /etc/rc.conf file needs to be modified. The following fields in /etc/rc.conf and related files must be changed:

     ### Network routing options: ###
     defaultrouter="DEFAULT_ROUTER_IP"
     
     ### Basic network and firewall/security options: ###
     hostname="hostname.domain"
     ifconfig_bge0="inet IP/NETMASK"	# this interface may vary
     
     firewall_enable="YES"
     firewall_type="/etc/ipfwrules"	# change this file
     
     ...
     ### Network Time Services options: ###
     ntpdate_enable="YES"
     ntpdate_flags="-sb NTP_SERVER_1,MORE_NTP_SERVER_ARE_SEPARATED_BY,,,"
     
     # 1000 ms is for average packet size around 390-500 bytes.
     # For capturing small packets, reduce the interrupt time (minimum 350)
     # For capturing large packets, increase it (maxmimum 3000)
     sk_interrupt_mod="1000"