kernel forwarding

Kim Holburn kim.holburn at
Tue Apr 16 13:31:59 EST 2002

Can anyone tell me the difference between what these kernel variables do?  

Does the first one have to be set before the second will work or are they independent?

/proc/sys/net/ipv4/* Variables:

  ip_forward - BOOLEAN
        0 - disabled (default)
        not 0 - enabled 

        Forward Packets between interfaces.

        This variable is special, its change resets all configuration
        parameters to their default state (RFC1122 for hosts, RFC1812
        for routers)

/proc/sys/net/ipv4/conf/all/* is special and changes the settings for all interfaces.
        Change special settings per interface.
  forwarding - BOOLEAN
        Enable IP forwarding on this interface.


Kim Holburn  Network Consultant  Ph: +61 2 61258620 M: +61 0417820641
Email: kim.holburn at - PGP Public Key on request

Life is complex - It has real and imaginary parts.
     Andrea Leistra (rec.arts.sf.written.Robert-jordan)

More information about the linux mailing list