Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ifconfig and nic name question

Status
Not open for further replies.

hcclnoodles

IS-IT--Management
Jun 3, 2004
123
GB
Hi there ...this is more of an informational request than a problem I have

Where are the device names of the Nics actually kept so that when you plumb a card you know what its called (ie hme1/dmfe1 etc) ....I know if you have a second nic, it generally follows the same naming convention as the first but i just wanted to know

I had a look in `prtconv -v` but that just says

ethernet, instance #0
Hardware properties:
name <latency-timer> length <4>
value <0x000000a0>.
ethernet, instance #1
Hardware properties:
name <latency-timer> length <4>
value <0x000000a0>.


.....note the lack of a `dmfe1` (in this case)

how does ifconfig know what dmfe1 is and what it refers to, is there some sort of hardware to logical name mapping file somewhere ?

cheers
 
Yep, /etc/path_to_inst. For example here are the entries for hme0 and hme1 in a Solaris 8 box:

[tt]"/sbus@1f,0/SUNW,hme@e,8c00000" 0 "hme"
"/sbus@1f,0/SUNW,hme@0,8c00000" 1 "hme"[/tt]

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top