Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-05-2006, 12:31 PM   #1
Registered: Aug 2005
Distribution: Slackware, Fedora, CentOS
Posts: 42

Rep: Reputation: 15
Router box forwarding IP addresses to main server?

Okay, here's my question. I've currently got a small router box (Slackware based) and a large server (also Slack based). From my ISP I got a half block of IPs (XX.XX.XX.130 - XX.XX.XX.254 with gateway of XX.XX.XX.129). My issue is this:

1) How do I get the router to forward all the IPs to the server? Do I use IPTables? The "route" command"? The Hosts file?

2) Does the route need to be set to XX.X.XX.130 for all of this to work, or can the server be set there?

3) How do I subnet all the addresses out? The server needs to host DNS, web, FTP, and mail, plus it is going to be doing the DHCP for the rest of the internal network on ETH1.

Currently I have the router pulled into the extended D-Mark on eth0. From the routers' eth1 there is a crossover cable to the servers eth0.

Thank you in advance for any help you can offer!
Old 05-05-2006, 05:25 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
How far has the other post gotten you?

Have you setup eth0?
If so how is it defined?
Is this still a 3 nic router setup according from the other post?
Have you read about IP Aliasing?

Note before Moderator mentions not to double post here and



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best distro for router/server box antken Linux - Distributions 3 05-26-2005 09:20 PM
router box - unable to configure DHCP server BrianNJ Linux - Networking 1 06-09-2004 08:11 AM
DHCP server problems -- can't get my box to work as a router KingofBLASH Linux - Networking 1 03-21-2004 07:19 AM
How do I turn my main box into a router? jlturbos Linux - Networking 4 03-07-2004 01:21 PM
port forwarding does not work on additional ip addresses antken Linux - Networking 1 02-10-2004 07:51 PM

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration