I'm experimenting with two servers with public IP addresses to get LAN connection with IPMI. For IPMI I'm using local IP addresses (same NIC).
ipmitool -I open lan set 1 ipaddr 192.168.2.50
Setting LAN IP Address to 192.168.2.50
ipmitool -I open lan set 1 netmask 255.255.255.0
Setting LAN Subnet Mask to 255.255.255.0
ipmitool -I open lan set 1 snmp SOMESTRING
Setting LAN SNMP Community String to SOMESTRING
ipmitool -d /dev/ipmi0 user set name 2 admin
ipmitool -d /dev/ipmi0 user set password 2 SOMESTRING
ipmitool -d /dev/ipmi0 channel setaccess 1 2 callin=on ipmi=on link=on privilege=4
ipmitool -d /dev/ipmi0 lan set 1 arp respond on
ipmitool -d /dev/ipmi0 lan set 1 arp generate on
ipmitool -d /dev/ipmi0 lan set 1 arp interval 5
Two computers with IPMI LAN addresses 192.168.2.50 and 192.168.2.51 I configured, but I'm just getting:
ipmitool -I lan -U admin -H 192.168.2.51 -a chassis power status
Password:
Error: Unable to establish LAN session
Unable to get Chassis Power Status
Even if I'm using same computer with same IPMI address (192.168.2.50). I get same error message. I'm used strace tool to check. UDP socket gets connection timeout.
Tried reset BMC but with no results.
ipmitool mc reset cold
Any suggestions?
EDIT:
We have CISCO switch for our servers. Computers 1 and computer 2 connected to same switch. Computer 1 has public IP 193.219.X.Y1 and computer 2 has public IP 193.219.X.Y2. Computer's 1 IPMI address 192.168.2.50 and computers's 2 IPMI address 192.168.2.51. I can't use public IP address for IPMI because they are limited.
Thanks