On Thu, 6 Jun 2002 05:24:01 -0600
"Dave Price" <[EMAIL PROTECTED]> wrote:

> Yes - I want to know/control which is eth1 and eth0, since firewall,
> dhcp, etc scripts use this notation to configure behavior

While not an ideal solution, you could dynamically determine
which-is-which with a few commands in a shell script, provided you know
their MAC addresses.  For example:

MAC1="00:50:56:C0:00:08"
INT1=`/sbin/ifconfig | grep $MAC1 | awk {'print $1'}`

-- 
Jamin W. Collins


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to