Solved

Linux LAN with one modem link to ethernet

Posted on 1997-02-15
1
206 Views
Last Modified: 2010-03-17
Hi,

    In our small company we have three Linux form a LAN.  Only one Linux (server) has a modem link to outside through
ppp account we got from internet provider.  How to setup
the server so that when server link to internet through ppp,
the other Linux boxes can also connect to internet without
telnet or rlogin to server first?  I guess I need ARP, Proxy
or maybe ip tunneling stuff but just don't know how to start.  I am appreciated for any suggestion and help.  It will be great if someone can give me a working example and show me how they did it.  Thanks a lot.

    Kuang-chun Cheng
    kccheng@hycppc01.fnal.gov
0
Comment
Question by:kccheng021597
1 Comment
 
LVL 1

Accepted Solution

by:
mstonge earned 100 total points
ID: 1583985
This is quite simple.

The first thing that you will need however is a block of static IP's from your provider.  You don't need a whole Class C but you should get a small block.  Your provider should not have any problem with that.

Second, you need to set an IP address on your LAN adapter on your server.  Take that address from your block of static IP.  This address will be the default gateway for any other machine on your LAN.

Next you need to set-up you dial-in script which is probably done.

Last you must ensure that IP forwarding is turned on in your kernel parameters.


If you need specific details for any of the points above just put a comment and I will be happy to carry on this thread.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
what is the size of a TCP segment 10 93
How to get my virtual machine IP address - Virtualbox 10 108
Measure data download 2 128
Remote desktop Ubuntu from Windows 10 5 128
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 …

726 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