Как узнать, какое сетевое устройство используется для доступа к данному серверу
Ответ: You can use route get 8.8.8.8 to find out which interface and gateway on the local computer is used according to the local routing rules. The -4 and -6 options as on BSD don't work...