Deco X20-4G doesn't work as IP route gateway for its subnet

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Deco X20-4G doesn't work as IP route gateway for its subnet

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Deco X20-4G doesn't work as IP route gateway for its subnet
Deco X20-4G doesn't work as IP route gateway for its subnet
2023-06-07 16:44:15
Tags: #Router mode
Model: Deco X20-4G  
Hardware Version: V1
Firmware Version: 1.0.5 Build 20210708 Rel. 64376

Hi everybody

 

I use a Deco X20-4G in router mode behing my internet modem.

My internet moden manage its own network in 192.168.1.0/24 IP

My Deco settings seem OK, but let's take a look

 

My Deco has a static IP 192.168.1.7 in the internet modem network and internet settings are OK : 

   - default gateway : 192.168.1.254 => the modem

   - subnet mask : 255.255.255.0

 

The Deco manage its subnet in 192.168.68.0/24.

in LAN IP Section is :

  - IP : 192.168.68.1

  - subnet mask 255.255.255.0

 

The default settings for Deco DHCP section are selected.

 

All devices in the modem subnet and in the deco subnet work normally and can reach internet 

All devices in each subnet can communicate with the other device in the same subnet

All devices in the Deco subnet can communicate with the modem subnet.

 

But a device (for example a RaspberryPI in 192.168.1.24) in the modem subnet can't reach a device in the deco subnet (for example a NAS in 192.168.68.113). Normal I didn't configure a route to the deco subnet with the deco as Gateway

 

So I added a route in my RPI in the modem network : 

 

route add -net 192.168.68.0/24 gw 192.168.1.7 

 

and the result : 

 

pi@raspberrypi:~ $ route
Table de routage IP du noyau
Destination      Passerelle          Genmask           Indic Metric Ref    Use Iface
default             192.168.1.254    0.0.0.0               UG    202    0        0 eth0
192.168.1.0     0.0.0.0                255.255.255.0   U       202     0        0 eth0
192.168.68.0   192.168.1.7        255.255.255.0   UG     0        0        0 eth0

 

But I still can reach the NAS from the RPI

 

Neither with a ping : 

 

pi@raspberrypi:~ $ ping 192.168.68.113
PING 192.168.68.113 (192.168.68.113) 56(84) bytes of data.
^C
--- 192.168.68.113 ping statistics ---
16 packets transmitted, 0 received, 100% packet loss, time 637ms

 

Nor with a traceroute : 

 

pi@raspberrypi:~ $ traceroute 192.168.68.113
traceroute to 192.168.68.113 (192.168.68.113), 30 hops max, 60 byte packets
 1  192.168.1.7 (192.168.1.7)  0.783 ms  0.584 ms  0.696 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

 

Deco is normaly used as gateway but it seems that the Deco does't manage IP gateway from the modem subnet to de Deco subnet.

While it manages it in the other way

Did I forget a setting ?

 

Could you help me ?

For information, i don't want to change the mode to choose the Access Point Mode.

 

Erlé

 

  0      
  0      
#1
Options
2 Reply
Re:Deco X20-4G doesn't work as IP route gateway for its subnet
2023-06-07 19:50:32 - last edited 2023-06-07 20:06:31

  @Erle 

 

In networking terms, this is what you have:

 

 

Router #1 - Your Internet modem/router

Router #2 - Main Deco X20-4G

 

The question you ask is why device (such as RaspberryPI) connected to Router #1 can't reach (ping, etc) device such as computer or NAS which is connected to Router #2. 

 

The answer should be clear from that diagram (hint: same reason you can't just ping your RaspberryPI from the Internet), but I can provide more detailed explanation if you'd like me to.

 

--------------------

Here is the list of common solutions to that, from easiest:

 

1. Configure Deco mesh to run in AP mode.

2. Connect everything to Deco mesh. Your Internet modem/router (Router #1 from the diagram) should only have Main Deco connected to it.

3. Place NAS to Router #2 DMZ - won't work, DMZ is not supported in Deco mesh.

4. Set port forwarding rules in Deco mesh.

  0  
  0  
#2
Options
Re:Deco X20-4G doesn't work as IP route gateway for its subnet
2023-06-08 08:15:39

Hi @Alexandre. 

 

First of all, thanks for your answer.

 

In deed the diagram from your answer represents well my situation.

I know that internet modem never route traffic from internet to a private network without doing port forwarding to a specific device. But in my situation, it is a little bit different. I try to communicate between two private networks. And I know that some routers can work as route gateway with ip forwarding.

 

So either Deco X20 could do it and I try to find good settings, or Deco X20 don't manage this functionality and I will change my network configuration.

 

In the second case, I will try the AP mode. In deed, if I only have one private network, there isn't any problem anymore. But it wasn't my first choice because of several reasons. But no mater it is sometimes necessary to change your point of view :)

 

Best regards

 

Erlé

  0  
  0  
#3
Options

Information

Helpful: 0

Views: 521

Replies: 2

Tags

Router mode
Related Articles