+ -
当前位置:首页 → 问答吧 → m5000 jumpstart 安装系统,如何查看网卡mac地址啊?

m5000 jumpstart 安装系统,如何查看网卡mac地址啊?

时间:2010-06-19

来源:互联网

rt,在ok下如何查看网卡mac地址啊?
ok banner
Fujitsu SPARC Enterprise M5000 Server, using Domain console
Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
Copyright 2009 Sun Microsystems, Inc. and Fujitsu Limited. All rights reserved.
OpenBoot 4.24.12, 16384 MB memory installed, Serial #91143288.
Ethernet address 0:21:28:6e:bc:78, Host ID: 856ebc78.
0:21:28:6e:bc:78是mac地址吗?
使用光驱装完系统ifconfig -a 看到的网卡mac和 0:21:28:6e:bc:78不同
指点一下

作者: 淡然的紫色   发布时间: 2010-06-19

怎么会不一样呢 就用banner里那个就可以

作者: guopy007   发布时间: 2010-06-19

SUN机器查找MAC地址的办法
查找MAC地址的办法
1  OK >;banner
Sun (TM) Enterprise 250 (2 X UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.7, 1024 MB memory installed, Serial #9311264.
Ethernet address 8:0:20:8e:14:20, Host ID: 808e1420.
2  properties or .attributes
        .properties用于SUN4U架构,.attributes用于SUN4M和SUN4C架构
ok show-nets  //will give you the device path for the interface//
  ok cd          //change to device path//
  ok .properties // this should show you the MAC address of that interface//

举例 ( sun4u ):
  ok show-nets  a) /pci@1f,0/pci@1/network@3
  b) /pci@1f,0/pci@1/network@1
  c) /pci@1f,0/pci@1/pci@4/network@0
  d) /pci@1f,0/pci@1,1/network@1,1
  q) NO SELECTION
  Enter S

作者: 风   发布时间: 2010-12-03