LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-28-2007, 11:00 PM   #1
Omni
Member
 
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 192.168.1.1, subnet mask 255.255.255.0. 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 192.168.1.2, subnet 255.255.255.0, gateway and DNS are 192.168.1.1. This is what is connected to Station. It's local IP address is 192.168.1.2, subnet 255.255.255.0. DHCP is disabled and it's operating as a Router.

I have a server (Tango, CentOS 5: static IP 192.168.1.200 subnet 255.255.255.0, gateway 192.168.1.1) 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: http://linksys.custhelp.com/cgi-bin/...i=&p_topview=1 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.

Regards,
-Omni
 
Old 06-28-2007, 11:02 PM   #2
Omni
Member
 
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
Omni
Member
 
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 192.168.1.3, 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
mattsoftnet
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration