Instance is not getting a static IP
Hi,
I have installed openstack grizzly with quantum as the networking. I have one controller and one compute node.
The controller has all the quantum services running (openvswitch,
So - NET1 -> subnet1 192.168.1.0/24 , dhcp_enabled=True
NET2-> subnet2 192.168.
Now my intention is to create a fedora instance which will be having two NICs - one in each network. To accomplish this I have created a port in NET2's subnet2 using following command
quantum port-create --fixed_ip subnet_id=<subnet2 ID>,ip_
and stored the port id in port_id variable.
Then I started the one instance with following command
nova boot --image <image_id> --flavor 2 --nic net-id=<NET1 ID> --nic port-id=<port id > <vm name>
After the booting process the instance has two NICs - eth0 and eth1. eth0 got the dhcp IP but eth1 did not get the fixed IP. In dashboard it shows both the IPs 192.168.1.3 and 192.168.2.10.
I am not sure why eth1 is not getting an IP. Can anybody help on this regard?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Akihiro Motoki
- Solved:
- Last query:
- Last reply: