Solved

Unable to access Internet from LAN using Linux Gateway

Posted on 2003-10-30
4
258 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
4 Comments
 
LVL 9

Accepted Solution

by:
svenkarlsen earned 20 total points
Comment Utility
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
Comment Utility

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now