My usual fix for dealing with that problems is using a proxy and only having one gateway. Some server or network related unix and linux tools usually have a flag called "interface", where you can tell which interface you wanna use, like in tcpdump, for example: tcpdump -i eth0īut as I think you are asking about routing standard desktop software, that gets a bit more difficult. Problem is that you're going to have multiple gateways to your network connection, and that's a bit difficult to manage. So if Ether has an address of 1.2.3.4 and comes before Wi-Fi (5.6.7.8) in the service order, I have my app proxy to 5.6.7.8. It will use that interface to get out and that way bypass the company proxy and monitoring servers. If I want an app to not use Ether in my case, I set the proxy settings for the app to the IP address of my wi-fi adapter. You can also do this from terminal using /usr/bin/networksetup -ordernetworkservices.īut for having both active and an app use the non-default, I've had luck with a slightly easier spin on advice. When I go home, there is no need to adjust any settings. Since I use Ether at work, I set up that NIC with proxy settings and my Wi-Fi without. Drag and drop the order you want them in.įor example, I have Ether and WiFi always active on my MBP with Ether set above Wi-Fi. If you just want to have two NICs active at the same time, you can set the Service Order in System Preferences/Network by choosing the gear below the list of network devices.
0 Comments
Leave a Reply. |