Use Linux bridge to assign networks, but not IPs
I have setup quantum with the linux bridge plugin. For now, I'm not looking to do IPAM in quantum, just to create networks. I want to assign VMs to networks without IP subnets, but if i do that then nova doesn't create network interfaces for those VMs (no errors in either compute.log or linuxbridge-
Here's an example:
---
[root@cloud1 ~(keystone_admin)]# quantum net-create lab-test --tenant_id 60899984662e4f3
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 29989e92-
| name | lab-test |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 60899984662e4f3
+------
---
---
[root@cloud1 ~(keystone_user)]$ nova boot --flavor m1.small --image rh6 --nic net-id=
---
testnet does exist in the plugin.ini:
---
network_vlan_ranges = testnet:100:200
...
physical_
---
Inside the vm, I only have the "lo" interface. If I create a subnet, then an eth0 device gets created. I've tried both "flat" and "vlan" for network_type.
What's the right way to do this?
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Zak Estrada for more information if necessary.