Reputation
Top tag
Next privilege 100 Rep.
Edit community wikis
Badges
9
Newest
 Scholar
Impact
~733 people reached

Jan
2
awarded  Benefactor
Jan
2
awarded  Scholar
Jan
2
comment How to set route specific interface metrics under Mac OS X
Hey thanks, that did the trick. I have been doing this for 20 years, but never knew about secondary IP addresses. Added that remark to your answer.
Jan
2
revised How to set route specific interface metrics under Mac OS X
Added comment about secondary IP address.
Jan
2
accepted How to set route specific interface metrics under Mac OS X
Jan
2
suggested approved edit on How to set route specific interface metrics under Mac OS X
Jan
1
comment How to set route specific interface metrics under Mac OS X
I tried it, it works mostly, but unfortunately one crucial part does not. My Linux machine which plays video's from the NAS (after Time Machine backups the most important usage) cannot reach it. The Linux laptop is located in the living room and is connected via WiFi to router 1. It cannot connect to the NAS, because it has to be on the 192.168.0.0 subnet to see the router.
Dec
30
comment How to set route specific interface metrics under Mac OS X
I agree, I didn't like the idea of using a script to persist the routes either. I will try out your solution. I want to see if it is going to work with auto-discovery and my network speaker.
Dec
30
comment How to set route specific interface metrics under Mac OS X
Sure, as I said at the end of the question that is a way (although it would force me to change the addresses of other computers). However, I mainly wanted to know if there is another way, because I think a network topology with two routes to the gateway should be possible, even with a Mac.
Dec
30
awarded  Revival
Dec
29
revised How to set route specific interface metrics under Mac OS X
added 338 characters in body
Dec
28
revised How to set route specific interface metrics under Mac OS X
added 333 characters in body
Dec
28
comment How to set route specific interface metrics under Mac OS X
I now added the whole routing table, although I don't really see the difference with leaving out a few addresses that have nothing to do with the issue.
Dec
28
revised How to set route specific interface metrics under Mac OS X
added 945 characters in body
Dec
27
awarded  Teacher
Dec
27
revised OSX Yosemite - How to add route having two default gateways
added 2 characters in body
Dec
27
answered OSX Yosemite - How to add route having two default gateways
Dec
26
revised How to set route specific interface metrics under Mac OS X
added 1 character in body
Dec
26
comment How to set route specific interface metrics under Mac OS X
Ah yes, I removed the output of route -n get 192.168.0.1 again, because it was not instructive anymore. The routes are duplicated, because by default the Mac creates all of these. I left half of the routing table out here for brevity.
Dec
26
revised How to set route specific interface metrics under Mac OS X
Change title to reflect new situation, add UPDATE