How to Change Your IP Address From the Command Line in Linux
Опубликовано: 23 Октябрь 2024 на канале: Kärl Schilv
1,727
19
Set Your IP Address, Netmask, Gateway on your Linux interface.
ip addr
vi /etc/sysconfig/network-scripts/ifcfg-eth0
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.1.254
BOOTPROTO=static
#service network restart