2008/12/19 Flavio Junior <billpp@xxxxxxxxx>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > It cant be the same. It means my ipmi IP and LAN IP should be in different network? > > Have you configured all network options on ipmitool lan ? > > [root@athos ~]# ipmitool lan print 1 > IP > Address > : 172.16.1.101 > Subnet > Mask > : 255.255.255.0 > Here is my o/p: -- [root@ha1 ~]# ipmitool lan print 1 Set in Progress : Set Complete Auth Type Support : NONE MD5 PASSWORD Auth Type Enable : Callback : : User : : Operator : : Admin : MD5 PASSWORD : OEM : IP Address Source : Static Address IP Address : 10.42.21.28 Subnet Mask : 255.255.0.0 MAC Address : 00:15:17:5a:15:62 SNMP Community String : IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Enabled Gratituous ARP Intrvl : 5.0 seconds Default Gateway IP : 0.0.0.0 Default Gateway MAC : 00:00:00:00:00:00 Backup Gateway IP : 0.0.0.0 Backup Gateway MAC : 00:00:00:00:00:00 RMCP+ Cipher Suites : 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14 Cipher Suite Priv Max : XXXXXXXXXXXXXXX : X=Cipher Suite Unused : c=CALLBACK : u=USER : o=OPERATOR : a=ADMIN : O=OEM ------------- I have set the gateway as well but i don't know why its not showing up. > And you need to create a user with ADMINISTRATOR rights: > [root@athos ~]# ipmitool user list 1 > ID > Name > Callin Link Auth IPMI Msg Channel Priv Limit > 1 > true false > true ADMINISTRATOR > 2 > root > true true > true ADMINISTRATOR > Yes I have the user: -- root@ha1 ~]# ipmitool user list 1 ID Name Callin Link Auth IPMI Msg Channel Priv Limit 1 true false true ADMINISTRATOR 2 admin true true true ADMINISTRATOR ------- > > And (i think) you cant ping your LOCAL ipmi address, but you can ping > a remote one. > > [root@athos ~]# ping -I bond0 172.16.1.102 > PING 172.16.1.102 (172.16.1.102) from 172.16.1.1 bond0: 56(84) bytes of > data. > 64 bytes from 172.16.1.102: icmp_seq=1 ttl=128 time=72.6 ms > I can ping from the other machine . But why this is not working from other machine? -- [root@ha2 ~]# ipmitool -H 10.42.40.28 -I lan -U admin -P admin chassis power status Error: Unable to establish LAN session Unable to get Chassis Power Status [root@ha2 ~]# ping 10.42.21.28 PING 10.42.21.28 (10.42.21.28) 56(84) bytes of data. 64 bytes from 10.42.21.28: icmp_seq=1 ttl=30 time=13.6 ms 64 bytes from 10.42.21.28: icmp_seq=2 ttl=30 time=3.72 ms 64 bytes from 10.42.21.28: icmp_seq=3 ttl=30 time=7.13 ms 64 bytes from 10.42.21.28: icmp_seq=4 ttl=30 time=4.14 ms --- 10.42.21.28 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3002ms rtt min/avg/max/mdev = 3.723/7.160/13.641/3.966 ms --- > > Hope its help. > > - -- > > Flávio do Carmo Júnior aka waKKu > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: http://getfiregpg.org > > iEYEARECAAYFAklL1fAACgkQgyuXjr6dyktOngCfbGu8k2FsWfSL4BA0d7gw5Z2d > F4gAn3im/76NDF930GBbVJxtTzkb7n3P > =ygAl > -----END PGP SIGNATURE----- > On Fri, Dec 19, 2008 at 2:44 PM, Paras pradhan <pradhanparas@xxxxxxxxx> > wrote: >> >> hi. >> >> I am working on to setup a fencing using IPMI which is supported in my >> mother board. I have assigned the ip address to the ipmi , but I am >> not able to ping the interface. >> >> If i do: >> >> ipmitool chassis status , it works but if i do >> >> [root@ha1 ~]# ipmitool -I lan -H ipaddress -U admin -P admin chassis >> status >> Error: Unable to establish LAN session >> Error sending Chassis Status command >> >> >> Its' not working. If ipmi is correctly setup, i should be able to ping >> the ip address assigned to the ipmi right?. The network address of >> eth0 of my machine and that of ipmi interface is same. >> >> >> What i am missing here? >> >> >> Thanks >> Paras. >> >> -- >> Linux-cluster mailing list >> Linux-cluster@xxxxxxxxxx >> https://www.redhat.com/mailman/listinfo/linux-cluster > > > > > -- > Linux-cluster mailing list > Linux-cluster@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/linux-cluster > Thanks ! Paras. -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster