You've not said who's hardware you are using so it is hard to determine if you are doing something right or wrong as some have quirks that others do not.
The OS settings and ethernet interface used on the machine have nothing to do with the BMC's settings (and should not if you think about it). It should be a totally separate system so that you can place it in out of band if needed. In the lan print 2 statement you provided you can see that the default gateway IP is not on the same subnet, it needs to be. Depending on implementation it is possible it considers this a huge error and will not configure the port properly until it if fixed. We have several systems here where if it is not defined right it just does not work. Also in most systems (not all but 90% ish) you can not use the machine's network interface to get to the same machines BMC external IP if they use the same physical port. If they are using different ports then yes. Dell for example uses the first eth port for both the BMC and OS level eth. They are stacked on each other and there is not a small buildin switch connecting them. So the OS Nic's transmit pair is directly connected to the BMC's Transmit pair and wired out so one can't hear the other. You can't go out that interface to come back in, it just does not work. -----Original Message----- From: Federico Tomassini [mailto:[EMAIL PROTECTED] Sent: Friday, November 30, 2007 11:02 AM To: Fred Skrotzki Cc: ipmitool-devel@lists.sourceforge.net Subject: Re: [Ipmitool-devel] lan problems on hp -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fred Skrotzki wrote: > There is a basic networking mistake in your configuration. Your > default gateway MUST be on the same subnet as the IP of the interface. > > Think about it, how would the machine know how to get to a IP not on > it's own network. The routing rule to the net 10.0.2.0/24 is defined: ~# route -n Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 In this case the def gateway is not used. Anyway, I tried to set the default gateway setting it to the ip address of the machine where I run `ipmitool -I lan`: the problem is not solved. Moreover, I already tried to make the same game using the eth0 interface (and eth0 network addresses and routing rules), because I was wondering if eth0 is the only NIC working with IPMI services. Unfortunately without luck. I put my previous mail there: > > Hi alls, > > I explored ipmitool (1.8.9) from one week, using it on a hp machine. > ipmitool works well with the "open" interface, ie locally. > > But when I try to perform some command via lan/lanplus, I cannot get > it working. > First, the bmc info: > > # > ## > ### > ~# ipmitool -I open bmc info > Device ID : 0 > Device Revision : 3 > Firmware Revision : 1.0 > IPMI Version : 1.5 > Manufacturer ID : 3973 > Manufacturer Name : Unknown (0xf85) > Product ID : 0 (0x0000) > Device Available : yes > Provides Device SDRs : no > Additional Device Support : > Sensor Device > SDR Repository Device > SEL Device > FRU Inventory Device > IPMB Event Receiver > Bridge > Chassis Device > Aux Firmware Rev Info : > 0x00 > 0x00 > 0x00 > 0x00 > ### > ## > # > > The lan channel is the channel 2: > > # > ## > ### > ~# ipmitool -I open lan print 2 > Auth Type Support : NONE MD5 PASSWORD > Auth Type Enable : Callback : NONE MD5 PASSWORD > : User : NONE MD5 PASSWORD > : Operator : NONE MD5 PASSWORD > : Admin : NONE MD5 PASSWORD > : OEM : NONE MD5 PASSWORD > IP Address Source : Static Address > IP Address : 10.0.2.245 > Subnet Mask : 255.255.255.0 > MAC Address : 00:15:60:ed:dd:62 > SNMP Community String : public > Default Gateway IP : 194.183.95.254 > Cipher Suite Priv Max : Not Available > ### > ## > # > > I configured the channel with bmclanconf (but also with ipmitool > directly). bmclanconf hangs 20-30 seconds when "Setting channel > authentication capabilities" and after that, it prints a warning: > > # > ## > ### > ~# bmclanconf -c 2 -i eth1 > Auto-configuring eth1 (channel 2) > Setting LAN IP Address to 10.0.2.245 > Setting LAN Subnet Mask to 255.255.255.0 Setting LAN MAC Address to > 00:15:60:ed:da:cf Setting LAN Default Gateway IP to 194.183.95.254 > Setting LAN Default Gateway MAC to 00:10:58:5b:cd:d5 Setting channel > authentication capabilities LAN Parameter Data does not match! Write > may have failed. > Enabling channel 2 > ### > ## > # > > Maybe this error is important, because now, when I try to connect from > a remote machine, I get: > > # > ## > ### > ~# ipmitool -v -I lan(plus) -H 10.0.2.245 sdr list > Password: > Get Auth Capabilities command failed > Get Auth Capabilities command failed > Error: Unable to establish LAN session Get Device ID command failed > Unable to open SDR for reading ### ## # > > The password was configured with ipmitool: I tried also to use an > explicit user as: -U root. The user list is this: > > # > ## > ### > ~# ipmitool user list > ID Name Callin Link Auth IPMI Msg Channel Priv Limit > 1 false true true Unknown (0x0) > 2 Operator false true true Unknown (0x0) > 3 root false true true Unknown (0x0) > 4 OEM false true true Unknown (0x0) > > and > > ~# ipmitool user test 3 16(20) > Password for user 3: > Success > ### > ## > # > > I tried also to install freeipmi, using the ipmiping tool: > > # > ## > ### > ~# ipmiping 10.0.2.245 > ipmiping 10.0.2.245 > ipmiping 10.0.2.245 (10.0.2.245) > response timed out: rq_seq=26 > ... > ### > ## > # > > Now, I'm totally freezed. No idea about what's happening and no idea > about possible solutions. > > Mailing List archives and web did not help me. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUDQMi7obm7aBjHcRAq4aAJwNvONGSDAekajDC39k4NVtOhqHZACaAs0d DnXeAuo3F8Zj7rxm8V6ADfE= =gVpx -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel