set BMC to be on a different subnet on a shared ethernet card (R410)

Rahul Nabar rpnabar at gmail.com
Wed Jun 30 18:27:02 CDT 2010


On my R410's I have ethernet adapters that have twin MAC addresses:
one for the regular
use and the other for a Baseboard Management Controller (IPMI) that can be
used to reboot hung machines etc.

All my normal eth cards are assigned to a 10.0.x.x network by DHCP. So far
so good.

Now if I try to set the second IP address to something in the 10.0.x.x
range then things work. Say 10.0.5.3. I can ping the same physical server
(and the same physical card) on twin IP addresses from any remote machine.

arp from the remote pinging machine shows:
Address                    HWaddress           Flags Mask  Iface
10.0.0.3                   00:26:B9:58:E6:46   C           eth0
10.0.4.3                   00:26:B9:58:E6:48   C           eth0

10.0.0.3 is the normal ethernet IP assigned via DHCP and 10.0.4.3 is for
the BMC.

But let's say I wanted the BMC to respond on the 172.16.x.x subnet. I can
set this address fine. Say, 172.16.0.3 But if I try to ping 172.16.0.3 then
there is no response.

Surprisingly, arp still shows both addresses but the remote ping does not
work.

Address                 HWaddress           Flags Mask Iface
10.0.0.3             00:26:B9:58:E6:46   C          eth0
172.16.0.3           00:26:B9:58:E6:48   C          eth0

Do I have to do something else to make this work? How do I have two subnets
on the same adapter?

Commands I used:
ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 172.16.0.3
ipmitool lan set 1 netmask  255.255.0.0


-- 
Rahul



More information about the Linux-PowerEdge mailing list