Network card naming issue

I have a Sun server running SuSE with 2 network cards, the cards naming is eth0-to-eth3 for the first card, and eth4-eth7 for the second one, I've replace the second card and I got naming issue: I got eth4, eth5, eth7, eth8 I mean the system doesn't see eth6 so it took eth7 instead, is there a way to fix this, in other word is there a way to rename the interfaces [ethxx] or to clear the system config then the system will take them automatically in the right order.

Thank you guys
(^_^)

You can likely delete all the interfaces with yast and then rescan for them, or alternately create a udev rule based on the PCI address (rather than HW address). That will give you they most consistent naming. You may also want to add a nobfsort option to your kernel parameters in grub.

http://linux.dell.com/files/whitepapers/nic-enum-whitepaper-v3.pdf

Thank you so much man, it's very helpful

have a nice day

No problem. If you want to know what PCI address your NICs are, you can use ethtool -i

That will also tell you what driver and firmware they use.

ethtool -i eth0
driver: tg3
version: 3.108
firmware-version: 5722-v3.11
bus-info: 0000:02:00.0

Yes ethtool is very helpful also, I solved my problems with network card (^_^)