Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

route through a PPP Link.

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

Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

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…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

704 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