[openstack-dev] [qa] Should it be allowed to attach 2 interfaces from the same subnet to a VM?
Andrea Frittoli
andrea.frittoli at gmail.com
Tue Dec 2 10:44:57 UTC 2014
Hello Danny,
I think so. Any special concern with a VM using more than one port on a subnet?
andrea
On 2 December 2014 at 02:04, Danny Choi (dannchoi) <dannchoi at cisco.com> wrote:
> Hi,
>
> When I attach 2 interfaces from the same subnet to a VM, there is no error
> returned and
> both interfaces come up.
>
> lab at tme211:/opt/stack/logs$ nova interface-attach --net-id
> e38dba4a-74ed-4312-ba21-2a04b5c5a5b5 cirros-1
>
> lab at tme211:/opt/stack/logs$ nova list
>
> +--------------------------------------+----------+--------+------------+-------------+-------------------+
>
> | ID | Name | Status | Task State |
> Power State | Networks |
>
> +--------------------------------------+----------+--------+------------+-------------+-------------------+
>
> | 9d88d0b5-2453-4657-8058-987980ec7744 | cirros-1 | ACTIVE | - |
> Running | private=10.0.0.10 |
>
> +--------------------------------------+----------+--------+------------+-------------+-------------------+
>
> lab at tme211:/opt/stack/logs$ nova interface-attach --net-id
> e38dba4a-74ed-4312-ba21-2a04b5c5a5b5 cirros-1
>
> lab at tme211:/opt/stack/logs$ nova list
>
> +--------------------------------------+----------+--------+------------+-------------+------------------------------+
>
> | ID | Name | Status | Task State |
> Power State | Networks |
>
> +--------------------------------------+----------+--------+------------+-------------+------------------------------+
>
> | 9d88d0b5-2453-4657-8058-987980ec7744 | cirros-1 | ACTIVE | - |
> Running | private=10.0.0.10, 10.0.0.11 |
>
> +--------------------------------------+----------+--------+------------+-------------+------------------------------+
>
>
> $ ifconfig
>
> eth0 Link encap:Ethernet HWaddr FA:16:3E:92:2D:2B
>
> inet addr:10.0.0.10 Bcast:10.0.0.255 Mask:255.255.255.0
>
> inet6 addr: fe80::f816:3eff:fe92:2d2b/64 Scope:Link
>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> RX packets:514 errors:0 dropped:0 overruns:0 frame:0
>
> TX packets:307 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:1000
>
> RX bytes:48342 (47.2 KiB) TX bytes:41750 (40.7 KiB)
>
>
> eth1 Link encap:Ethernet HWaddr FA:16:3E:EF:55:BC
>
> inet addr:10.0.0.11 Bcast:10.0.0.255 Mask:255.255.255.0
>
> inet6 addr: fe80::f816:3eff:feef:55bc/64 Scope:Link
>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> RX packets:49 errors:0 dropped:0 overruns:0 frame:0
>
> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:1000
>
> RX bytes:3556 (3.4 KiB) TX bytes:1120 (1.0 KiB)
>
>
>
> Should this operation be allowed?
>
>
> Thanks,
>
> Danny
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
More information about the OpenStack-dev
mailing list