Need help configuring routers

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Sokartawi
Crazy Karma Chameleon
Posts: 805
Joined: 2004-01-08 09:17pm
Contact:

Need help configuring routers

Post by Sokartawi »

OK, I admit, I'm not a network expert. Bunch of PCs, one router, fine, got that running in no time. However, I have multiple PCs upstairs too now, and can only get one cable through the floor, so I need something else upstairs. Since I had a second router lying around, I decided to use that. I got it working, but there are still some problems.

Old setup:
Wan -> Router (192.168.0.1) -> PCs (192.168.0.2 - 192.168.0.5)

New setup:
Wan -> Router 1 (192.168.0.1) -> Group 1 (192.168.0.2 - 192.168.0.5)
..................|
..................L-> Router 2 (192.168.1.1) -> Group 2 (192.168.1.2 & 1.3)

This works fine to access the internet, and after some fighting I even got my ultima online server to work on 192.168.1.2 with messing a lot with the DMZ options in both routers, however no matter what I try, there are 2 annoying problems:
1) PCs in group 1 cannot see PCs in group 2 with network neighbourhood in explorer, and vice versa
2) On 192.168.0.2 there is a webserver hosting my forum and website, however if I goto my WAN IP adress from a PC in group 2, I get the configuration screen of Router 2 instead. If I type 192.168.0.2 in my browser, I can access it, however I won't get very far of course, since all links start with the WAN IP and thus do not work.

Someone said the problem is that I let both routers give out IP adresses with DHCP, however if I turn that option off and set the PCs to use a preset IP, then nothing works, cannot even access the router.
Stubborn as ever - Let's hope it pays off this time.
User avatar
Crayz9000
Sith Apprentice
Posts: 7329
Joined: 2002-07-03 06:39pm
Location: Improbably superpositioned
Contact:

Re: Need help configuring routers

Post by Crayz9000 »

Sokartawi wrote:1) PCs in group 1 cannot see PCs in group 2 with network neighbourhood in explorer, and vice versa
That's because both groups are separated by not one, but two routers and use the same IP range. NetBT just won't work over that situation.

Possible solution: change the IP ranges to something different for each network (e.g. 192.168.0.2-5 for the first, 192.168.0.6-9 for the second). Then set up crossforwarding between the two networks.
Sokartawi wrote:2) On 192.168.0.2 there is a webserver hosting my forum and website, however if I goto my WAN IP adress from a PC in group 2, I get the configuration screen of Router 2 instead. If I type 192.168.0.2 in my browser, I can access it, however I won't get very far of course, since all links start with the WAN IP and thus do not work.
You're getting the configuration screen because you have not set up port forwarding in Router 2. You need to forward Port 80 of the webserver to Port 80 of the router (this could cause problems with the router configuration server, so change that to a nonstandard port like 8000 or 8080).
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
User avatar
Sokartawi
Crazy Karma Chameleon
Posts: 805
Joined: 2004-01-08 09:17pm
Contact:

Post by Sokartawi »

If I change the IP range router 1 may hand out, I get errors, and it no longer hands out any IP unless I change it back.

Can you be more specific with your solution for problem 2? Webservers don't do portforwarding, only routers do... And what do you mean with changing ports to non-standard ones?
Stubborn as ever - Let's hope it pays off this time.
User avatar
Crayz9000
Sith Apprentice
Posts: 7329
Joined: 2002-07-03 06:39pm
Location: Improbably superpositioned
Contact:

Post by Crayz9000 »

Sokartawi wrote:If I change the IP range router 1 may hand out, I get errors, and it no longer hands out any IP unless I change it back.
Have you tried changing the IP range for router 2?
Sokartawi wrote:Can you be more specific with your solution for problem 2? Webservers don't do portforwarding, only routers do... And what do you mean with changing ports to non-standard ones?
I mean that in router 2's configuration, you set it up to forward all requests to port 80 to the web server. At the same time, you will have to change its internal server port to something other than 80, since port 80 will be pointing to your webserver.
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
User avatar
Sokartawi
Crazy Karma Chameleon
Posts: 805
Joined: 2004-01-08 09:17pm
Contact:

Post by Sokartawi »

Crayz9000 wrote:
Sokartawi wrote:If I change the IP range router 1 may hand out, I get errors, and it no longer hands out any IP unless I change it back.
Have you tried changing the IP range for router 2?
No, but the moment I did it for router 1 it screws up everything and both groups lose 'net access. And it wouldn't be wise to leave the possibility open that router 1 can hand out IP adresses that router 2 already uses.
Crayz9000 wrote:
Sokartawi wrote:Can you be more specific with your solution for problem 2? Webservers don't do portforwarding, only routers do... And what do you mean with changing ports to non-standard ones?
I mean that in router 2's configuration, you set it up to forward all requests to port 80 to the web server. At the same time, you will have to change its internal server port to something other than 80, since port 80 will be pointing to your webserver.
Can't change the port the router uses.

====

Came up with my own creative non-solution...
Plugged a second network card in PC 1 (running on win98) of Group 2. When I start this PC, I have the cable which runs from Router 1 to Router 2 plugged into networkcard 1 (minus the extension with crosscable of course, fortunately I linked two cables together so the cable going upstairs is a straightcable). I plug the cable going from Router 2 in networkcard 2. Once PC 1 has completed starting up, I disconnect the cable from networkcard 1, and plug it back into Router 2, so group 2 has internet access. If I need to share files or access my website, I unplug Router 2, put it back into networkcard 1, wait for a minute, then go mess with whatever I want. Once done, I plug the cable back, wait another minute, and everyone has internetaccess again... Not effective at all, but it works... :?

Would still like another solution...
Stubborn as ever - Let's hope it pays off this time.
User avatar
Vohu Manah
Jedi Knight
Posts: 775
Joined: 2004-03-28 07:38am
Location: Harford County, Maryland
Contact:

Post by Vohu Manah »

Why not just setup a switch upstairs (as opposed to the router)?
There are two kinds of people in the world: the kind who think it’s perfectly reasonable to strip-search a 13-year-old girl suspected of bringing ibuprofen to school, and the kind who think those people should be kept as far away from children as possible … Sometimes it’s hard to tell the difference between drug warriors and child molesters.” - Jacob Sullum[/size][/align]
User avatar
Sokartawi
Crazy Karma Chameleon
Posts: 805
Joined: 2004-01-08 09:17pm
Contact:

Post by Sokartawi »

Vohu Manah wrote:Why not just setup a switch upstairs (as opposed to the router)?
'Cause I don't have one, and I had this... thing lying around...

But if this really won't work I'll get one, yah...
Stubborn as ever - Let's hope it pays off this time.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Using a router upstairs as an ad-hoc switch will just lead to pain. Get a switch.
User avatar
Vohu Manah
Jedi Knight
Posts: 775
Joined: 2004-03-28 07:38am
Location: Harford County, Maryland
Contact:

Post by Vohu Manah »

Sokartawi wrote:
Vohu Manah wrote:Why not just setup a switch upstairs (as opposed to the router)?
'Cause I don't have one, and I had this... thing lying around...

But if this really won't work I'll get one, yah...
Well, it might help to know the routers in question. My Linksys BEFSR81, according the manual, is able to operate in two modes, gateway and router. In gateway mode, it serves as host to my broadband connection. In router mode, it would operate as the go-between to the computers connected to it and the router serving up my connection. If one of your routers was capable of the same, it should be used as the second router in your scenario. Do you happen to know if this is the case (or could you simply provide the router model numbers so that we may check ourselves)?
There are two kinds of people in the world: the kind who think it’s perfectly reasonable to strip-search a 13-year-old girl suspected of bringing ibuprofen to school, and the kind who think those people should be kept as far away from children as possible … Sometimes it’s hard to tell the difference between drug warriors and child molesters.” - Jacob Sullum[/size][/align]
User avatar
Sokartawi
Crazy Karma Chameleon
Posts: 805
Joined: 2004-01-08 09:17pm
Contact:

Post by Sokartawi »

Vohu Manah wrote:
Sokartawi wrote:
Vohu Manah wrote:Why not just setup a switch upstairs (as opposed to the router)?
'Cause I don't have one, and I had this... thing lying around...

But if this really won't work I'll get one, yah...
Well, it might help to know the routers in question. My Linksys BEFSR81, according the manual, is able to operate in two modes, gateway and router. In gateway mode, it serves as host to my broadband connection. In router mode, it would operate as the go-between to the computers connected to it and the router serving up my connection. If one of your routers was capable of the same, it should be used as the second router in your scenario. Do you happen to know if this is the case (or could you simply provide the router model numbers so that we may check ourselves)?
Going to look for that option, but haven't seen it before.

Router 1: Sitecom DC-201
Router 2: Canyon CN-WR501
Stubborn as ever - Let's hope it pays off this time.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Windows NT-based operating systems can also act like routers. However, you'll have to brush up on how to set routing tables.
User avatar
Sokartawi
Crazy Karma Chameleon
Posts: 805
Joined: 2004-01-08 09:17pm
Contact:

Post by Sokartawi »

Not going to do that as my servers run on win98 and I don't want yet another PC on 24x7 eating power and making noise.
Stubborn as ever - Let's hope it pays off this time.
User avatar
Seggybop
Jedi Council Member
Posts: 1954
Joined: 2002-07-20 07:09pm
Location: USA

Post by Seggybop »

win98... server... o_O
my heart is a shell of depleted uranium
User avatar
Sokartawi
Crazy Karma Chameleon
Posts: 805
Joined: 2004-01-08 09:17pm
Contact:

Post by Sokartawi »

I got a switch, problems solved.
Seggybop wrote:win98... server... o_O
Uptime over 99% over the past year. In fact it has never been restarted, nor crashed, except when we had a powerloss a month ago, or when the router screwed up.

I'm hosting a 8GB database for the goverment, something to do with energy policies but I have no clue what exactly, and they pay me 10 Euros a month, which covers my powercosts. Of course they don't know it runs on Win98, but I was the lowest bidder :twisted:

I also had an ulitma online server, has been up for 9 months or something, but I'm making new maps and contents and am modifying it for the next expansion, which is the reason it's off right now.
Stubborn as ever - Let's hope it pays off this time.
Post Reply