Suse Linux Add IP Address Aliases

by Vivek Gite on March 18, 2008 · 0 comments

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.

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 14 + 14 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: