Solved

Linux LAN with one modem link to ethernet

Posted on 1997-02-15
1
205 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

840 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