On 12/06/2011 11:49 PM, Albert Chin wrote:
> # iscsiadm -m iface
> default tcp,<empty>,<empty>,<empty>,<empty>
> iser iser,<empty>,<empty>,<empty>,<empty>
> # iscsiadm -m iface -I iface0 --op=new
> New interface iface0 added
> # iscsiadm -m iface -I iface0 --op=update -n iface.hwaddress \
> -v 00:1b:21:d3:f6:08
> iface0 updated.
> # iscsiadm -m iface
> default tcp,<empty>,<empty>,<empty>,<empty>
> iser iser,<empty>,<empty>,<empty>,<empty>
> iface0 tcp,00:1b:21:d3:f6:08,<empty>,<empty>,<empty>


Instead of hwaddress use the iface.net_ifacename setting. So delete the
old iface

iscsiadm -m iface -I iface -o delete

then do

iscsiadm -m iface -I iface0 --op=new
iscsiadm -m iface -I iface0 --op=update -n iface.net_ifacename -v bond1

Then do discovery again then login.

The iscsi tools will get confused and possibly pick the wrong interface
to bind to, because bond1 has mac 00:1b:21:d3:f6:08 but then so did eth6
and we do not know which one you really meant.

Also for your kernel you will need to set the
net.ipv4.conf.default.rp_filter to 0 or 2.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to