SUSE Support

Here When You Need Us

SLE 15 - Configure a static network address while in the Rescue System

This document (7023891) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 15 - Rescue System


System need to be booted into Rescue System and network access is needed.


With SLE15 the "ip" command is used to setup an available network interface.
Assign a Static Address
ip a add {ip_addr/mask} dev {interface}
Example to assign to eth0
ip a add dev eth0
ip a add dev eth0
Bring Up The Network Interface
ip link set dev {device}  {up|down}
Example to bring up eth0 interface
ip link set dev eth0 up

Assign a Default Gateway
ip route add default via {gateway_addr}
Example to set as the default gateway
ip route add default via
Assign Additional Static Routes (if needed)
ip route add {network} via {gateway_addr}
Example to set as the gateway for subnet
ip route add via
At this point there should be connectivity, however if a change is needed the assigned IP address can be removed, so a new one can be used.
ip a del {current_ip_addr} dev {device}
Example deleting from eth0
ip a del dev eth0
The routes can also be removed.
ip route del {gateway_addr}
ip route del {network} dev {device}
Example removing default gateway
ip route del
Example removing from eth0
ip route del dev eth0


Current Linux releases have moved from "ifconfig" to "ip" for CLI configuration of the network interfaces.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7023891
  • Creation Date: 22-May-2019
  • Modified Date:24-Apr-2023
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.