Create Multiple IP Addresses to One Single Network Interface

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Narad Shrestha

He has over 10 years of rich IT experience which includes various Linux Distros, FOSS and Networking. Narad always believes sharing IT knowledge with others and adopts new technology with ease.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

81 Responses

  1. Vaibhav Chaurasiya says:

    I tried it in virtual box multiples interface not reflecting in ifconfig however it’s showing as network available but at a time only one interface is working and tried to ping other interfaces like eth0:2,3,4 from eth0 its showing Destination host unreachable

  2. Rahul Gupta says:

    It is not working on RHEL 7

  3. lolwot says:

    Does that also work for IPs in different subnets?

  4. Stuart says:

    I like the alias table display. How did you format it into Adapter, IP Address, Type columns?

    • pavlos says:

      given a text file like (lots of white space)

      eth0   primary
      eth0:2              alias
      eth0:3    alias
      $ cat file | column -t

Leave a Reply to lolwot Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.