How to change IPv4 ip address in Linux 7

You Change Your Linux ipv4 IP address with
few commands.

#nmcli connection show
(show your Connection)

#nmcli connection modify 'System eth0' ipv4.addresses 'YOUR NEW IP/Subnet GATEWAY'

example :- nmcli connection modify 'System eth0' ipv4.addresses '172.25.2.10/24 172.25.254.254'

(Modify your ipv4 Ip address)

#systemctl restart network
#systemctl enable network
(Restart IP service)

#ifconfig
(show IP address)


you also watch my video :-

Comments

Popular Posts