Fix incorrect gateway on three interfaces and more