Just FYI, you can use the local mac address on each installed ether controller
by setting the Sun eeprom variable local-mac-address?=true

Sun's ether cards *do* in fact, have unique mac addresses, but Sun's tradition
is to use the eeprom mac address for the entire box on all interfaces.

An alternative method (which I kind of like) is a setmacaddr init script:

#!/bin/sh
for iface in 1 2 3; do
if [ -f /etc/hostname.hme${iface} ]
then
  ether_hme=`/sbin/ifconfig hme0 | /bin/tail -1 |\
    /bin/sed -e "s/8:0:20/8:${iface}:20/g"`
  /sbin/ifconfig hme${iface} ${ether_hme}
fi
done

(note: the sed script returns a string "ether 8:0:20:xx:yy:zz" so it already
has the ifconfig "ether" command in it, followed by the mac address)

This allows the host to retain the same last 3 octets on all interfaces -
which I find useful - and let the vendor part denote *which* interface - which
I also find very useful.  It works fine unless you also have equipment from
another vendor whose mac addresses happen to start with 8:1:20, 8:2:20, etc.
;)

You should call this script as soon as /usr has been mounted, right after
/etc/rcS.d/S40standardmounts.sh.

Sometimes it returns a spurious (?) "device busy" error, but it sets the mac
address anyway.  Seems to do no harm.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Corbett Waddingham
> Sent: Monday, August 23, 1999 5:19 PM
> To: Art Coble
> Cc: [EMAIL PROTECTED]
> Subject: Re: quad cards on firewalls
>
>
>
> On 24-Aug-99 Art Coble wrote:
> > I don't see a problem with it.
> > I've implemented the configuration you are describing.
> > Make sure you configure the qfe card to give each
> > port a unique MAC address.  By default each port
> > has the same MAC.  This can wreak some havoc on switches.
>
> Thanks.  Maybe that was what the guy's concern was (he was a contractor, and
> has since moved on), making sure each port has a different MAC.
>
>
> Corbett Waddingham
> E-greetings Network Data Wrangler
> 415-536-1861
> http://www.egreetings.com
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
>
>

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to