Hello
I'll start from the end : my ipmi_sim is not receiving any LAN packets !!
My setup :
name "ipmisim1"
set_working_mc 0x20
startlan 1
addr 192.168.1.134 623
priv_limit admin
allowed_auths_callback none md2 md5 straight
allowed_auths_user none md2 md5 straight
allowed_auths_operator none md2 md5 straight
allowed_auths_admin none md2 md5 straight
guid "I_AM_A_REAL_BMC!"
endlan
serial 15 192.168.1.134 9002 codec VM\
startnow true
user 1 true "" "test" user 10 none md2 md5 straight
user 2 true "ipmiusr" "test" admin 10 none md2 md5 straight
user 3 true "admin" "admin" admin 10 none md2 md5 straightu
========
debug raw
mc_setbmc 0x20
mc_add 0x20 0 no-device-sdrs 0x23 9 8 0x9f 0x1291 0xf02 persist_sdr
sel_enable 0x20 1000 0x0a
sensor_add 0x20 0 0 35 0x6f event-only
sensor_set_event_support 0x20 0 0 enable scanning per-state \
000000000001111 000000000000000 \
000000000001111 000000000000000
sensor_add 0x20 0 1 0x01 0x01
sensor_set_value 0x20 0 1 0x60 0
sensor_set_threshold 0x20 0 1 settable 111000 0xa0 0x90 0x70 00 00 00
sensor_set_event_support 0x20 0 1 enable scanning per-state \
000111111000000 000111111000000 \
000111111000000 000111111000000
sensor_add 0x20 0 2 37 0x6f
sensor_set_bit_clr_rest 0x20 0 2 1 1
sensor_set_event_support 0x20 0 2 enable scanning per-state \
000000000000011 000000000000011 \
000000000000011 000000000000011
mc_add_fru_data 0x20 3 128 data 0
mc_add 0x30 2 no-device-sdrs 0x98 0x10 1 0xa0 0x1291 0xf03
sensor_add 0x30 0 1 0x01 0x01
sensor_set_threshold 0x30 0 1 settable 111000 0xa0 0x90 0x70 00 00 00
sensor_set_event_support 0x30 0 1 enable scanning per-state \
000111111000000 000111111000000 \
000111111000000 000111111000000
mc_enable 0x30
mc_enable 0x20
running the ipmi_sim looks totally OK without any errors
From the host (windows) I run ipmitool as following
ipmitool -I lanplus -U admin -P admin -H 192.168.1.134 -p 9002
tcpdump in the VM shows that the IPMB packets are received, but the debug of the ipmi_sim shows nothing, and of coarse no response is received by the ipmitools
Any help will be most appreciated
regards
Ofer
On Wed, Mar 10, 2021 at 11:05:41PM -0000, ofer.bahar wrote:
Your net port is 623.
This port (9002) is not for normal IPMI traffic, it is for hooking to a
VM (like qemu) so this BMC can act as the BMC for the VM.
You should use port 623 here. Or just nothing, since that's the
default.
-corey
Related
Support Requests: #16
Thank you Corey for your assistance
It did help, though I had one more issue with the VM firewall = > to allow the 623 / UDP
Thanks again
Ofer