Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    Täby, Sweden
    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
    sorry, but it doesn't seem to work...

  4. $spacer_open
  5. #4
    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
    San Antonio
    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
    Cardiff, Wales

    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