SUMMARY:Packet Forwarding

From: Sun Network mail receiver (sn@sparcky.ca.boeing.com)
Date: Thu Oct 24 1991 - 10:52:14 CDT


 In SunOS 4.1.1:
There is a variable called ip_forwarding residing in /usr/kvm/sys/netinet/in_proto.c. This variable is defined by
IPFORWARDING definition.

This variable has 3 settings:
/*
 * ip_forwarding controls whether or not to forward packets:
 * ip_forwarding == -1 -- never forward; never change this value.
 * ip_forwarding == 0 -- don't forward; set this value to 1 when two
 * interfaces are up.
 * ip_forwarding == 1 -- always forward.
 */
 (comments from in_proto.c)
 
 0 is the default.
 
 I changed the value to -1 and rebuilt the kernel.
 It worked........ and there was much rejoicing.
 
 Thanks for all the input!
 
 ps: Some responses advised setting ip_forwarding to 0.
     Was this the case in older rev's of SunOS ?
     
 Ron Barchi
-----------------------------------
INET : ron@sparcky.ca.boeing.com
UUNET: ...!uunet!bcstec!sparcky!ron
-----------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:17 CDT