mac_os
no way to compare when less than two revisions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | mac_os [2021/01/10 10:53] (aktuell) – angelegt matthias | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Mac OS ====== | ||
+ | ===== Statisch Rotue eintragen ===== | ||
+ | |||
+ | list your network locations: | ||
+ | networksetup -listlocations | ||
+ | |||
+ | choose your desired network location: | ||
+ | sudo networksetup -switchtolocation < | ||
+ | |||
+ | list " | ||
+ | networksetup -listallnetworkservices | ||
+ | |||
+ | list persistent routes on " | ||
+ | networksetup -getadditionalroutes Ethernet | ||
+ | |||
+ | add your route to " | ||
+ | sudo networksetup -setadditionalroutes Ethernet 192.168.1.0 255.255.255.0 10.0.0.2 | ||
+ | |||
+ | list persistent routes on " | ||
+ | networksetup -getadditionalroutes Ethernet | ||
+ | |||
+ | To see all commands: | ||
+ | networksetup -help or | ||
+ | networksetup -printcommands | ||
mac_os.txt · Zuletzt geändert: 2021/01/10 10:53 von matthias