Suse Linux Add IP Address Aliases

by on March 18, 2008 · 0 comments· last updated at March 18, 2009

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.



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

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

Previous Faq:

Next Faq: