On 21-Apr-98 Bangert, Michael P wrote: > I have compiled kernel version 2.0.33 to include ip-forwarding, but I > have read that you have to do something else to actually enable this. > (I finally got the compile to work on a Cyrix processor - another story >:/ ) > > 2 things I can't find enough info on: > > 1. What is the 'netcfg tool'? I am a new Linux user, and just can't > find info on this. > 2. I have read that /etc/rc.d/init.d will enable ip-forwarding, but I'm > not sure what to do in that script. > > What I am trying to do is get a ppp server working, and I don't think > proxyarp is doing its job right now. > > Thank you, > _________________ > Michael Bangert > [EMAIL PROTECTED] If you compile your kernel with IP Forwarding included, then to enable that feature you must cat a '1' into /proc/sys/net/ipv4/ip_forward. (The proc filesystem is actually a gateway into the kernel's configuration). In RedHat 5.0, the script /etc/rc.c/init.d/network will perform this cat for you when the system boots up (You'll see "Enabling IPv4 packet forwarding" at boot-up) IF you configure the system that way. There are two ways to tell RedHat to do this: run netcfg (the network tool in the control-panel in X) and check the "Network Packet Forwarding (IPv4)" button on the routing tab, OR edit /etc/sysconfig/network and add the line FORWARD_IPV4=yes The next time the network script runs (at boot-up or when switching run-levels), it will now enable IP Forwarding. Note: all the netcfg does when you check that button is to add that line, it just GUIfies the task for you. Cheers, --- Steve Borho <[EMAIL PROTECTED]> -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
