Zend certified PHP/Magento developer

Arch does not detect modem switching via a mechanical switch

Having two internet connections at home, I bought this switch to choose which network to use:
enter image description here

The problem is, like flipping the switch, the Arch doesn’t notice the network change and hangs until I reset it with:

nmcli con down 'Network 1'
nmcli con up 'Network 1'

How can I do to have the connection reset automatically?