LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-17-2001, 09:59 PM   #1
Sathe
Member
 
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76

Rep: Reputation: 15
ip_forward


got a problem. everytime my linux server reboots or i do a "service network restart" after i've made some changes, ip_forward goes back to "0" when i need to stay it as "1" for my workstation to get an internet connection. anyone know how to keep it from changing back to a "0" every time? i'm using linux redhat 7.1
 
Old 10-18-2001, 09:00 AM   #2
dizzydench
LQ Newbie
 
Registered: Oct 2001
Posts: 7

Rep: Reputation: 0
I am having the same problem... (I know, not much help)... But what I am looking to do is basically set it everytime the PC boots... I'll let you know if I get an answer on my thread ("dhcpd, smbd, nmbd, wdpd")

-Dizzy
 
Old 10-19-2001, 12:53 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
put this line in /etc/rc.d/rc.local


echo 1 > /proc/sys/net/ipv4/ip_forward
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracking changes to the ip_forward variable gauge73 Linux - Networking 1 08-21-2005 02:51 PM
lost rc.ip_forward hardknox Slackware 5 03-24-2005 04:32 PM
ip_forward mikz Slackware 2 02-01-2005 04:49 AM
how to set ip_forward on at startup? enjoyzj Linux - Networking 4 04-16-2004 10:56 AM
IP_Forward Neur0tek Linux - Newbie 9 05-09-2002 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration