Sign in with
Sign up | Sign in
Your question
Solved

Router > PC > Hub > Router?

Last response: in Wireless Networking
Share
July 24, 2014 6:05:43 PM

Good day,

Just wanted to know if this network setup is possible. Please refer to the image below.
Basically, our PC is connected wirelessly to a router in our relatives' home (high powered router to outdoor wifi adapter) our PC now shares its internet connection to other PCs via a hub. Now here's the question. is it possible to connect a router to the hub so it can also share the internet connection from the pc to wireless devices like laptops and mobile phones.

Hope I delivered the problem as clearly as possible. Thanks!

More about : router hub router

July 24, 2014 6:19:40 PM

Yeah it should be able, just set the router's default gateway pointing to the pc with a proper IP address in the same sub-network and same subnet mask, can't ensure a good performance though, the pc's nic might get overwhelmed and the using of a hub just calls for collisions here and there, might wanna change it for a switch if you see instability in the connection.
m
0
l
July 24, 2014 6:20:29 PM

I doubt the router will work. Routers need direct modem connectivity to be effective. If it somehow does work, you can expect horrible connections since the signal has to go through so many holes and loops to get to you. Your best bet is to get an access point instead of a router.
m
0
l
Related resources

Best solution

July 24, 2014 6:22:48 PM

You simply need to configure your router as an access point instead of as a router. This generally means disabling the router's DHCP server and plugging the wired LAN cable you get your internet from in one of the router's LAN ports instead of the WAN port.
Share
July 24, 2014 7:34:39 PM

InvalidError said:
You simply need to configure your router as an access point instead of as a router. This generally means disabling the router's DHCP server and plugging the wired LAN cable you get your internet from in one of the router's LAN ports instead of the WAN port.


So where will the hub come into place?
m
0
l
July 24, 2014 7:39:07 PM

Would this be possible? PC (Where the internet comes from) > Hub > Access Point > Wireless Devices.

or PC (With shared internet connection) > Router (with manually configured IP address) > Wireless Devices
m
0
l
July 24, 2014 7:51:56 PM

akosip31 said:
So where will the hub come into place?

It either stays where it is in your drawing or the router acting as the access point can take its place - you will only be using the switched LAN ports.

I used a setup similar to yours when I moved to my current apartment where I used my laptop's WiFi to tap into my friend's WiFi and then bridge it to my LAN so my other computers could also get on with my router configured as an access point so my tablet could also get on.
m
0
l
July 24, 2014 7:59:32 PM

InvalidError said:
akosip31 said:
So where will the hub come into place?

It either stays where it is in your drawing or the router acting as the access point can take its place - you will only be using the switched LAN ports.

I used a setup similar to yours when I moved to my current apartment where I used my laptop's WiFi to tap into my friend's WiFi and then bridge it to my LAN so my other computers could also get on with my router configured as an access point so my tablet could also get on.


Oh I see. If I replace the hub with the router, will I still need it to be setup as an access point or not? Or if i decide to not change the hub, the LAN cable from the hub must be plugged into the LAN ports of the router or WAN? I want to retain the capability to share files over the network.
m
0
l
July 24, 2014 8:05:37 PM

akosip31 said:
Oh I see. If I replace the hub with the router, will I still need it to be setup as an access point or not?

If you want to isolate your network from your relatives and do not mind the double-NAT then you could use the router as a normal router with the WiFi computer plugged in the router's WAN port instead of going through the extra step of setting up the router as an access point and connecting everything through the LAN ports.
m
0
l
July 24, 2014 8:18:07 PM

InvalidError said:
If you want to isolate your network from your relatives and do not mind the double-NAT then you could use the router as a normal router with the WiFi computer plugged in the router's WAN port instead of going through the extra step of setting up the router as an access point and connecting everything through the LAN ports.


Would I not lose file sharing within my own network when I plug the PC into the router's WAN Port? Or I would need it to be an access point for that and plug the PC into the router's LAN port?
m
0
l
July 24, 2014 8:26:38 PM

akosip31 said:
Would I not lose file sharing within my own network when I plug the PC into the router's WAN Port? Or I would need it to be an access point for that and plug the PC into the router's LAN port?

You would lose LAN connectivity (which includes file sharing) with the PC running the WiFi bridge since the "router-mode" setup would put that PC on the WAN port.
m
0
l
July 24, 2014 8:53:14 PM

InvalidError said:
You would lose LAN connectivity (which includes file sharing) with the PC running the WiFi bridge since the "router-mode" setup would put that PC on the WAN port.


So I would need it set-up as an access point to be able to use share the Wifi PC's internet connection like you stated earlier?
m
0
l
July 24, 2014 9:09:17 PM

akosip31 said:
So I would need it set-up as an access point to be able to use share the Wifi PC's internet connection like you stated earlier?

No.

You need the AP-style setup if you want the WiFi bridge PC to still be accessible from your LAN. You can use the router-style setup if you do not care about the WiFi bridge PC being stuck on your relatives' side of the link, separated from your LAN.
m
0
l
July 24, 2014 9:59:13 PM

InvalidError said:
No.

You need the AP-style setup if you want the WiFi bridge PC to still be accessible from your LAN. You can use the router-style setup if you do not care about the WiFi bridge PC being stuck on your relatives' side of the link, separated from your LAN.


I only need file sharing within my network and it's okay to be isolated from my relative's network. So I'll go with AP then? the Wifi PC will act as the DHCP server and set the AP to acquire an address from the DHCP?
m
0
l
July 24, 2014 10:29:05 PM

akosip31 said:
I only need file sharing within my network and it's okay to be isolated from my relative's network. So I'll go with AP then? the Wifi PC will act as the DHCP server and set the AP to acquire an address from the DHCP?

In the AP setup, DHCP on your router would be disabled so your LAN's PC would be connected directly to your relatives' LAN and getting their DHCP addresses from your relatives' router directly through your WiFi-LAN bridge PC.

If you want your LAN to be isolated from your relatives, you need to use the router-style setup where your WiFi bridge PC would be connected on the router's WAN port instead of one of its LAN ports and work like a normal router between the WiFi PC connecting you to your relatives and your LAN.
m
0
l
July 24, 2014 11:20:54 PM

InvalidError said:

In the AP setup, DHCP on your router would be disabled so your LAN's PC would be connected directly to your relatives' LAN and getting their DHCP addresses from your relatives' router directly through your WiFi-LAN bridge PC.

If you want your LAN to be isolated from your relatives, you need to use the router-style setup where your WiFi bridge PC would be connected on the router's WAN port instead of one of its LAN ports and work like a normal router between the WiFi PC connecting you to your relatives and your LAN.


Hmm still a little confused. In my current setup, the WiFi PC's the one who's acting as the DHCP server giving addresses to other PCs via the Hub, I would like to add wireless sharing via a router with filesharing still possible. So AP or Router? Because router mode will need the PC's LAN to be connected to the router's WAN port which will not include the WiFi PC in my filesharing network.
m
0
l
July 24, 2014 11:59:48 PM

Ah, you were using ICS on your WiFi PC. Well, that does not change things much apart from moving the point your LAN gets its DHCP from.

If all you want is use the router as a wireless access point, configure it as an access point (DHCP on the router off, connected to the LAN using one of the LAN ports) and be done with it.
m
0
l
July 25, 2014 12:41:39 AM

InvalidError said:
Ah, you were using ICS on your WiFi PC. Well, that does not change things much apart from moving the point your LAN gets its DHCP from.

If all you want is use the router as a wireless access point, configure it as an access point (DHCP on the router off, connected to the LAN using one of the LAN ports) and be done with it.


Okay I get it. So the internet connection will automatically pass through the AP from the Hub or WIFI PC with ICS? No additional configuration needed? Thank you :) 
m
0
l
July 26, 2014 4:55:53 AM

Solved it! plugged in the router into the hub via LAN port and placed a static IP address on the router with the same subnet as the WiFi PC with ICS. :D 
m
0
l
July 26, 2014 5:37:04 AM

akosip31 said:
Solved it! plugged in the router into the hub via LAN port and placed a static IP address on the router with the same subnet as the WiFi PC with ICS. :D 

You need to disable the router's DHCP server if you have not done so already or your LAN PCs may end up renewing their DHCP leases from the router instead of your ICS PC and once your LAN gets updated with the wrong gateway information, they will not be able to connect anymore.
m
0
l
July 27, 2014 5:08:56 PM

InvalidError said:
You need to disable the router's DHCP server if you have not done so already or your LAN PCs may end up renewing their DHCP leases from the router instead of your ICS PC and once your LAN gets updated with the wrong gateway information, they will not be able to connect anymore.


Yes I've disabled the DHCP of the router :)  So far it's still working. Thank you for all the help!
m
0
l
!