wiki:static_and_dynamic_ip_on_a_single_interface
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:static_and_dynamic_ip_on_a_single_interface [2017/10/16 21:21] – created walkeradmin | wiki:static_and_dynamic_ip_on_a_single_interface [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Static and Dynamic IP on a Single Interface ====== | ||
+ | <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | ---- | ||
- | + | ===== Introduction ===== | |
- | + | During the configuration of an MFEL (CentOS 7.2, MFEL 7x) I suddenly lost connection. After some investigation i noticed that my control interface had two addresses. When I did an <color #ed1c24>ip a</color> on the interface, I saw something similar to the section below. | |
- | + | \\ | |
- | 1: lo: < | + | <file> |
- | link/ | + | |
- | inet 127.0.0.1/8 scope host lo | + | |
- | | + | |
- | 2: ens513f0: < | + | |
- | link/ether 00: | + | |
- | inet 10.0.3.67/24 brd 10.0.3.255 scope global ens513f0 | + | |
- | | + | |
- | 3: ens513f1: | + | |
- | link/ether 00: | + | |
- | 4: ens513f2: < | + | |
- | | + | |
- | 5: ens513f3: | + | |
- | link/ether 00: | + | |
6: enp4s0f0: < | 6: enp4s0f0: < | ||
link/ether 00: | link/ether 00: | ||
inet 10.43.3.67/ | inet 10.43.3.67/ | ||
| | ||
- | 7: enp4s0f3: | + | inet 10.43.2.244/ |
- | link/ether 00:1e:67:eb:69:4d brd ff: | + | |
+ | </file> | ||
+ | \\ | ||
+ | I tried to add <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | ==== Disable Network Manager ==== | ||
+ | \\ | ||
+ | To disable the Network Manager, at the CLI, enter the following: | ||
+ | \\ | ||
+ | < | ||
+ | systemctl disable NetworkManager.service | ||
+ | systemctl stop NetworkManager.service | ||
+ | systemctl restart network | ||
+ | </ | ||
+ | \\ | ||
+ | I did a reboot and confirmed that I now only had the Static IP that I had configured in my interface configuration file (/ | ||
+ | \\ | ||
+ | \\ |
wiki/static_and_dynamic_ip_on_a_single_interface.1508185270.txt.gz · Last modified: 2023/03/09 22:35 (external edit)