Are the eth* interfaces up that are attached to the bridge? <br><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 3:09 PM, Jason <span dir="ltr"><<a href="mailto:jason@chatinara.com" target="_blank">jason@chatinara.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Only one listed. What is more odd is that I am not seeing arps being returned so this issue seems to be at layer 2. Any other ideas?</div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>Jason</div></font></span><div><div class="h5"><div><br>On Oct 23, 2012, at 5:46 PM, Aaron Rosen <<a href="mailto:arosen@nicira.com" target="_blank">arosen@nicira.com</a>> wrote:<br>
<br></div><blockquote type="cite"><div>Do you have two default gateways in your instance when you type route -n ? <div><br></div><div>Aaron<br><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 2:12 PM, Jason Ford <span dir="ltr"><<a href="mailto:jason@chatinara.com" target="_blank">jason@chatinara.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This seems broke unless I have something weird going on in my ovs setup. I can get quantum to assign the second IP address to the instance but when trying to do anything to that second IP, traffic is blocked by something. I have verified that iptables is updated on the hypervisor and I can see flows in OVS inbound but no replies. I can even see the traffic making it to the instance as well via tcpdump and also see the replies going out for the initial ARP as well from inside the instance. The ARP never seems to make it into OVS as a flow. Is Quantum missing a configuration for a flow somewhere or is there something more I should look for? Does it work for anyone else or did I hit a bug?<br>


<span><font color="#888888"><br>
jason<br>
</font></span><div><div><br>
----- Original Message -----<br>
From: "Dan Wendlandt" <<a href="mailto:dan@nicira.com" target="_blank">dan@nicira.com</a>><br>
To: "Jason Ford" <<a href="mailto:jason@chatinara.com" target="_blank">jason@chatinara.com</a>><br>
Cc: <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Sent: Tuesday, October 23, 2012 12:55:42 AM<br>
Subject: Re: [Openstack] quantum: two ips one vif<br>
<br>
by default, quantum will give a port one IP address from any v4 subnet<br>
associated with the network, and one from any v6 subnet associated<br>
with the subnet.  However, you can create your own port with multiple<br>
subnets, and then boot a VM with that port.  You can create a port<br>
with IPs from different subnets by using the --fixed-ip option twice,<br>
each time specifying a different subnet.  See example below.<br>
<br>
Dan<br>
<br>
<br>
nicira@com-dev:~/devstack$ quantum subnet-list -c id -c network_id -c cidr<br>
+-------------+--------------------------------------+--------------------------------------+<br>
| cidr        | id                                   | network_id<br>
                     |<br>
+-------------+--------------------------------------+--------------------------------------+<br>
| <a href="http://10.0.0.0/16" target="_blank">10.0.0.0/16</a> | a26f5605-8400-45ef-82cc-ec62fae37a33 |<br>
9f930f56-ca54-41b9-bb68-688f009e2f75 |<br>
| <a href="http://20.0.0.0/24" target="_blank">20.0.0.0/24</a> | f1278823-d6e3-4237-ad55-7f2fe286994c |<br>
9f930f56-ca54-41b9-bb68-688f009e2f75 |<br>
+-------------+--------------------------------------+--------------------------------------+<br>
nicira@com-dev:~/devstack$ quantum port-create --fixed-ip<br>
subnet_id=a26f5605-8400-45ef-82cc-ec62fae37a33 --fixed-ip<br>
subnet_id=f1278823-d6e3-4237-ad55-7f2fe286994c<br>
9f930f56-ca54-41b9-bb68-688f009e2f75<br>
Created a new port:<br>
+----------------+---------------------------------------------------------------------------------+<br>
| Field          | Value<br>
                            |<br>
+----------------+---------------------------------------------------------------------------------+<br>
| admin_state_up | True<br>
                            |<br>
| device_id      |<br>
                            |<br>
| device_owner   |<br>
                            |<br>
| fixed_ips      | {"subnet_id":<br>
"a26f5605-8400-45ef-82cc-ec62fae37a33", "ip_address": "10.0.0.3"} |<br>
|                | {"subnet_id":<br>
"f1278823-d6e3-4237-ad55-7f2fe286994c", "ip_address": "20.0.0.3"} |<br>
| id             | 79f20e6f-7b95-44b0-90e6-bd0296c7aa54<br>
                            |<br>
| mac_address    | fa:16:3e:05:69:ba<br>
                            |<br>
| name           |<br>
                            |<br>
| network_id     | 9f930f56-ca54-41b9-bb68-688f009e2f75<br>
                            |<br>
| status         | ACTIVE<br>
                            |<br>
| tenant_id      | b02686b6c8c44c75bd7459710ed81edb<br>
                            |<br>
+----------------+---------------------------------------------------------------------------------+<br>
nicira@com-dev:~/devstack$ nova image-list<br>
+--------------------------------------+---------------------------------+--------+--------+<br>
| ID                                   | Name<br>
  | Status | Server |<br>
+--------------------------------------+---------------------------------+--------+--------+<br>
| 5809a3fe-2c27-4d87-80c0-963ec1f92d0f | cirros-0.3.0-x86_64-uec<br>
  | ACTIVE |        |<br>
| e9a03bac-1e46-4d98-973d-2efc0f10d4d2 |<br>
cirros-0.3.0-x86_64-uec-kernel  | ACTIVE |        |<br>
| 28ad71a6-b120-4d75-a8cc-1aabe248edfa |<br>
cirros-0.3.0-x86_64-uec-ramdisk | ACTIVE |        |<br>
+--------------------------------------+---------------------------------+--------+--------+<br>
nicira@com-dev:~/devstack$ nova boot --image<br>
5809a3fe-2c27-4d87-80c0-963ec1f92d0f --flavor 1 --nic<br>
port-id=79f20e6f-7b95-44b0-90e6-bd0296c7aa54 vm1<br>
+------------------------+--------------------------------------+<br>
| Property               | Value                                |<br>
+------------------------+--------------------------------------+<br>
| OS-DCF:diskConfig      | MANUAL                               |<br>
| OS-EXT-STS:power_state | 0                                    |<br>
| OS-EXT-STS:task_state  | scheduling                           |<br>
| OS-EXT-STS:vm_state    | building                             |<br>
| accessIPv4             |                                      |<br>
| accessIPv6             |                                      |<br>
| adminPass              | 68GLMZmLrsJ5                         |<br>
| config_drive           |                                      |<br>
| created                | 2012-10-23T04:52:02Z                 |<br>
| flavor                 | m1.tiny                              |<br>
| hostId                 |                                      |<br>
| id                     | 10afbdc8-1ded-4a90-bbe4-0b245776a408 |<br>
| image                  | cirros-0.3.0-x86_64-uec              |<br>
| key_name               | None                                 |<br>
| metadata               | {}                                   |<br>
| name                   | vm1                                  |<br>
| progress               | 0                                    |<br>
| security_groups        | [{u'name': u'default'}]              |<br>
| status                 | BUILD                                |<br>
| tenant_id              | b02686b6c8c44c75bd7459710ed81edb     |<br>
| updated                | 2012-10-23T04:52:02Z                 |<br>
| user_id                | 6596c5e8318047d2859ee1bc5aef5c26     |<br>
+------------------------+--------------------------------------+<br>
nicira@com-dev:~/devstack$ nova list<br>
+--------------------------------------+------+--------+-------------------------+<br>
| ID                                   | Name | Status | Networks<br>
          |<br>
+--------------------------------------+------+--------+-------------------------+<br>
| 10afbdc8-1ded-4a90-bbe4-0b245776a408 | vm1  | BUILD  |<br>
net1=10.0.0.3, 20.0.0.3 |<br>
+--------------------------------------+------+--------+-------------------------+<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Mon, Oct 22, 2012 at 7:09 PM, Jason Ford <<a href="mailto:jason@chatinara.com" target="_blank">jason@chatinara.com</a>> wrote:<br>
> Stackers,<br>
><br>
> I am testing out quantum with vlans using a hardware based firewall as a gateway. I am using openvswitch with the quantum openvswitch agent and nova-compute running on the compute node. I also have one management node with everything else on it.<br>


><br>
> I am able to spin up a vm and assign an ip address via dhcp to my instance. It shows up in quantum port-list as well as quantum net-list and is able to route traffic in and out of my vlan'd network. I have a requirement to assign another fixed IP (not floating) from a new vlan to the same virtual interface on the instance. When I create another subnet in quantum, that works. How do I assign an ip address from the new subnet to the same openvswitch port via quantum?<br>


><br>
> jason<br>
><br>
> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
<br>
<br>
--<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Dan Wendlandt<br>
Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br>
twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br></div>
</div></blockquote></div></div></div></blockquote></div><br>