-2

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.

  • It looks like the ARP requests for address 192.168.1.3 don't get from Router 1 to Router 3. Can you verify this by listening for ARP at the WAN interface on Router 3 with tcpdump? – Mathias Weidner Apr 15 '21 at 12:49
  • Off topic: I am new to this but have some very basic knowledge to do it means it is off topic here. We do not provide learning material. Basic knowledge of networking is required as per site rules. As is following business best practices. And the question has to be in a business environment. As it stands, it belongs to superuser.com – TomTom Apr 15 '21 at 12:58
  • Sorry ,TomTom I found that server fault have many questions similar to this and even after situation matching to mine I was not able to do it.I am new to this but surely a genuine problem which is related to another question on server fault. – Dushyant Deshwal Apr 15 '21 at 13:10
  • @Mathias Weidner ok, I will try this and get back to you. – Dushyant Deshwal Apr 15 '21 at 13:10
  • @MathiasWeidner There is no way i could find to access the data or listen to ARP request on router 3.These are consumer grade hardware and on top of that Router 3 have least things to tinker with. – Dushyant Deshwal Apr 15 '21 at 14:30
  • Can you set up Router 2 as a real router, not just a repeater? That means different networks on wireless and LAN. Don't forget to set up the necessary routes on Router 1 and Router 3. – Mathias Weidner Apr 15 '21 at 17:03
  • @MathiasWeidner As Ron Trunk from the answer below suggested me to eliminate router 2 and just connect R3 to R1 directly on R1-LAN -----> R3- WAN . I did that but i am not able to ping R3 and the devices connected to it. Do WAN handle Connection to outer devices differently than LAN? If so then there should be some way to allow connection from R1 (WAN supplier to R3) and its devices to connect to the R3 and its devices. – Dushyant Deshwal Apr 15 '21 at 18:03

1 Answers1

0

Router 3 needs a static default route to 192.168.1.1.

Router 1 needs a static route 192.168.0.0/24 gw: 192.168.1.3.

You can remove the static route on router 3.

Ron Trunk
  • 2,149
  • 1
  • 10
  • 19
  • Thanks Ron for the reply, I did that.With or without a static route on Router 3 the Results are same not able to go from Router 1 ---> Router 3. Router 1 have a static route 192.168.0.0/24 through gw: 192.168.1.3 – Dushyant Deshwal Apr 15 '21 at 13:57
  • Does router 3 have a firewall enabled? – Ron Trunk Apr 15 '21 at 14:09
  • No, there are no rules set in firewall and everything is disabled on all 3 routers. – Dushyant Deshwal Apr 15 '21 at 14:12
  • When you say *connect to router 1* What exactly, are you doing? Ping test? From where to where? – Ron Trunk Apr 15 '21 at 14:17
  • A PC connected to Router 3 and access the IP 192.168.1.1 and 192.168.1.2 (The Wireless Repeater Router 2) and I get the local interface for settings and all. Also I have a DNS Entry on Router 1 with server.ubuntu which points to 192.168.0.170 (Which is on Router 3). So when i am connected to router 3 i can even put that "server.ubuntu" in web browser and i am able to access the server. But same is not possible while being connected to a device on Router 1. 192.168.0.1 give no result (Not found) and same for 192.168.0.170 or server.ubuntu for the server. – Dushyant Deshwal Apr 15 '21 at 14:25
  • From a server on router 1, you get an address 192.168.1.x, correct? If so, can you ping 192.168.1.3 and 192.168.0.1? – Ron Trunk Apr 15 '21 at 14:56
  • On server or PC [192.168.1.87] Currently on Router 1 i get address 192.168.1.x . I cannot ping 192.168.0.1 or 192.168.1.3 .Which is weird because it is connected to this router and i can see DHCP assignment 192.168.1.3 Pinging results to Request Timed Out. – Dushyant Deshwal Apr 15 '21 at 15:11
  • Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/123024/discussion-between-dushyant-deshwal-and-ron-trunk). – Dushyant Deshwal Apr 15 '21 at 15:11
  • When Router 3 is in the same broadcast domain like Router 1, does Router 1 send ARP requests on WiFi to get the MAC address? When Router 3 does a PING to Router 1, the MAC address comes with the PING. That would explain why it works in one direction but not the other. – Mathias Weidner Apr 15 '21 at 17:08