Sign-in / Sign-up
Your question
Solved

Need help setting up server ( or multi routers )

Tags:
  • Routers
  • LAN
  • Networking
  • Servers
Last response: in Networking
December 7, 2013 10:25:31 PM

Hello all,

My name is Sami, from Canada. Im new here and this is my first post, which to ask you for help.
I run few ecommerce website ( currently 4 and expending ). For each store I use a different router, which allows me to get a unique static IP ( using dlink dir 825 ), each of the 4 routers I have has a unique IP.

Since each store has unique router, but only 1 pc, it means that everytime I wish to login to my cpanel of a particular site, I need to disconnect the router and reconnect it's correct one.

Im planning on buying 3 more pcs, 1 for each store and wish to have them linked to their appropriate router, this way no more disconnecting and reconnecting routers, all of them will be one.

I was thinking of connecting ( in series ) all the router together ( not sure if that is technically possible ). Second option would be to buy an entry level server which will allow me to connect all pcs to it... Question is, will that second option allow me to get unique IP for each pc?

Any suggestion is welcome.

Thank you.

More about : setting server multi routers

December 7, 2013 10:39:33 PM

"Since each store has unique router, but only 1 pc, it means that everytime I wish to login to my cpanel of a particular site, I need to disconnect the router and reconnect it's correct one."

I don't understand... why disconnect and reconnect the routers, each one is at a different physical location right?

"I was thinking of connecting ( in series ) all the router together"

that too... you want a single router to handle all 4 connections? that is possible.

"Second option would be to buy an entry level server which will allow me to connect all pcs to it... Question is, will that second option allow me to get unique IP for each pc?"

with a switch in between the pcs and the server yes it is possible, as long as you request enough public IPs in the same subnet to your ISP.
m
0
l
a c 262 X LAN
December 8, 2013 8:13:34 AM

scouser8 said:
Hello all,

My name is Sami, from Canada. Im new here and this is my first post, which to ask you for help.
I run few ecommerce website ( currently 4 and expending ). For each store I use a different router, which allows me to get a unique static IP ( using dlink dir 825 ), each of the 4 routers I have has a unique IP.

Since each store has unique router, but only 1 pc, it means that everytime I wish to login to my cpanel of a particular site, I need to disconnect the router and reconnect it's correct one.

Im planning on buying 3 more pcs, 1 for each store and wish to have them linked to their appropriate router, this way no more disconnecting and reconnecting routers, all of them will be one.

I was thinking of connecting ( in series ) all the router together ( not sure if that is technically possible ). Second option would be to buy an entry level server which will allow me to connect all pcs to it... Question is, will that second option allow me to get unique IP for each pc?

Any suggestion is welcome.

Thank you.


This post has bill001g written all over it, I would expect that he would have a much more elegant solution than me. :) 

m
0
l

Best solution

a b X LAN
December 8, 2013 8:51:07 AM

He means me....and I today I happen to be around.

So if I read right you currently only have a single PC but multiple internet connections and you move the PC from router to router. Very strange but.

This is a strange way to do this. Most the time you use a single server and a single IP address. Since almost all traffic is web based the main web servers you write you application for have solved this. What you do is map multiple DNS names to the same IP and the web server can be made to treat them as different virtual sites all in the same server. You would say map store1.com to 123.1.1.1 and store2.com to 123.1.1.1. Now the DNS would map the same IP so the communication when your typed in store1.com and store2.com would go to the same machine. The key thing that makes this work is the browser still passes the string store1.com/xxxx and store2.com/xxxx to the server. So the server still knows that these are different. This is extremely common way people who write web sites for people accomplish this cheaply.

To do it the way you propose is going to be a little tricky. You could I suppose get the ISP to put all the ip on a single router and then use the router to map to the servers. You could also just put a switch behind the routers and connect them all together. If you made the lan addresses say 192.168.1.1, 192.168.1.2 and so on for each router your end pc could then use any of the routers just by changing the gateway. The routers would of course still need port map the outside address to the inside. But if you are always going to map a single PC to a single IP then you might as well cable them directly to each router.

The other method is sorta a combination of the others. In this case you would assign multiple IP addresses to the same server. The server could then in addition to using the URL use the IP address to determine the traffic. In this case it would need to return the traffic back to the correct router based on the source address.

I would look into doing it with the DNS method using a single public IP and a single server. This is very common and there are lots of sample on how to do this....but i guess it depends what exactly your application is doing if it is compatible with this methodology
Share