LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 10: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, 10: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, 01:53 AM   #3
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

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


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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:51 PM
lost rc.ip_forward hardknox Slackware 5 03-24-2005 05:32 PM
ip_forward mikz Slackware 2 02-01-2005 05:49 AM
how to set ip_forward on at startup? enjoyzj Linux - Networking 4 04-16-2004 11:56 AM
IP_Forward Neur0tek Linux - Newbie 9 05-09-2002 10:44 AM


All times are GMT -5. The time now is 01:49 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration