For Programmers: Free Programming Magazines  


Home > Archive > Tcl > February 2005 > Mac-address









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Mac-address
RH

2005-02-25, 3:59 am

Hi,

There is a range of mac-address in which the uut is supposed to get the
mac-address from.
Using tcl, I need to find if the uut's mac address is 0000.47bf.8da8 fall
within the range 0060.2f30.a018 - 0060.2f30.8da8.

What is the best way for doing this ?


David N. Welton

2005-02-25, 8:59 am

"RH" <rhuang@cisco.com> writes:

> Hi,
>
> There is a range of mac-address in which the uut is supposed to get the
> mac-address from.
> Using tcl, I need to find if the uut's mac address is 0000.47bf.8da8 fall
> within the range 0060.2f30.a018 - 0060.2f30.8da8.
>
> What is the best way for doing this ?


Transform those into 'real' numbers using the scan command, and use
those.

--
David N. Welton
- http://www.dedasys.com/davidw/

Apache, Linux, Tcl Consulting
- http://www.dedasys.com/
RH

2005-02-27, 4:00 pm

Thanks for the tip. Great suggestion ..


"David N. Welton" <davidw@dedasys.com> wrote in message
news:87bra92gl6.fsf@dedasys.com...
> "RH" <rhuang@cisco.com> writes:
>
fall[color=darkred]
>
> Transform those into 'real' numbers using the scan command, and use
> those.
>
> --
> David N. Welton
> - http://www.dedasys.com/davidw/
>
> Apache, Linux, Tcl Consulting
> - http://www.dedasys.com/



davidhbigelow@simplifiedlogic.com

2005-02-27, 8:59 pm


RH wrote:
> Hi,
>
> There is a range of mac-address in which the uut is supposed to get

the
> mac-address from.
> Using tcl, I need to find if the uut's mac address is 0000.47bf.8da8

fall
> within the range 0060.2f30.a018 - 0060.2f30.8da8.
>
> What is the best way for doing this ?


How did you find this using TCL in the first place?

Also - what happens if the device is not plugged into a network (Media
Sensing issue with MS-Windows 2k/XP)

Dave

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com