On Fri, 23 Oct 2009 16:00:58 +1000
Adam Nielsen <[email protected]> wrote:

> > I think that is possible to set the IP of the DRAC via the IPMI
> > inside Linux that is running on the machine.
> 
> Hmm, interesting.  I can't see exactly where you'd be able to do this
> though (not through ipmitool anyway.)  Any suggestions where to look?
> 
> Cheers,
> Adam.
> 

According to the ipmitool man page this is possible.

ipmitool -i open lan set <channel number> ipaddr <x.x.x.x> netmask
<x.x.x.x> defgw ipaddr <x.x.x.x> access on

<quote from man file>
      lan

              These  commands  will  allow you to configure IPMI LAN
              channels with network information so they can be used
              with the ipmitool lan and lanplus interfaces.  NOTE: To
              determine on which channel the LAN interface is located,
              issue the ‘channel info number’ command until you come
              across a valid 802.3 LAN channel.  For example:

              > ipmitool -I open channel info 1
              Channel 0x1 info:
                Channel Medium Type   : 802.3 LAN
                Channel Protocol Type : IPMB-1.0
                Session Support       : session-based
                Active Session Count  : 8
                Protocol Vendor ID    : 7154

              print [<channel>]

                     Print  the   current   configuration   for  the
                     given channel.  The default will print information
                     on the first found LAN channel.

              set <channel number> <command> <parameter>

                     Set the given command and parameter on the
                     specified channel.  Valid command/parameter
                     options are:

                     ipaddr <x.x.x.x>

                             Set the IP address for this channel.

                     netmask <x.x.x.x>

                             Set the netmask for this channel.
</quote from man file>


-- 

Best Regards
Harald Jensås 

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to