Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Routing Question 1

Status
Not open for further replies.
Apr 24, 2003
164
CA
I have a Linux box running Red Hat 9... I have a PPPOE connection setup and have four static IP's to play with... What I am trying to accomplish is getting my Linux box to route traffic from ETH1 to PPP0.

I can ping ETH1 from the internet but I cannot ping anything from ETH1...

Could anyone tell me what my route statement needs to say.


Thanks!
 

Actually, it doesn't matter what tool you use if the upstream (towards the internet) devices don't know to use your eth1 as the gateway for the ppp ip addresses. What are the subnets and masks?
 
Hi I have tried the jay-firewall... This is great but I need to just act as a Router... I dont want to do NAT at all. The outside world should be able to ping the boxes on the other side of the gateway box.

Any Ideas??
 

Make sure ip-forwarding is enabled. I assume since you ignored my last post that your upstream routing is correct.

cat /proc/sys/net/ipv4/ip_forward

It should say '1'. If it doesn't:

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

 
one more thing.. Where do I set that to default to "1" on boot?
 
Look in /etc/sysctl.conf

You will see a line which reads:

net.ipv4.ip_forward = 0

Change it to read:

net.ipv4.ip_forward = 1





Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top