If a Linux box has 2 network card, an easy way to swap the order, swapping eth0 and eth1, is to change the alias setting in /etc/modprobe.conf.
But how about the machine which has 2 cards using the same driver? The trick is to change MACADDRESS correspond to each card to your desire order. For CentOS, this can be set in /etc/sysconfig/network-scripts/ifcfg-eth*. Swap it, stop network (service network stop), remove driver, then start network again (service network start)
Tuesday, March 17, 2009
Subscribe to:
Post Comments (Atom)
0 ความคิดเห็น:
Post a Comment