Re: getting two subnets on the same ethernet adapter



David Schwartz <davids@xxxxxxxxxxxxx> wrote in
news:7af58078-aa68-45c3-a04c-d0620fdd4b43@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:


Did you properly configure the BMC with a default route, netmask, and
so on?

Yup. I think so.

ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 172.16.0.3
ipmitool lan set 1 netmask 255.255.0.0

I think this was sucessful because the same set of steps do work if I just
change the 172.16.0.3 to 10.0.4.3.

Also, even if I use the 172.16.0.3 subnet the arp on the remote machine
does recognise the correct mapping between the IP and the MAC.

i.e. arp figures out that 172.16.0.3 is associated with 00:26:B9:58:E6:48
(the right MAC)

There is one thing that I wasn't sure about though: "the default gateway".
Not sure what to set it to. i.e. in the command

ipmitool lan set 1 defgw ipaddr ??
ipmitool lan set 1 defgw netmask ??

But I was thinking that was not really required since when I use the
10.0.x.x subnet it just works without setting this.

--
Rahul
.