home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / admin / 8562 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  2.5 KB

  1. Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!seven-up.East.Sun.COM!sungy!stasys!alanya!lupe
  2. From: lupe@ukw.uucp (Lupe Christoph)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: Sun Ethernet cards
  5. Keywords: Ethernet address
  6. Message-ID: <1992Nov22.100440.4340@ukw.uucp>
  7. Date: 22 Nov 92 10:04:40 GMT
  8. References: <1992Nov20.132857.646@alijku05.edvz.uni-linz.ac.at> <1992Nov20.154819@sld60pki-nbg.philips.de>
  9. Sender: uucp@stasys.sta.sub.org
  10. Organization: cic
  11. Lines: 44
  12.  
  13. pla_kbh@sld60pki-nbg.philips.de (Kurt Behnke (TEAM SOS)) writes:
  14.  
  15. >On two of our Sun (Sparc 2) WS we have installed an additional Ethernet 
  16. >controller (le1; the onboard controller is le0). The purpose is to try 
  17. >some OSI protocols on a small network, and not to interfere with the usual
  18. >IP traffic on the standard LAN.
  19.  
  20. >When booting, the Sun OS takes the Ethernet address from le0, and assigns it
  21. >to le1, so that both have the same address. This even applies if le0 is
  22. >not connected. Since we want to use the second
  23. >net for some different kind of traffic the following questions arise:
  24.  
  25. In fact, the Ethernet cards do not have an address; the Ethernet address
  26. is in the non-writable portion of the NVRAM.
  27.  
  28. >i) Is this assignment valid for ARP/IP only, or can I also use it for protocols 
  29. >like LLC1/2?
  30.  
  31. Ethernet is Ethernet, no matter what the packets contain.
  32.  
  33. >ii) Is there any way to read the original Ethernet address, encoded in le1, 
  34. >by a program, using ioctl()s etc., or can it be retrieved by some 
  35. >administrative tool?
  36.  
  37. The easiest way is to do "ifconfig -a". I believe I have seen a hack to
  38. read the address from the kernel, but I didn't keep it. Of course this
  39. is the ethernet address from the NVRAM, as there is none other.
  40.  
  41. >iii) If i) and ii) have a negative answer, what can I do if I don't know
  42. >the 'native' address of le1?
  43.  
  44. Despair, because it hasn't got one? ;-)
  45.  
  46. >Sorry for my ignorance. Any  f l a m in g  replies send directly to 
  47. >my e-mail address please.
  48.  
  49. There are probably many people who still don't know this little
  50. peculiarity, even though Sun has been doing this since their
  51. beginning.
  52. -- 
  53. | ...!unido!ukw!lupe  (German EUNet, "bang")     |  Disclaimer:            |
  54. | lupe@ukw.UUCP       (German EUNet, domain)     |  This is an unofficial  |
  55. | suninfo!alanya!lupe (Sun Germany)              |  opinion of Christoph & |
  56. | Res non sunt complicanda praeter necessitatem. |  Imschweiler Consulting |
  57.