Create Multiple IP Addresses to One Single Network Interface

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.95/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...

76 Responses

  1. Sasravanan says:

    Is the alias IP permanent?

  2. sumit says:

    Please tell me minimum hardware requirement of RHEL 7.

  3. Tom Ching says:

    Thanks for the easy to understand tutorial. I just want to point out a minor correction that got me a bit confused. In the 3rd table, which I copied below, the ip addresses are missing a “1” after the last decimal as “.25” should be “.125”, “.26” should be “.126″…etc.

    Adapter IP Address Type
    eth0 Primary
    eth0:0 Alias 1
    eth0:1 Alias 2
    eth0:2 Alias 3

    This should be the correct table consistent with the ip addresses used in the example by the author:

    Adapter IP Address Type
    eth0 Primary
    eth0:0 Alias 1
    eth0:1 Alias 2
    eth0:2 Alias 3

    • Ravi Saive says:


      Yes, you are correct those IP addresses needs to be like 125, 126 and so on. I have corrected in the article..

  4. Rahul says:

    Narad, You are a life saver

  5. Prateek Sharma says:

    I created a new virtual eth0:01
    And did service restart
    Still not reflecting
    In ifconfig

  6. Antonio Formica says:

    Can I have diferent gateway?, I have 2 routers with two diferent provider

  7. mojgan kavehei says:

    I enjoyed this article and it was very helpful! Thanks!

  8. Raghuveer says:

    Nice explanation. I like this site very much. Every thing can be understood very easily and precisely‚Äč.
    Many thanks !!

  9. Vijay Bisalahalli says:

    DHCP for virtual interface is not working !

  10. Mahesh says:

    Can we add to different subnet if yes then how

    • Vijay Bisalahalli says:

      If you want to create a virtual interface with some subnet, the respective subnet should be physically connected to the machine

Got something to say? Join the discussion.

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