someone else wrote and sent me the link sometime ago but i forgot the url
but here is a snip of the text that person wrote:
I'm told that this problem only shows up under certain circumstances and
that it's not specific to SuSE 9.3. I don't know - I've only ever
s een it on SuSE 9.3, but hey... Anyway, For
the archives, here's the finished workaround for using shorewall with SuSE
9.3 I've been told abo ut another approach,
but frankly, this works - so I don't plan to fix it.
Put the following in /etc/rc.d/S07shorewall, right after start) and before
exec /sbin/shorewall -f start
(Alternatively, you can put it in S05network, as the next to the last line
in case $action='START')
(Mind the word wrap - there are blank lines between each command)
echo "Stabilizing eth interface names" >/var/log/ifaceinit
echo -n "Stabilizing eth interface names"
echo "Before------------------------------" >>/var/log/ifaceinit
/sbin/ifconfig >>/var/log/ifaceinit
/sbin/ifconfig eth0 down >>/var/log/ifaceinit 2>>/var/log/ifaceinit
/sbin/ifconfig eth1 down >>/var/log/ifaceinit 2>>/var/log/ifaceinit
'# remember to insert YOUR MAC ADDRESSES - these are mine!
/sbin/nameif foo0 00:40:05:7A:E0:84 >> /var/log/ifaceinit
2>>/var/log/ifaceinit
/sbin/nameif foo1 00:09:5B:BD:A5:98 >> /var/log/ifaceinit
2>>/var/log/ifaceinit
/sbin/nameif eth0 00:40:05:7A:E0:84 >> /var/log/ifaceinit 2>>
/var/log/ifaceinit
/sbin/nameif eth1 00:09:5B:BD:A5:98 >> /var/log/ifaceinit 2>>
/var/log/ifaceinit
/sbin/ifconfig eth0 up >>/var/log/ifaceinit 2>>/var/log/ifaceinit
/sbin/ifconfig eth1 up >>/var/log/ifaceinit 2>>/var/log/ifaceinit
echo "After----------------------------" >>/var/log/ifaceinit
/sbin/ifconfig>>/var/log/ifaceinit
'# assumes eth0 is your external interface - if it isn't, change this line!
route add default eth0
'# put this here just to make me happy
echo " - OK"
sleep 10
-RP- (salo -23c)
On 1/23/06, Per Jessen
Al Active wrote:
which NIC MAC goes to which device. Since SuSE 9.3 it has changed, in that the OS picks the MAC and device no. at random.
AFACT, in SUSE 10.0 the default is now to use persistent names. Check your /etc/sysconfig/network/config -
# # Forces all interfaces eth* ath* wlan* and ra* to be persistent # via udev. # See /usr/share/doc/package/sysconfig/README.Persistent_Interface_Names # for details. # FORCE_PERSISTENT_NAMES=yes
Also have a look at:
/usr/share/doc/packages/sysconfig/README.Persistent_Interface_Names
/Per Jessen, Zürich (-4.25 °C)
-- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Regards -RP- ___________________________ If computers were made in heaven, would they be perfect? ___________________________