LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Closed Thread
 
Search this Thread
Old 05-05-2006, 11:34 AM   #1
jmj99385
Member
 
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, 12:35 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,731
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
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.
 
Old 05-05-2006, 02:25 PM   #3
jmj99385
Member
 
Registered: Aug 2005
Distribution: Slackware, Fedora, CentOS
Posts: 42

Original Poster
Rep: Reputation: 15
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.
 
Old 05-05-2006, 10:00 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,976
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
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... ;}
 
  


Closed Thread


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
Router box forwarding IP addresses to main server? jmj99385 Linux - General 1 05-06-2006 07:08 AM
Router box forwarding IP addresses to main server? jmj99385 Slackware 3 05-05-2006 10:02 PM
Router box forwarding IP addresses to main server? jmj99385 Linux - Networking 1 05-05-2006 04:25 PM
Best distro for router/server box antken Linux - Distributions 3 05-26-2005 08:20 PM
How do I turn my main box into a router? jlturbos Linux - Networking 4 03-07-2004 12:21 PM


All times are GMT -5. The time now is 04:31 AM.

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