Problem with my current network setup

pjgowtham

Commendable
Dec 16, 2016
69
0
1,660
My ISP is wireless provider. I have an 2 outdoor components ( Modem/router?? and a switch)


Take a look at the network diagram


url]



There LAN setup is not working properly.
I have enabled DHCP on router 1 (Host) and disabled it on router 2. Both the routers are on the same IP network
Router 1 : 192.168.1.1
Router 2 : 192.168.1.2
Internet works everywhere
I cannot ping my router 2 from my media server PC. So i am not able to host a media server in this current setup.
But. from router 2, i can ping both router 1 and router 2.

Is it the length of the wire causing issues?
Am i not supposed to use it like router - switch - router ?


What am i doing wrong?

Router 1 : Ubuquiti air grid M5HP
Switch : Telenet ES- 8005 - PE
Router 2 : TP LINK WR841N 300Mbps Router

 
Solution
modem to switch to router will not work (assuming modem is ONLY a modem) because your ISP is giving you one IP address which means a connection to one device. Thus your router has to be that one device. If you put a switch between the router and the modem then the 1st device that powers on the switch will get internet and nothing else. Not to mention that no device on the switch will get DHCP or DNS from router or be able to access network resources like the devices behind the router.
Thus you need modem -> router -> switch.

Now to what your current problem really is:
So you have an antenna receiving a wifi signal from router1 somewhere else, that antenna is plugged into an access point, then that is plugged into the trendnet switch...
modem to switch to router will not work (assuming modem is ONLY a modem) because your ISP is giving you one IP address which means a connection to one device. Thus your router has to be that one device. If you put a switch between the router and the modem then the 1st device that powers on the switch will get internet and nothing else. Not to mention that no device on the switch will get DHCP or DNS from router or be able to access network resources like the devices behind the router.
Thus you need modem -> router -> switch.

Now to what your current problem really is:
So you have an antenna receiving a wifi signal from router1 somewhere else, that antenna is plugged into an access point, then that is plugged into the trendnet switch which is then plugged into the TP-Link router.
The TP-Link router has to be configured as an access point and not as a router. You do this by givng router 2 a static IP (looks like you did that), dissable DHCP and most importantly plug the ethernet cable into a LAN port, and NOT the WAN port on the router.
The reason you cant ping device on router 2 from device on switch is because router 2 (with cable plugged into WAN port) is still providing NAT and is thus blocking all unsolicited incoming connections.
 
Solution