Latest LQ Deal: Latest LQ Deals
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 06-28-2007, 11:00 PM   #1
Registered: Sep 2003
Posts: 54

Rep: Reputation: 15
Cascading routers and the DMZ

Hello all,

This might not be the best forum to ask this, because it's not Linux specific. If not then help me out by pointing me in the right direction, because I've been working on this for almost a week and didn't know where else to turn. I'm looking for someone to tell me what I'm doing wrong, or to provide me with a sanity check, so we can all be confused when we confirm everything is right...

So I have two Linksys WRT54G routers (one version 3, one version 6). Let's call them Station and Space_Invader (because thats their names).

Station is in another room, plugged into the modem, the WAN interface is using DHCP. Station's local IP address is, subnet mask DHCP is enabled and it's operating as a Gateway. A pretty standard setup, I didn't change all that much. It is the wireless connection for my laptop, a cabled connection to my parents computers, and a cable ran through the wall and down the hall to my room.

Space_Invader is in my room. It's cabled to my XBox 360, Two servers, and Station through its WAN interface. It's WAN interface is static IP, subnet, gateway and DNS are This is what is connected to Station. It's local IP address is, subnet DHCP is disabled and it's operating as a Router.

I have a server (Tango, CentOS 5: static IP subnet, gateway that I want to be the DMZ, and it is plugged into Space_Invader (I can't put Tango in the other room and I don't have the cable for a second run). Port forwarding isn't viable because I'm using more ports than the router interface allows me. I *thought* this would be a trivial task...

I've tried setting up Space_Invader to be a second network, and then establishing a route from Station. I've tried making the physical connection from a local port on Station to a local port on Space_Invader, and share network resources. I've connected Station to the WAN port of Space_Invader. I've gone so far as to go to Linksys and find an idiot's guide on the matter: all to no avail. I cannot get visibility of Tango beyond Space_Invader (yes, I've played with the DMZ settings on the routers).

Like I said, I've spent about a week on this, spending a lot of time without internet access because I've been banging my head on this. It's a good thing I became a professional developer and not a network administrator (my Cisco instructors would be choking on their own vomit right now).

So to the greater knowledge of the good people of my favorite community I beckon; tell me I am a damn fool; and tell me how - so that I may learn the folly of my ways, and get my game development server exposed to the intarwebs, and all can be good in the kingdom of code once again.

Old 06-28-2007, 11:02 PM   #2
Registered: Sep 2003
Posts: 54

Original Poster
Rep: Reputation: 15
Yeah I should specify that I can access Tango from behind Space_Invader, but I can't from Station, let alone from across the net. So I know it's up and I can get to it from my room, I just can't get to if from beyond my room.
Old 07-01-2007, 08:44 PM   #3
Registered: Sep 2003
Posts: 54

Original Poster
Rep: Reputation: 15
Well, I banged on it for another day, and for some reason, a configuration I've done several times worked. I don't know why. I cascaded the routers by connecting the local port of one, to the local port of the other. I set the other to disable dhcp, and set the IP address to, because 2 was being unlucky (No, it wasn't an IP conflict with DHCP because the starting address for that began at 100).

For some reason, it worked, and my server is now the DMZ of my home network.
Old 07-03-2007, 09:25 PM   #4
Registered: Jan 2006
Posts: 120

Rep: Reputation: 15
do you still need help? your project doesn't sound too complex. try drawing it out once. if you still need help, show me a flow chart or something of what you're trying to do.


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 cascading Jzarecta Linux - Networking 2 06-07-2008 01:14 AM
question about iptables (DMZ machine connect to other DMZ machine 's publuic IP) wingmak Linux - Security 1 01-20-2007 04:01 PM
Fluxbox Window Cascading oxleyk Slackware 6 11-17-2004 11:55 AM
DNS Cascading bally Linux - Networking 0 03-11-2003 11:53 PM
cascading squid with windows proxy bally Linux - Networking 3 02-16-2003 05:13 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:46 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
Open Source Consulting | Domain Registration