RTNETLINK answers: File exists in alpine router
Solution 1:
Your system has an eth0
interface, where the subnet is 192.168.1.0/24
.
When you are trying to add a route on second interface for the same subnet, the kernel returns the error message, because that would create duplicate routing entry for the subnet: One via eth0
interface and another via 192.168.100.101
router.