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

    Multiple PCI Nics

    How does linux detect and assign names to ethernet cards? I have three that need to be configured so that the "top" pci slot is assigned to eth0, the second to eth1 and so on. Is there a way to do this w/o knowing what those cards will be everytime(I need something that will assign those names to the corresponding cards, no matter what card the user uses...EX: you could swap the cards around and it would still assign them correctly)?

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Your NICs will be detected and named in the same order everytime if you don't move thier physical positioning, AFAIK. I'm not sure how Linux detects which is which, though, but I'm pretty sure their names won't change.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Oct 2003
    Up Norf
    When you run ifconfig on your cards, the device driver would be linked to the MAC address of the card, so swapping another (identical) card into the slot may not work.

  4. $spacer_open

Posting Permissions

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