# cd /usr/src/sys/i386/conf/
# cp GENERIC NS
# ee NS
แก้ไข
ident GENERIC
เป็็น
ident NS
เพิ่ม
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=120
options IPDIVERT
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
options ALTQ_NOPCC
options NETGRAPH
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_ECHO
options NETGRAPH_CISCO
options NETGRAPH_FRAME_RELAY
options NETGRAPH_HOLE
options NETGRAPH_IFACE
options NETGRAPH_KSOCKET
options NETGRAPH_LMI
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPPOE
options NETGRAPH_PPTPGRE
options NETGRAPH_RFC1490
options NETGRAPH_SOCKET
options NETGRAPH_TEE
options NETGRAPH_TTY
options NETGRAPH_UI
options NETGRAPH_VJC
options BRIDGE
#options NMBCLUSTERS
options HZ=1000
options DUMMYNET
options QUOTA
device pf
device pflog
device pfsync
#config NS
#cd ../compile/NS
#make cleandepend && make depend && make all install
รอ...
#ee /etc/rc.conf
# ipfw
firewall_enable="YES"
firewall_type="OPEN"
firewall_quiet="YES"
# nat
natd_enable="YES"
natd_interface="sis0"
natd_flags="-s -u -m"
# pf
pf_enable="YES"
pf_rules="/etc/pf.conf"
pf_flags=""
pflog_enable="YES"
pflog_logfile="/var/log/pflog"
pflog_flags=""
#reboot
ผ่านมั้ยครับ ผมติดตรงที่ option bridge unknow