4. 커널 컴파일 옵션

커널 2.4.14를 기준으로 커널 컴파일 옵션에 대해 알아본다. 여기에서 언급하는 옵션은 네트웍 트래픽 분산 및 IP Masquerading에 필요한 부분들이다. 괄호 부분에 아무런 표시가 없이 비어 있는 옵션은 반드시 필요한 것은 아니며 해도 좋고 안해도 그만인 옵션이다.
 General setup  --->
     [*] Networking support

 Networking options  --->
     <*> Packet socket
     [*]   Packet socket: mmapped IO
     [*] Kernel/User netlink socket
     [*]   Routing messages
     [*] Network packet filtering (replaces ipchains)
     [ ]   Network packet filtering debugging
     [*] Socket Filtering
     <*> Unix domain sockets
     [*] TCP/IP networking
     [*]   IP: advanced router
     [*]     IP: policy routing
     [*]       IP: use netfilter MARK value as routing key
     [*]       IP: fast network address translation
     [ ]     IP: equal cost multipath
     [*]     IP: use TOS value as routing key
     [*]     IP: verbose route monitoring
     [*]     IP: large routing tables

       IP: Netfilter Configuration  --->
           <M> Connection tracking (required for masq/NAT)
           <M>   FTP protocol support
           <M>   IRC protocol support
           <M> Userspace queueing via NETLINK (EXPERIMENTAL)
           <M> IP tables support (required for filtering/masq/NAT)
           <M>   limit match support
           <M>   MAC address match support
           <M>   netfilter MARK match support
           <M>   Multiple port match support
           <M>   TOS match support
           <M>   LENGTH match support
           <M>   TTL match support
           <M>   tcpmss match support
           <M>   Connection state match support
           <M>   Unclean match support (EXPERIMENTAL)
           <M>   Owner match support
           <M>   Packet filtering
           <M>     REJECT target support
           <M>   Full NAT
           <M>     MASQUERADE target support
           <M>   Packet mangling
           <M>     TOS target support
           <M>     MARK target support
           <M>   LOG target support
           <M>   TCPMSS target support
Ethernet card, PPP 등에 대한 커널 옵션 설정도 잊지 말아야 할 것이다.