I see people genuinely helping out here but please stop with down-votes.I wouldn't have posted on server fault if this wasn't really a business problem.I am going to upgrade this network with a Failover WAN connection and separate the Home and Work Network.Server on my network serves as a local Testing Environment and database server and a NAS data backup. I do not work with servers daily but i need a solution for my problem which is not personal or anything.I said i have basic knowledge because i surely know people are working this stuff daily and there is a lot to learn.
I have this problem for some time now but i was not able solve it. Questions: connect two routers with different subnet and other comments helped a lot.
I am new to this but have some very basic knowledge to do it. Network Check the network image. There are 3 routers currently:
- Router 1
DHCP Internet
DNS for whole network
LAN IP : 192.168.1.1
Wif5G Band --> Wireless Repeater Router 2
Active DHCP Server: x.168.1.20 - x.168.1.120
Static Route: 192.168.0.0/24 : Gateway 192.168.1.3
- Router 2
Wireless Repeater Mode on Router 1 WIFI5G Band
LAN IP: 192.168.1.2
DHCP Server: INACTIVE
- Router 3
Connected to LAN 1 on Router 2 (Wireless Repeater)
STATIC WAN IP: 192.168.1.3
LAN IP: 192.168.0.1
Active DHCP Server: x.168.0.20 - x.168.0.200
Static Route: 192.168.1.0 : Gateway : 192.168.1.1
Ubuntu Server:
Static IP 192.168.0.170
I am using the first router as a DNS server because the repeater is a repeater so no DNS and Router 3 is not as Flexible with Settings as the Router 1. So i want to handle DNS from Router 1. I need to connect to Router 3 from Router 1 which is not working but when i am connected to Router 3, Connecting to Router 1 is working.
So my Situation:
ROUTER 1 ----> ROUTER 3 and its devices XX Not Working
ROUTER 3 ----> ROUTER 1 Working
As this is not working i am also not able to connect to the server also from devices connected to Router 1. Please suggest anything that needs to be changed or added so that Router 1 Devices can access server on Router 3 and Router 3's interface.
UPDATE: The route flags for Router 1 to Router 3 192.168.0.0/24 are "UG" only . UPDATE 2: Router 1 is now Connected to Router 3 Directly R1 Lan3 ----> R3 WAN.With no success still not able to ping R3 or the server on it from devices on R1.
ANSWER: The R3 have some serious in built firewall which is not possible to turn off and even putting filtering rules off and opening everything have problems and do not allow connecting to R3 from a WAN connection. Only possibility could be running another R1LAN to R3LAN allowing all LAN connections and WAN for Internet. Discussion with Matthias and Ron helped and if you don't have such type of router then it should be easy to connect to with simple Static Routing. Thanks everyone who helped.