OpenWrt Forum Archive

Topic: Routers disconnecting from each other / internet

The content of this topic has been archived on 21 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I am having some issues with my routers, both running 17.01.4. I am using two routers, one is connected to the internet and running a DHCP server and the other one is just a dumb access point connected via a cable to increase the wireless network. The problem I have is that I am losing connection to the internet when I start a torrent. Mostly I am connected to the second router, which is connected to the first/main router. When I run diagnostics on the first router I can't ping 8.8.8.8 and a trace route is also not working. After a reboot everything is working fine again. Pinging between the first router and second router is also not possible anymore.

This are the config files:
Network (main)

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd60:ad6a:31fb::/48'

config interface 'lan'
        option ifname 'eth1'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'eth0'
        option proto 'dhcp'
        option peerdns '0'
        option dns '8.8.8.8 8.8.4.4'

config interface 'wan6'
        option ifname 'eth0'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 2 3 4 5'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '1 6'

Network second router:

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd64:e1da:6db7::/48'

config interface 'lan'
        option ifname 'eth0.1 eth0.2'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.2'
        option netmask '255.255.255.0'
        option gateway '192.168.1.1'
        option dns '192.168.1.1'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 2 3 4 5'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0t 1'

config interface 'tun0'
        option ifname 'tun0'
        option proto 'none'

What could be the cause of this?

What routers (model) are you using?
Anything useful in the logs?

Perhaps your torrent client is saturating the connection? How is it configured?

Hi, thanks for your replies. I am using two different routers. I am using the Archer C7 V2 as the mainrouter and the WDR4300 as the second router. There is nothing special to see in the logs as far as I can see. I will try to get the logs later this day. It seems that the problem I have only occurs when I am connected to the second router.

The discussion might have continued from here.