wiki:ifup_and_ifdown
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:ifup_and_ifdown [2020/04/29 14:16] – created walkeradmin | wiki:ifup_and_ifdown [2023/08/17 16:37] (current) – walkeradmin | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Simple Syntax ==== | ||
| + | \\ | ||
| + | So, to take down an interface, I would use the following: | ||
| + | \\ | ||
| + | \\ | ||
| + | <color # | ||
| + | \\ | ||
| + | Device ' | ||
| + | \\ | ||
| + | \\ | ||
| + | \\ | ||
| + | Simple, and to bring that interface back up: | ||
| + | \\ | ||
| + | \\ | ||
| + | <color # | ||
| + | \\ | ||
| + | Connection successfully activated (D-Bus active path: / | ||
| + | \\ | ||
| + | \\ | ||
| + | Wow, too easy. I use this normally when I have changed and IP Address and want to invoke that change quickly (without using the systemctl command or a reboot). | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | **What Went Wrong?** | ||
| + | \\ | ||
| + | \\ | ||
| + | Now, this is not going to affect everyone, but in our systems we sometimes have to prove redundancy by taking down an interface, letting a device detect this and watching the system automatically switch. Sounds simple enough, but it seems that using a simple <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | To properly take the interface down, so that it is recognised as being down from a ' | ||
| + | \\ | ||
| + | \\ | ||
| + | <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | And inversly: | ||
| + | \\ | ||
| + | \\ | ||
| + | <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | This will ensure that the interface goes fully down, and that other devices can recognize that the interface is down. | ||
| + | \\ | ||
| + | \\ | ||
| + | I sincerely hope this saves you some pain :) | ||
| + | \\ | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | |||
wiki/ifup_and_ifdown.1588169804.txt.gz · Last modified: (external edit)
