Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:static_ip [2018/03/06 10:06] billdozor [Redhat/CentOS Systems] |
linux_wiki:static_ip [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 15: | Line 15: | ||
if possible, bring interface down first: ifdown eth0. | if possible, bring interface down first: ifdown eth0. | ||
- | * Edit / | + | * Edit / |
* DHCP Setup Example (Default)< | * DHCP Setup Example (Default)< | ||
Line 35: | Line 35: | ||
==== Redhat/ | ==== Redhat/ | ||
- | | + | Classic and NetworkManager methods of setting IP addresses for EL distros. |
+ | |||
+ | === Classic (network) Method === | ||
+ | |||
+ | Using config files and the network service. | ||
+ | |||
+ | | ||
* DHCP Setup Example (Default)< | * DHCP Setup Example (Default)< | ||
Line 50: | Line 56: | ||
GATEWAY=192.168.0.254</ | GATEWAY=192.168.0.254</ | ||
- | * Edit / | + | * Edit / |
nameserver 8.8.8.8 | nameserver 8.8.8.8 | ||
Line 56: | Line 62: | ||
* Restart network service< | * Restart network service< | ||
+ | |||
+ | === Network Manager === | ||
+ | |||
+ | Using the NetworkManager service. | ||
+ | |||
+ | \\ | ||
+ | Static IP/Gateway | ||
+ | * Set a static IP on an existing interface (eth0)< | ||
+ | * Apply settings< | ||
+ | |||
+ | \\ | ||
+ | Static DNS | ||
+ | * Set a static DNS entry< | ||
+ | * Apply changes< | ||
+ | |||
+ | ---- | ||