Suse Linux Add IP Address Aliases

by on March 18, 2008 · 0 comments· LAST UPDATED March 18, 2009

in , ,

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

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.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as: , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: