5 Replies Latest reply: Sep 27, 2010 10:25 AM by Lazar RSS

x38ml BMC LAN access

Lazar Community Member
Currently Being Moderated

I have been trying for the better part of a week to try and access the BMC on an x38ml board via ethernet.

I have tried configuring it throught he IDA CD, the syscfg EFI utility, and through the Windows based console. I have tried setting its IP statically and to DHCP. I have treid enabling the LAN interface with each program, I have treid versions 14 and 15 of the BMC formware. Nothing seems to let me see the BMC's LAN interface.

I don't know if there is something I am missing, or if the BMC is just plain old broken. Is there a step by step guide I can try, then come back here with more info if it does not work out?

  • 1. Re: x38ml BMC LAN access
    edwardzh Community Member
    Currently Being Moderated

    Several things to check:

     

    1. Make sure your NIC1 is connected.

    2. The IP address for BMC management can''t be same as OS IP address, although they share the same NIC port.

    3. See if this post is helpful: http://communities.intel.com/message/73042#73042

  • 2. Re: x38ml BMC LAN access
    kamalanathan Community Member
    Currently Being Moderated

    You can do either from BIOS setup or boot to DOS and pass the below command sequence.


    ENABLE LAN ACCESS TO BMC :

     

    ipmiutil cmd 00 20 18 01    ( Get device Id - to check the BMC is alive or nor)

     

    ipmiutil cmd 00 20 30 02 01 04 00 00 (Get lan ip source)

     

    ipmiutil cmd 00 20 30 01 01 04 01 ( Set static ip)

     

    ipmitutil cmd 00 20 30 01 01 03 <IP address in hex>

     

    ipmiutil cmd 00 20 30 01 01 06 <sube net mask>

     

    ipmiutil cmd 00 20 30 01 01 0c <gate way>

     

    // Set user priviledge //

    ipmiutil cmd 00 20 18 47 02 01  ( to enable the user)
    ipmiutil cmd 00 20 18 47 02 02 73 75 70 65 72 75 73 65 72 00 00 00 00 00 00 00  ( set pwd "superuser" to root user)

     

     

    Let  me know if you have any questions.

  • 3. Re: x38ml BMC LAN access
    Lazar Community Member
    Currently Being Moderated

    I didn't have a copy of Linux handy with ipmiutil, but I found something DOS based from Intel here: http://www.intel.com/design/servers/ipmi/ipmi_tool.htm

    From the results I saw in syscfg, I belive the sam as ipmiutil.

     

    Here is the log from running the commands and the results:

    A:\>ipmitool 20 18 01
    20 1c 01 00 21 01 00 15 02 bf 57 01 00 3d 00 01 05 00 31

     

    A:\>ipmitool 20 30 02 01 04 00 00
    20 34 02 00 11 01

     

    A:\>ipmitool 20 30 01 01 04 01
    20 34 01 00

     

    A:\>ipmitool 20 30 01 01 03 C0 A8 01 80
    20 34 01 00

     

    A:\>ipmitool 20 30 01 01 06 FF FF FF 00
    20 34 01 00

     

    A:\>ipmitool 20 30 01 01 0c C0 A8 01 01
    20 34 01 00

     

    A:\>ipmitool 20 18 47 02 01
    20 1c 47 00

     

    A:\>ipmitool 20 18 47 02 02 73 75 70 65 72 75 73 65 72 00 00 00 00 00 00 00
    20 1c 47 00

     

    When I booted to the shell and used syscfg /d LAN 1 0 to view the LAN results, I saw the following:

    LAN Configuration Settings:
    ----------------------------
    LAN Channel Selected: 1
    LAN Alert Destination Index Selected: 0
    IP Address Source: Static
    BMC Host IP Address: 192.168.1.128
    Subnet Mask: 255.255.255.0
    Gateway IP Address: 192.168.1.1
    Gateway MAC Address: 00-00-00-00-00-00
    Backup Gateway IP Address: 0.0.0.0
    Backup Gateway MAC Address: 00-00-00-00-00-00
    Community String: AMI
    Gratuitous ARP Enable: Disabled
    Gratuitous ARP Interval (milliseconds): 5000
    BMC ARP Response Enable: Enabled
    Alert Destination Index: 0
    Alert Destination IP Address: 0.0.0.0
    Alert Destination MAC Address: 00-00-00-00-00-00
    Use Backup Gateway: Disabled
    Alert Acknowledge: Disabled
    Alert Retry Count: 0
    Alert Retry Interval (seconds): 0
    Alert Destination Type: SNMP

     

    I have a 2 computer network with the x38ML and another system conencted via a 10/100 switch. Just to make sure I have the right NIC port on the x38ml, I connected both NIC ports to the switch. The IP I set was unreachable and wireshark did not show the traffic being delieverd to any MAC address.

     

    I then tried syscfg as per the link Edward provided.

    Here is what I ran:

    bmc_lan_cfg.nsh> syscfg /le 1 static 192.168.1.121 255.255.255.0
    successfully completed

     

    bmc_lan_cfg.nsh> syscfg /c 1 7 Always
    successfully completed

     

    bmc_lan_cfg.nsh> syscfg /u 1  password
    successfully completed

     

    bmc_lan_cfg.nsh> syscfg /ue 1 enable 1
    successfully completed

     

    And again, here is the result via the sysconfig utility.

    LAN Configuration Settings:
    ----------------------------
    LAN Channel Selected: 1
    LAN Alert Destination Index Selected: 0
    IP Address Source: Static
    BMC Host IP Address: 192.168.1.121
    Subnet Mask: 255.255.255.0
    Gateway IP Address: 0.0.0.0
    Gateway MAC Address: 00-00-00-00-00-00
    Backup Gateway IP Address: 0.0.0.0
    Backup Gateway MAC Address: 00-00-00-00-00-00
    Community String: AMI
    Gratuitous ARP Enable: Disabled
    Gratuitous ARP Interval (milliseconds): 5000
    BMC ARP Response Enable: Enabled
    Alert Destination Index: 0
    Alert Destination IP Address: 0.0.0.0
    Alert Destination MAC Address: 00-00-00-00-00-00
    Use Backup Gateway: Disabled
    Alert Acknowledge: Disabled
    Alert Retry Count: 0
    Alert Retry Interval (seconds): 0
    Alert Destination Type: SNMP

     

    And again, I could not get any traffic to that IP. Finally, I tried using syscfg to set the mode to DHCP as follows:

    bmc_lan_dhcp.nsh> syscfg /le 1 dhcp
    successfully completed

     

    bmc_lan_dhcp.nsh> syscfg /c 1 7 Always
    successfully completed

     

    bmc_lan_dhcp.nsh> syscfg /u 1  password
    successfully completed

     

    bmc_lan_dhcp.nsh> syscfg /ue 1 enable 1
    successfully completed

     

    And the results of that are as follows:

    LAN Configuration Settings:
    ----------------------------
    LAN Channel Selected: 1
    LAN Alert Destination Index Selected: 0
    IP Address Source: DHCP
    BMC Host IP Address: [N/A]
    Subnet Mask: [N/A]
    Gateway IP Address: 0.0.0.0
    Gateway MAC Address: 00-00-00-00-00-00
    Backup Gateway IP Address: 0.0.0.0
    Backup Gateway MAC Address: 00-00-00-00-00-00
    Community String: AMI
    Gratuitous ARP Enable: Disabled
    Gratuitous ARP Interval (milliseconds): 5000
    BMC ARP Response Enable: Enabled
    Alert Destination Index: 0
    Alert Destination IP Address: 0.0.0.0
    Alert Destination MAC Address: 00-00-00-00-00-00
    Use Backup Gateway: Disabled
    Alert Acknowledge: Disabled
    Alert Retry Count: 0
    Alert Retry Interval (seconds): 0
    Alert Destination Type: SNMP

     

    I set up tftpd32 as a DHCP server for my 2 computer network at this point, and I was running wireshark to see if I could see any attempt by the BMC to obtain a DHCP leade.

    I saw neither a lease handed out by tftpd32 or any traffic that indicated a network adaptor on the network was trying.

     

    Because the BMC LAN channel is somehow shared with the physical connection for the NIC1, do I need some sort of breakout cable? Can the basic, consumer grade network hardware handle the system being used to multiplex the port?

    Or is the problem that the BMC's LAN channel is simply broken in some way and there is no way to fix it?

  • 4. Re: x38ml BMC LAN access
    edwardzh Community Member
    Currently Being Moderated

    No you don't need a breakout cable... A normal CAT5 cable should work. You can bypass the switch and connect your two systems directly. Several other things to try:

     

    1. If you haven't updated to the latest BIOS/BMC firmware, please do so: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=17763&ProdId=2871&lang=eng

    2. Make sure you're using the latest syscfg utility: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=16893&lang=eng

    3. When enabling users, seems you're missing some quotes in the command line. Should be:

         syscfg /u 1 "" "password"

    First pair of quotes means no user name (the anonymous user). Second pair of quotes means using "password" as password.

  • 5. Re: x38ml BMC LAN access
    Lazar Community Member
    Currently Being Moderated

    Thank you for the reply Edward, I will try those things.

    Do I need to set the username and password before the BMC will attempt to obtain an IP address via DHCP or before I can ping it if I set a static IP?

     

    Again, thank you for the assistance.

More Like This

  • Retrieving data ...