Solved

route through a PPP Link.

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

746 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

13 Experts available now in Live!

Get 1:1 Help Now