Listing 1. Startup Sequence for Various Networking Components

# depmod -a configures dependancies for modules
depmod -a

# modprobe loads the module specified
/sbin/modprobe eep10pci

# ifconfig sets up the interfaces
ifconfig eth0
ifconfig eth1 192.168.1.1

# route configures packet routing
route add
route add default gw
route add -net 192.168.1.0 eth1
route add 192.168.1.2 eth1
route add 192.168.1.3 eth1

# ipfwadm sets up firewalling/forwarding rules
ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0