Results 1 to 5 of 5

Thread: Multiple IP Addresses

  1. #1
    Join Date
    Nov 2007
    Location
    Bundaberg, Australia
    Beans
    31
    Distro
    Hardy Heron (Ubuntu Development)

    Multiple IP Addresses

    Hi all,

    I've been searching for a few days but can't the info im looking for, so here i am.

    I'm wondering if there is a way I can assign multiple IP addresses to my network interface - like an alias i guess. I know it can be done easily in Fedora, can it be done in Ubuntu?


    Thanks

  2. #2
    Join Date
    Jan 2007
    Beans
    5,549

    Re: Multiple IP Addresses

    go to System->administration->network and then go to the HOSTS tab

  3. #3
    Join Date
    Nov 2007
    Location
    Bundaberg, Australia
    Beans
    31
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Multiple IP Addresses

    I had a look but I dont think thats what I need unless I'm missing something?

    Ill clarify what I want to do.
    I currently get a static ip from my dhcp server (192.168.10.20)
    I want to also be to have an ip of 192.168.1.x at the same time to configure new hardware etc.

  4. #4
    Join Date
    Nov 2007
    Location
    Bundaberg, Australia
    Beans
    31
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Multiple IP Addresses

    I've found how to do it if anyone else is interested..


    Code:
    sudo ifconfig eth0:0 192.168.1.1 up
    Where you would substitute eth0 for your network interface and 192.168.1.1 for the IP you want alais.

  5. #5
    Join Date
    Jul 2007
    Location
    Kuala Lumpur, Malaysia
    Beans
    265
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Multiple IP Addresses

    Quote Originally Posted by sakid View Post
    I've found how to do it if anyone else is interested..


    Code:
    sudo ifconfig eth0:0 192.168.1.1 up
    Where you would substitute eth0 for your network interface and 192.168.1.1 for the IP you want alais.
    Just edit all the IP address in /etc/network/interfaces, then restart the network.

    Use belwo to check IP addr,

    ip addr show

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •