[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> Hello,
> 
>    I'm upgrading a machine to FC3 that has two ethernet interfaces.
> They are coming up in the reverse order compared to the 2.4
> kernel. So, the NIC associated with eth0 before is now associated
> with eth1 under 2.6. I'd like to control the order if possible. I found
> one link that might help,
> 
&gt; <a  rel="nofollow" href="http://www.xenotime.net/linux/doc/network-interface-names.txt";>http://www.xenotime.net/linux/doc/network-interface-names.txt</a>
&gt; 
&gt; but I'd rather not go through this painful task of having to rework
&gt; all of the interfaces, particularly if I have to reinstall FC3 (I don't
&gt; want to have to redo everything again). Does anyone have any
&gt; suggestions?

If they use different drivers, control with /etc/modprobe.conf:

alias eth0 e1000
alias eth1 tg3
alias eth2 r8169

If they use the same driver, control with the network config scripts. For 
eth0,

/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
HWADDR=eth0.MAC.address
...

For eth1,

/etc/sysconfig/network-scripts/ifcfg-eth1:
DEVICE=eth1
HWADDR=eth1.MAC.address
...


There are other ways, but those are the simplest.

later,
chris


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00496" href="msg00496.html">[ale] Controlling network interface order in 2.6 kernel</a></strong>
<ul><li><em>From:</em> mness215 at comcast.net (Christopher Ness)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00478" href="msg00478.html">[ale] Controlling network interface order in 2.6 kernel</a></strong>
<ul><li><em>From:</em> laytonjb at charter.net (Jeffrey B. Layton)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00491.html">[ale] up2date - HOWTO question...</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00493.html">[ale] [Fwd: [unemployed] Unix/Windows Systems Administrator	Needed ASAP!]</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00484.html">[ale] Controlling network interface order in 2.6 kernel</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00496.html">[ale] Controlling network interface order in 2.6 kernel</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00492"><strong>Date</strong></a></li>
<li><a href="threads.html#00492"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>