--- Ursprüngliche Nachricht --- Von: malcolm <malcolm@malcolm-agnew.de> An: suse-linux@suse.com Betreff: Re: Netzwerkschnittstelle eth0 + eth1 werden bei Boot ab und an getauscht Datum: Wed, 25 May 2005 13:58:53 +0200
On Wednesday 25 May 2005 12:47, Axel Birndt wrote:
first create a file "/etc/mactab" something like this:
% cat /etc/mactab # Begin /etc/mactab # This file relates MAC addresses to interface names. # We need this so that we can force the name we want # even if the kernel finds the interfaces in the # wrong order.
# eth0 --- realtek extern 00:00:B4:93:09:18
# eth1 --- intel intern 00:90:27:CB:B3:DB
# End /etc/mactab %
Then in "/etc/init.d/network" add the following lines marked "+" if [ "$MODE" = onboot -a "$ACTION" = start ] ; then rm -f ${RUN_FILES_BASE}/if-* rm -f ${RUN_FILES_BASE}/ifup-* rm -Rf ${RUN_FILES_BASE}/tmp rm -f ${RUN_FILES_BASE}/route-stack-* 2>/dev/null + echo "############## STARTING NAMEIF #######################" + if [ -e /etc/mactab ] + then + # if /etc/mactab exists then set up the named interfaces + nameif + fi
fi ..... Malcolm
hi, thank you for your help. it works fine.But the orginial Problem was, that vmware was not happy, that the eth0 and eth1 Identifier changes by boot. Do you know a way that i can give vmware the right Indetifier ? Thank you for your help. Greetings axel -- 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++