← Back to team overview

openstack team mailing list archive

how to decide orders of multiple nic

 

I have two nic cards, I want eth0 to always be connected to network1
and eth1 to always be connected to network2.
In the essex, I can do this by arrange the order of --nic options in
the "nova boot" command. But in the folsom,it does not seem to work
anymore, the following commands connect eth0 to the same network
nova --no-cache boot --image db64c7ed-3496-499e-a097-73362cb5f447
--flavor 2 --nic net-id=ff899ad7-a0c2-4e46-a0a4-bf086eda9164 --nic
net-id=12e964db-14e3-4e85-98c8-45987c89e1d1 user-host-2
nova --no-cache boot --image db64c7ed-3496-499e-a097-73362cb5f447
--flavor 2  --nic net-id=12e964db-14e3-4e85-98c8-45987c89e1d1 --nic
net-id=ff899ad7-a0c2-4e46-a0a4-bf086eda9164 user-host-2

Could someone tell me how to solve this problem?
Thanks
Yi
-- 
Android-x86
http://www.android-x86.org


Follow ups