Suse Linux Add IP Address Aliases

How do I add more than two IP address under Suse Linux Enterprise Server (SLES 10) or OpenSuse Linux?

Under Suse / OpenSuse Linux you need to use a tool called YaST to add multiple ip address to ethernet interface.

Open terminal (if it is a remote box, use ssh).

Login as root.

Type the following command to configure LAN interface using YaST:
# yast2 lan
Press Alt+N to goto the Next page:

Suse Linux yast2: Adding Secondary IP Aliase

Now use [Tab] key to select interface such as eth0 or eth1.

Press [ALT+I] to edit interface such as eth1.

Press [Alt+V] to select Advanced option.

Select Additional Addresses.

Press [Alt+D] to Add additional address.

Now input the IP Address in the following box. Input the Netmask in the last box.

Press [Alt+O] to continue through OK box.

Press [Alt+N] for the Next screen session.

Finally, review the new configuration and press [Alt+F] to Finish the configuration. YaST will go through and update your configuration files and bring up your network interfaces.


🐧 Please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Problem posting comment? Email me @ webmaster@cyberciti.biz