Solved

route through a PPP Link.

Posted on 1998-04-07
2
202 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 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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Centos Rescue and NFS Share 4 66
Convert Routes to Linux (CENTOS 7.0) 3 99
IPA - running on unsupported CentOS servers? 1 98
Squid Authentication 7 69
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 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