On Wed, May 23, 2012 at 5:45 PM, Harald Hoyer <[email protected]> wrote:
> Am 22.05.2012 15:43, schrieb Cong Wang:
>>
>> We use ip=eth0.2:dhcp to get IP for eth0.2 via DHCP, so ifname=eth0.2:XXX is
>> requried by ip=, no?
>
> no, you would need ifname=eth0:XXX
>
Yeah, only specifying ifname=eth0:XXX seems also work.
Actually I am confused by the doc of ifname=, which said:
Note: If you use this option you _must_ specify an ifname= argument for all
interfaces used in ip= or fcoe= arguments.
I think it is out-of-date? In my case, "ip=eth0.2:dhcp ifname=eth0:XXX", eth0.2
appears in ip= but does not have to be in ifname=, as you suggested.
What's more, how about bridge and bonding cases? Do we have to specify
the slave device in ifname= instead of the master device??
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html