|
As much as I wanted to do this on my own, the intricacy of this situation has put me in over my head.
My goal is to set up a static IP for port forwarding on my wired internet.
Initially I attempted to set it up using the default gateway on one router in the house, but whenever I set it to that, my internet wouldn't work (I couldn't connect to the router). ipconfig /all informed me when I set to obtain address automatically that rather than the 192.168.1.1 of the router, I was on IP address 192.168.15.1. Strange
Then I realized that I was actually connected to Router #2, that was using that gateway.
In case this helps Router #1 is a Linksys WRT 300N Router #2 is a Lynksys RTP 300
Then I did something stupid. I changed the local IP address of Router #1 to 192.168.15.1. Obviously, this did not allow me to connect to the internet!
I used my wireless internet to put Router #1 back to 192.168.1.1.
Router #2 has reassigned itself to 192.168.16.1. When I try to put it back to 192.168.15.1 it gives me two error messages in this order:
1. "DHCP start ip is the same with lan ipaddr. adjust automatically"
2. "LAN/WAN subnets are matching"
Then it forces the local IP address back to 192.168.16.1
Now, if the local area network is enabled on my computer, the internet doesn't work, though I can connect to the router. Even with the working wireless internet enabled (which connects to router #1), if the LAN is enabled, no dice.
My speculation is that Router #1 only recognized Router #2 under its original IP address, and my boneheaded move of giving Router #1's ip address to Router #2 has mucked that up.
But I don't know how to set things right.
Another small factoid is that my VOIP phone is connected to router #2 is reporting that it has no line.
Any networking gurus, please help!
|
the first step is to get both routers back to the way they were. once you're back in the last known good state you can move forward. you won't be able to change #2 back to 192.168.15.1 while something else has that address, so you'll need to fix #1 first.
why do you have two routers, anyway?
|
Why do you have two routers??
If you want to open ports you need to do it for the router that's receiving the connection first.
You can't port forward through two routers, at least not practically.
Sorry if this isn't what you're asking lol.
By the way, i had a router from vonage that had the IP 192.168.15.1 and i was able to host games by port forwarding just fine on that.
|
Belgium9942 Posts
What he means is that the DHCP server on the router always gives his computer that he needs the ports forwarded on a different IP address, just because of the other computers connecting/disconnecting in different sequences.
He wants to set his IP static so he doesn't always have to change the internal IP address the ports need to be forwarded to.
To do this the only thing you have to do is set your DHCP server to only give out IP addresses in a certain range, for example: 192.168.2.20 - 192.168.2.100, and setting his computer that he wants to have the static IP on to something like 192.168.2.5
This way all the other computers in your network will still have dynamic IPs, and yours will be static.
edit: btw the reason it's changing to .16.1 is because you set your DHCP server to give out IPs starting from .15.1, due to which the router wont be able to occupy the .15.1 slot himself, forcing him to use .16.1
|
On January 09 2010 07:58 tarpman wrote: the first step is to get both routers back to the way they were. once you're back in the last known good state you can move forward. you won't be able to change #2 back to 192.168.15.1 while something else has that address, so you'll need to fix #1 first.
why do you have two routers, anyway?
Router #1 is already back to its original configuration
We have two routers because somebody who was supposed to buy a switch for the house bought a router instead (at least I think this is the proper terminology)
|
I think the real problem here is the error message
"LAN/WAN subnets are matching"
I've turned off DHCP at attempted to reassign Router #2's ip, but this error message prevents me and forces it back to .16.1
|
ahahhahaha i had these problems too, trying to forward ports through 2 routers. It was a pain, but I had to find out which one the main one was, than forward everything through that
|
Belgium9942 Posts
On January 09 2010 08:23 GeneralStan wrote: I think the real problem here is the error message
"LAN/WAN subnets are matching"
I've turned off DHCP at attempted to reassign Router #2's ip, but this error message prevents me and forces it back to .16.1
It says what it says. You need to decide which router to use as router and which as switch.
You connect the router to the switch by connecting a cable between both's LAN ports, not WAN. You turn off the DHCP server on the switch, and it should work.
|
If you set your first router to 192.168.1.1 and you want to set the second one to 192.168.15.1, they won't both be on the same network, you know that right? Are you trying to put everything on the same network? I would assume so if you were supposed to get a switch and not a router. Why are you trying to set up another router if you need a switch anyway?
If it's just the LAN ports you want from it give it a static IP as well, but on a different network(I.E. 192.168.16.1) as well as your PC a static IP(I.E. 192.168.1.2 on a router #1 LAN port) and set a range on router #1 for giving dynamic IPs like RaGe said that doesn't include 192.168.1.1-2 or the broadcast address. Router #2 will have a DHCP server with address ranges from 192.168.16.2 - 192.168.16.254 assuming you want hosts with dynamic IPs.
I'm not exactly sure what your goals are here, but this is what I'm thinking you want at the moment. Should look something like this:
Your router#2 will have a LAN inside of your router#1s LAN this way
|
Okay.
A little more background on my configuration
An ethernet cable runs from the modem to Router #1, where it connects in the slot labeled internet. A cable runs from slot #1 to Router #2.
That cable comes into Router #2 in the slot labeled internet. This particular router also has two slots labeled "Phone", neither of which is in use, but a cable comes from slot #1 to my computer and from slot #3 to the VIOP box.
|
Okay so that's basically the way the routers are set up in my shitty paint diagram, except your computer is connected to a LAN slot on router #2 instead.
You can't change router #2s IP to 192.168.1.1 because that is the IP of your router#1, and since it is a router and not a switch your things(PC, phone, etc) connected to router 2s LAN ports are on the 192.168.16.0 network. If you try to set your static IP as 192.168.1.1 it wont work, since you are giving an IP address of a host on router 1s network, even though you are on router 2s network. You have to either connect your computer to a LAN port on router #1 with a static IP of 192.168.1.2(for example), or set your IP as 192.168.16.2(for example).
|
you will need to enable the DHCP server on router #2 as well, so the VOIP can have an address as well(unless you can set one yourself?), so make sure the range doesnt include the routers IP, your static IP(if you choose to leave your PC on router #2s network) or the broadcast address(I.E 192.168.16.255)
it would look like this:
|
I made a little diagram of my network:
Router #1 is 192.168.1.1
Router #2 is 192.168.16.1 at the moment, but the internet is not working through this router at that IP. I need to find a way to set it back to 192.168.15.1 (I THINK)
The diagram shows the physical constraints of what I'm working with in a way. It is not possible for me to run a cable directly to Router #1
Attempting to set up a static IP on router #2 with any IP in the 192.168.16.1 series does not allow me to connect to the internet.
I am can only get on the internet by wirelessly getting to Router #1.
Before I changed Router #1 to 192.169.15.1 momentarily, the internet was working fine through Router #2 (though I was having a mental block on how to get my ports forwarded (which I've figured out I just need to do through Router #2!)
So my sole goal is to figure out how to get Router #2 back to its original IP so everything will work again!
|
Okay thats fine. instead of connecting router 2s WAN/internet port to router 1s LAN port with an ethernet cable, you should be able to connect to it wirelessly as well.
i dont see why having the second router's IP as 192.168.15.1 instead of 192.168.16.1 should be any different really. try setting a static IP for router 2s WAN as 192.168.1.10 or something. an IP in the 192.168.1.0 network that isnt taken
if you can ping router 2 from your PC then the problem is between router 2 and router 1 most likely
edit: so basically router #2s WAN IP has to be under router #1s LAN network, and it shouldnt matter if router #2s LAN network is 192.168.15.0 or 192.168.16.0
|
On January 09 2010 09:08 Grobyc wrote:
if you can ping router 2 from your PC then the problem is between router 2 and router 1 most likely
Right!
As I think more, getting the IP of Router #2 back is unimportant
I think when I set Router #1 to .15.1 momentarily, Router #2 though that was how it was supposed to connect to the internet. So its still looking for .15.1, and that obviously won't let it connect to the internet (as well as the side effect of not letting the Router change the local IP to .15.1).
So setting up a Static IP for the router is certainly a good option. My Router however, wants a WINS number (which is a four interger series like an IP) that I have no idea how to find.
I also believe that resetting the Router may put things right (an obvious choice I should have tried a long time ago T_T
Before attempting to find a WINS number I'm going to reset the router.
Results pending
|
Hopefully router #2s WAN will reset and connect to router #1 as a host again when you reset the router. I've never heard of this WINS number lol, all I know is I can change my routers WAN IP without coming accross that
edit:
(as well as the side effect of not letting the Router change the local IP to .15.1). yes that explains it. it wont let you change your routers LAN IP to 192.168.15.1 if your WAN IP is a 192.168.15.X number already. Your WAN IP is most likely incorrect
|
and this is the part where I feel like an idiot.
Resetting Router #2 worked perfectly.
However, I have not yet been successful in setting up a static IP for myself
|
On January 09 2010 09:18 Grobyc wrote: Hopefully router #2s WAN will reset and connect to router #1 as a host again when you reset the router. I've never heard of this WINS number lol, all I know is I can change my routers WAN IP without coming accross that
Confusing, right?
Good thing I don't need it!
|
thats good. it definitely sounded like it was the WAN IPs problem.
if you are connecting to router #2 set your static IP as 192.168.16.X, where X is any number from 2-254 that isn't already taken. If you did change router #2s network from 16 back to 15 then put a 15 instead of the 16 of course.
|
Well I'm using 16 now, but after setting up a static IP on my computer (which still lets me connect to the internet) and trying to forward 6112 to that new IP on the right router, its not working
|
|
|
|