SunServer

From Lolly's Wiki
Revision as of 09:47, 8 May 2015 by Lollypop (talk | contribs)
Jump to navigationJump to search

Kategorie:Hardware

Set SP IP address from OS via ipmitool

  • Set:
# ipmitool lan set 1 ipaddr 172.30.40.149 
Setting LAN IP Address to 172.30.42.149

# ipmitool lan set 1 netmask 255.255.255.0
Setting LAN Subnet Mask to 255.255.255.0

# ipmitool lan set 1 defgw ipaddr 172.30.42.1 
Setting LAN Default Gateway IP to 172.30.42.1
  • Check:
# ipmitool lan print                          
Set in Progress         : Commit Write
Auth Type Support       : NONE MD2 MD5 PASSWORD 
Auth Type Enable        : Callback : MD2 MD5 PASSWORD 
                        : User     : MD2 MD5 PASSWORD 
                        : Operator : MD2 MD5 PASSWORD 
                        : Admin    : MD2 MD5 PASSWORD 
                        : OEM      : 
IP Address Source       : Static Address
IP Address              : 172.30.42.149
Subnet Mask             : 255.255.255.0
MAC Address             : 00:1c:24:f0:70:b0
SNMP Community String   : public
IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
Default Gateway IP      : 172.30.42.1
Default Gateway MAC     : ff:ff:ff:ff:ff:ff
Backup Gateway IP       : 255.255.255.255
Backup Gateway MAC      : ff:ff:ff:ff:ff:ff
Cipher Suite Priv Max   : aaaaaaaaaaaaaaa
                        :     X=Cipher Suite Unused
                        :     c=CALLBACK
                        :     u=USER
                        :     o=OPERATOR
                        :     a=ADMIN
                        :     O=OEM