Timeline for answer to Using command line to switch On/Off IPv4 or IPv6 network on macOS by Pierre Lagarde
Current License: CC BY-SA 4.0
Post Revisions
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 2, 2025 at 15:04 | vote | accept | Weishan Yang | ||
| May 1, 2025 at 15:28 | comment | added | Pierre Lagarde | Great ! Thanks for your feedback and additional information. Just corrected a grammar error from my initial post... | |
| May 1, 2025 at 15:24 | history | edited | Pierre Lagarde | CC BY-SA 4.0 |
added 1 character in body
|
| S Apr 30, 2025 at 15:10 | history | suggested | Weishan Yang | CC BY-SA 4.0 |
Update with the command line that I used for IPv4 network that proofed working.
|
| Apr 30, 2025 at 13:31 | review | Suggested edits | |||
| S Apr 30, 2025 at 15:10 | |||||
| Apr 30, 2025 at 13:06 | comment | added | Weishan Yang | Thanks for your hint, Pierre, and I've found out the switch for IPv4 will be like: sudo networksetup -setv4automatic Ethernet sudo networksetup -setdhcp Ethernet On and those commands works perfect for me. | |
| Apr 30, 2025 at 11:19 | history | answered | Pierre Lagarde | CC BY-SA 4.0 |