Find the answer to your Linux question:
Results 1 to 6 of 6
I want to configure my Network Interface Card to respond to three differnet addresses. Can you help me please?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2002
    Posts
    11

    How do I setup my NIC with three IP addresses?


    I want to configure my Network Interface Card to respond to
    three differnet addresses. Can you help me please?

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    It was a long time since I did this, but I think you can use the device name followed by a colon and a number, eg. "eth0:0" for the first address, "eth0:1" for the second and so on. I'm not sure, though.

  3. #3
    Just Joined!
    Join Date
    Dec 2002
    Posts
    11
    sorry, but it doesn't seem to work...

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2002
    Posts
    11
    it does work! thanks a lot!
    I ifup my eth1 card, and then I ifconfig eth1:0 address netmask address
    and it worked. You have been very helpful Dolda

  6. #5
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    in RedHat you can do this with the netconfig script. It basically sets up /etc/sysconfig/network-scripts/ifcfg-eth0:1,2,3, etc.
    I respectfully decline the invitation to join your delusion.

  7. #6
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    GUI Tools

    I used the GUI to do this
    in gnome -> System Tools -> Network Device Control

    Then just add an additional ethernet device, choose same card new IP address and activate it.

    No command lines here.

Posting Permissions

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