The HyperNews Linux KHG Discussion Pages

Feedback: Linux system as router

Forum: Tour of the Linux kernel source
Re: Question How to compile a source code for a router ? (wai leong)
Keywords: router
Date: Mon, 12 Jan 1998 05:31:39 GMT
From: Srikant Sharma (Chiku) <srikants@wipinfo.soft.net>

Well,
   Changing linux machine into a router is very easy 
   Compile the Linux kernel with option CONFIG_IP_ROUTER

    I guess when you run make config ...there is an option
    on the lines ..
      Do you want to allow IP_FORWARDING between the n/w 
      say Yes to this .....
    All the settings can be done in TCP/IP section of 
    ' make config'

    After that setting proper attributes for Net interfaces as 
    Subnet Mask ... default gateway  (using ifconfig etc.)
    you can configure it to be a router.
Srikant