2017-08-16 07:58:20 |
Xiwen Deng |
description |
In my env there are two networks
root@controller-1:~# neutron net-list
| d0900ded-7a5f-4580-bac2-bc4fae31d46d | test555 | 53be822d-29a8-4549-96dd-5fc95cfcb3e3 10.0.0.0/24 |
| 48999dc5-b021-4341-bd6f-9215f3381e02 | dpdk_test | e0cf266e-a718-4abe-aa67-6efbb61e05af 10.145.0.0/24 |
When boot VM with network test555, VM boot success. And add a new network dpdk_test, interface will attach successfully too. Interface will can not get a ip But when dhcp, the new interface will get a ip(10.0.2.25).
From the nova, we can see VM have get ips
root@controller-1:~# nova list |grep test-instance
| b490f7d3-e595-45c2-8e23-8736db00252d | test-instance | ACTIVE | - | Running | test555=10.0.0.27; dpdk_test=10.145.0.9 |
In my env there are not any network which ip range is 10.0.2.0/24
If create VM with two networks, all interfaces will get the correct ips. |
In my env which enable DPDK and there are two networks
root@controller-1:~# neutron net-list
| d0900ded-7a5f-4580-bac2-bc4fae31d46d | test555 | 53be822d-29a8-4549-96dd-5fc95cfcb3e3 10.0.0.0/24 |
| 48999dc5-b021-4341-bd6f-9215f3381e02 | dpdk_test | e0cf266e-a718-4abe-aa67-6efbb61e05af 10.145.0.0/24 |
When boot VM with network test555, VM boot success. And add a new network dpdk_test, interface will attach successfully too. Interface will can not get a ip But when dhcp, the new interface will get a ip(10.0.2.25).
From the nova, we can see VM have get ips
root@controller-1:~# nova list |grep test-instance
| b490f7d3-e595-45c2-8e23-8736db00252d | test-instance | ACTIVE | - | Running | test555=10.0.0.27; dpdk_test=10.145.0.9 |
In my env there are not any network which ip range is 10.0.2.0/24
If create VM with two networks, all interfaces will get the correct ips. |
|