December 2015
Intermediate to advanced
250 pages
4h 41m
English
Changing your IP addresses is pretty straightforward in the old ifcfg-style files, and it's actually pretty simple using NetworkManager tools as well.
As kickstart is only used to set up a system, it is not relevant to go in depth into this matter in this recipe.
Let's change our current IPv4 address and gateway for eth1 to 10.0.0.3/8, with 10.0.0.2 as the default gateway.
Perform the following steps:
~]# nmcli connection modify eth0 ipv4.addresses 10.0.0.3/8 ipv4.gateway 10.0.0.2
~]# nmcli connection show eth0
Here is an example output of the preceding ...