Thank you Nalin,

I had two entries of net.ipv4.ip_forward. Removing one of them solved
the promlem. One was placed there by myself and and one by
initscripts. Perhaps netcfg should be able to parse two entries and
give out a warning if duplicates are found.

cat /etc/sysctl.conf:
# Disables packet forwarding
net.ipv4.ip_forward = 0
# Enables source route verification
net.ipv4.conf.all.rp_filter = 1
# Disables automatic defragmentation (needed for masquerading, LVS)
net.ipv4.ip_always_defrag = 0
# added by initscripts install on Sun Jan  2 11:39:19 CET 2000
net.ipv4.ip_forward = 1

A few questions on kernel-2.4: 
1. How to set up equivalent rules as for ipchains in v2.2.x?
   ipchains -P forward DENY, etc
2. What about modules for masquerading:
   /sbin/modprobe ip_masq_ftp, etc
3. ppp: These are described in sufficiently
/usr/src/linux-2.4.0/Documentation/Changes. Depending on which kernel
I use can /etc/modules.conf be made sensitive to kernel version, eg?
#if kernel== 2.4.x
alias tty-ldisc-3    ppp_async
alias tty-ldisc-14   ppp_synctty
alias char-major-108 ppp_generic
alias /dev/ppp       ppp_generic
#endif
Other solutions? Two conf.modules files, etc
4. How do I know if devfs is enabled. If not how to enable it?

Nalin Dahyabhai writes:
 > On Tue, Aug 29, 2000 at 11:24:28PM +0200, Svante Signell wrote:
 > >   File "/usr/lib/rhs/netcfg/netcfg.py", line 1851, in __init__
 > >     self.ipv4forward.set(string.atoi(self.G.Sysctl['net.ipv4.ip_forward']))
 > > ValueError: invalid literal for atoi(): 0
 > > 1
 > 
 > What are the contents of your /etc/sysctl.conf file (specifically, the
 > net.ipv4.ip_forward line)?
 > 
 > Nalin
 > 
 > 
 > 
 > _______________________________________________
 > Redhat-devel-list mailing list
 > [EMAIL PROTECTED]
 > https://listman.redhat.com/mailman/listinfo/redhat-devel-list



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to