[ale] Debian network interfaces, get-mac-address.sh and nameif
Randy C. Ramsdell
rramsdell at adelphia.net
Fri Sep 2 13:45:03 EDT 2005
On Fri, 2005-09-02 at 13:30 -0400, Grant Robertson wrote:
> I've had trouble finding documentation that makes sense on this.
> forgive me if this is an old dead issue.
>
> I have a debian machine with two network interfaces, these are on
> different networks.
>
> How can I create a /etc/network/interfaces file that knows which
> interface is which by MAC address? I've seen something like this done
> on fedora.
>
> Thanks!
> -G
>
> --
> F. Grant Robertson
> m: 404.388.9797
> e: me at grantrobertson.com
> w: http://grantrobertson.com/
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
Fedora and Redhat configs use this parameter:
HWADDR=00:0E:A6:45:CD:FF
But this is how I think Debian does this:
<quote>
# install -m770 /usr/share/doc/ifupdown/examples/match-mac-
address.sh \
/usr/local/sbin/
Then add a stanza like the following to /etc/network/interfaces:
mapping eth0
script /usr/local/sbin/match-mac-address.sh
map 02:23:45:3C:45:3C net1
map 00:A3:03:63:26:93 net2
</quote>
Taken from:
http://64.233.187.104/linux?q=cache:-0kcS4T2KKIJ:www.debian.org/doc/manuals/reference/ch-gateway.en.html+debian+%22/etc/network/interfaces%22+MAC+&hl=en
rcr
More information about the Ale
mailing list