Reply To: Can’t access my second ip after several minutes

Home Page Forums Network Management ZeroShell Can’t access my second ip after several minutes Reply To: Can’t access my second ip after several minutes

#53020

ccipa
Member

My last config is :
sudo route del -net 192.168.250.0 netmask 255.255.255.0 gw 0.0.0.0

sudo route del default gw 62.210.136.1

sudo route del 62.210.136.1 dev ETH00
sudo route add 62.210.136.1 dev ETH00 metric 2
sudo route add default gw 62.210.136.1 dev ETH00 metric 2

sudo route del 62.210.136.1 dev ETH01
sudo route add 62.210.136.1 dev ETH01 metric 1
sudo route add default gw 62.210.136.1 dev ETH01 metric 1

When i can’t acces internet on both, i just have to change “metric 2” to “metric 0” and launch this script

It works 5 min and i can’t access it.

I have to change the “metric 0” to “metric 2” and it works again for several minutes…

I don’t reach to have a permanent access on both ip