Set up static IP address
You can configure a static IP address for the rescue system in two ways:
To modify the boot parameters during the boot process
-
At the GRUB menu, select Recover or Automatic Recover item and press āeā to edit boot options.
-
Append the desired network setting in this format:
ip=<client-ip>:<srv-ip>:<gw-ip>:<netmask>:<host>:<device>:<autoconf> nameserver=<nameserver>For example:
ip=10.220.83.123::10.220.83.1:255.255.255.0:::off nameserver=10.220.0.10 -
Enter Ctrl-x or F10 to boot.
To modify the systemd-networkd configuration file
-
Open the /lib/systemd/network/99-ethernet.network file using vi or nano, and update it as follows:
[Match] Type=ether [Network] Address=<IP address> Gateway=<Gateway IP address> DNS=<DNS IP address>
For example,
[Match] Type=ether
[Network] Address=10.220.83.123 Gateway=10.220.83.1 DNS=1.1.1 -
Restart the systemd-networkd service:
systemctl restart systemd-networkd
Ensure that network settings have been applied correctly using ip a command.

