Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

route through a PPP Link.

Posted on 1998-04-07
2
Medium Priority
?
237 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
2 Comments
 
LVL 2

Accepted Solution

by:
alexbik earned 400 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

971 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