Create Multiple IP Addresses to One Single Network Interface

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

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.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

42 Responses

  1. Eli Shani says:

    Hi
    I need to create multiple address on one NIC bond0 and bond0:1 but the address on bond0 need to be 0.0.0.0 and on bond0:1 any address on the network. the operating system is CentOs 7

  2. JC says:

    In a single NIC configuration, does the BOOTPROTO have to be “static”, or can each be “dhcp” if reservations are on the DHCP server?

    I’ll answer my own question (perhaps) with an assumption of yes, since a DHCP server won’t be able to farm out to IP’s to the same MAC… true?

  3. sankar says:

    sir
    Example:

    I have lan connection and wifi connection for Desktop and laptop with staic ip
    Range is given below for example
    172.125.10.1 to 172.125.10.254

    Some Peoples are using static ip in mobile and tablet,,How to block it those device and any free tools are available or what

    Any procedure means in centos or windows Please tell me

  4. ice says:

    God Bless You !!!

  5. Denis says:

    Hi! Please tell me how to configure ipv6 for different interfaces without using the settings interface ipv4, is it possible at all on centos?
    n the interface settings should I prescribe the following:
    DEVICE=eth0:0
    BOOTPROTO=static
    ONBOOT=yes
    IPV6INIT=yes
    IPV6ADDR=2a01:230:2:6::9eb/64

    but the resulting console responds:
    error in ifcfg-eth0:0: didn’t specify device or ipaddr

  6. raj says:

    [root@kraj-garth ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0-range0
    DEVICE=eth0
    HWADDR=00:50:56:bb:20:71
    ONBOOT=yes
    BOOTPROTO=none
    GATEWAY=10.95.107.1
    DNS1=10.95.158.2
    NETMASK=255.255.255.0
    TYPE=Ethernet
    IPV6INIT=no
    IPADDR_START=10.95.107.160
    IPADDR_END=10.95.107.200
    USERCTL=no

    but not able to create mulitple ips

  7. Bhoomika says:

    How many such multiple virtual IP addresses can be created on single network interface for linux-CentOS 6.5?

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Join Over 80000+ Linux Users
  1. 53,676
  2. 2,838
  3. 20,639

Enter your email to get latest Linux Howto's