0

At work, I have 2 interfaces active: WiFi and Ethernet.

Eth connects to company network for shared volumes over SMB. But then no Internet.

WiFi connects to Internet, but not to company network.

I cannot mount shared volumes if "Set Service Order" has WiFi in first position; and I cannot access my FTP if it's set to Ethernet.

Is there some way I can specify which protocol will use which interface?

Or at least direct certain IPs/servers to Eth?

  • Are you doing this to avoid a company policy about connecting (or not connecting) to the Internet? There can be good security reasons to implement such a policy. Just saying, be careful. – Gilby Dec 6 '19 at 4:53
1

Thanks to this article, I did it with

sudo networksetup -setadditionalroutes Ethernet 10.25.254.66 255.255.255.0 10.25.19.254 10.25.252.223 255.255.255.0 10.25.19.254

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .