LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Router box forwarding IP addresses to main server? (https://www.linuxquestions.org/questions/linux-newbie-8/router-box-forwarding-ip-addresses-to-main-server-441927/)

jmj99385 05-05-2006 11:34 AM

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!

weibullguy 05-05-2006 12:35 PM

One...
http://www.linuxquestions.org/questi...d.php?t=441926

Two...
http://www.linuxquestions.org/questi...d.php?t=441925

Three...
http://www.linuxquestions.org/questi...d.php?t=441924

And this one makes four.

I guess quadruple posting doesn't violate the no double posting rule. Or maybe it violates it twice.

jmj99385 05-05-2006 02:25 PM

Quote:

Originally Posted by Arow
One...
http://www.linuxquestions.org/questi...d.php?t=441926

Two...
http://www.linuxquestions.org/questi...d.php?t=441925

Three...
http://www.linuxquestions.org/questi...d.php?t=441924

And this one makes four.

I guess quadruple posting doesn't violate the no double posting rule. Or maybe it violates it twice.

Sorry about that. Was just trying to maximize my chances of getting a response. Besides, I wasn't sure what category this should go under. It could cover a number of them from networking, Slackware to a newbie question.

Tinkster 05-05-2006 10:00 PM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

I'd suggest you maximize your ability to understand what you
agreed to first... ;}


All times are GMT -5. The time now is 02:15 AM.