Solved

Unable to access Internet from LAN using Linux Gateway

Posted on 2003-10-30
4
268 Views
Last Modified: 2011-04-14
Hi,
We have win98 machines and Linux machine connected in a workgroup with  Linux RedHat 7.1 configured as gateway .
eth0- 10.168.168.7(local IP)
eth1 - 192.168.X.X (Public IP)
External gateway (192.168.0.X)
I can access the Internet from my Linux Machine ..however if i try to access it from other machines setting Linux m/c as gateway ..i cannot access the Internet.
Running Traceroute shows following behaviour.
1) On Linux :
In 1 hop it reaches 192.168.0.X
2) On Win machine:
1st hop ->  Linux machine
2nd hop -> Request Timed Out !!

Regards
Nishi.
0
Comment
Question by:nishi_k_79
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 9

Accepted Solution

by:
svenkarlsen earned 20 total points
ID: 9654242
You will need to enable the Linux box as a router, - try checking this out:

http://watson.chemical.missouri.edu/RoutingaPrivateIPNetwork.html
0
 
LVL 3

Expert Comment

by:Ravi Goru
ID: 9656753

hii nishi ..


just try these two lines as root !!

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

ipchains -A forward 192.168.0.0/255.255.255.0 -j masq

and then try browsing for other machines :))

 
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seveā€¦

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question