Solved

route through a PPP Link.

Posted on 1998-04-07
2
213 Views
Last Modified: 2010-03-18
how to I set my Linux up so that my LAN can go to internet through my linux.  my localnet is 128.230.75.0
and my PPP gateway is 111.222.333.5, let's say.  my Linux machine's IP is 128.230.75.1.  
0
Comment
Question by:Sieger
[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
2 Comments
 
LVL 2

Accepted Solution

by:
alexbik earned 100 total points
ID: 1587582
Hi,

First of all, you shouldn't use the 128.230.75.0 network if it is not officially assigned to you. If it is, then you will only have to add a route for this network to your ethernet adapter, and setup all your clients to use the Linux machine as a gateway. If it is _not_ officially assigned, you should use one of the IP ranges that are reserved for local use. In both cases, make your default route point to the PPP link to your ISP.

If you use local reserved IP addresses, you will have to install either a proxyserver (like Squid), or set up your box to do IP masquerading. Proxies have to be supported by the clients, IP masquerading works in all cases, because the clients don't even notice.

You can find the complete HOWTO on IP masquerading at:

ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/mini/IP-Masquerade

Alex.
0
 
LVL 1

Author Comment

by:Sieger
ID: 1587583
I thought there might be other ways to go besides IP-Masquerade.. anyway, thanks for you answer!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ACK Attack 5 66
Traceroute command on mac printing * * *** 10 93
Linux on a Dell PowerEdge 720 3 171
What is native VPN for RedHad Enterprise Linux and CentOS? 6 179
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

739 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