![centos 7 static ip setup centos 7 static ip setup](https://programmer.help/images/blog/38b31648b3297a4f1a5ac6ec4dd3bd09.jpg)
Note that down interfaces do not communicate with external network. Similalry to make interface down without removing IP address use: To make interface up without assigning IP adddress (for capturing packets, etc.) use: Note that IP addresses can be removed using: To configure static routes for current session (till next shutdown or reboot) use: To configure IP address using commands, where the changes would be lost on machine reboot, use:
![centos 7 static ip setup centos 7 static ip setup](https://benisnous.com/wp-content/uploads/2021/05/configure-static-IP-address-in-centos-7.jpg)
To configure a static IP on an interface use following steps: To look at current IP address configuration use: In such operating systems the only option is to use ' ip' command for obtaining network information. In newer versions of Operating Systems such as Fedora 20 or CentOS 7, older ifconfig and route commands are discontinuted. 1.3 Persistent static route configuration.To be compatible with Desktop and Server Systems, we do the configuration on the shell. This tutorial explains the configuration of a static IP address (IPv4 and IPv6), the hostname and nameservers on CentOS.
![centos 7 static ip setup centos 7 static ip setup](https://linuxhint.com/wp-content/uploads/2018/07/s2-4.png)
1.2 Persistent IP address configuration Linux Basics - Set A Static IP On CentOS.