Linux as a router setup Q
Posted on 1998-06-02
I want to use my linux box as a gateway between a LAN and
the ethernet backbone:
=======10baseT Ethernet backbone=====University Gateway===>
| | |
|____| eth0 (IP1) |
|linux box 1 |
_____| eth1 (IP2) |
| Thinnet coax ethernet LAN
| | |
____|____ ____|____ ____|____
| | | | | |
| IP3 | | IP4 | | IP5 |
|________| |________| |________|
Linux box 2 Linux box 3 Linux box 4
I have 2 IP addresses for linux box 1, one for each ethernet
card. I also have an IP address for each of the linux boxes
on the LAN and don't need to do masquerading. The University gateway IP is IP0.
Question 1: What deamons do I need to run on linux box 1,
and what parameters do I need to use on the commandline to invoke them? Do I need gated, routed, etc?
Question 2: what are the correct command line arguments for
route and ifconfig on each linux box to make the system work? I don't need a firewall, just want to use Linux box 1
as a router/gateway for the Linux boxen 2-4. I basically want to route all TCP/IP traffic for the box 2-4 through a
Question 3: What features do I need to enable in the kernel to make this work?
I need someone to take me through this step by step. Thanks for any help!