How do I configure the Internet Protocol version 4 (IPv4) properties of a network connection with a static IP address for servers running Linux operating systems?
How do I configure static IP address under Fedora / Redhat Enterprise Linux server?
how to config linux ip address?
Today I will post a message about how to make changes to IP in Linux.
There are three ways to change IP in Linux.
First. Modify IP config file.
etc/sysconfig/network-scripts/ifcfg-eth0
edit ifcfg-eth0
vi ifcfg-eth0
IPADDDR should be replaced.
ONBOOT ="yes" <= default NO
Second. use command line interface .
ex)
ifconfig eth0 down
ifconfig eth0 192.168.111.14 netmask 255.255.255.0 up
Third. use GUI tool.
step1.
type "setup" in the terminal windows.
step 2. to choose Network configuration.
step 3. to choose Device configuration.
step 4. select current network Device.
step 5. edit IP address and enter OK.
save and network restart .
ex) service network restart OR sysctl restart network
Did it help you?
'computer&Electronics' 카테고리의 다른 글
[python]파이썬 배우기 1탄 hello word 출력하기! (1) | 2020.12.29 |
---|---|
파이썬[python]설치 및 기본 설정방법! (3) | 2020.12.28 |
linux commands :: how to show linux version? (0) | 2017.12.28 |
How to use the Linux ftp command to download files on the shell (0) | 2017.12.27 |
how to view battery percentage on iphone! (0) | 2017.12.20 |