← Back to team overview

openstack team mailing list archive

Re: Explanation about the demo quantum install

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Skible

On 23/11/12 09:59, Skible OpenStack wrote:
> I have some questions about the quantum demo install found here : 
> http://docs.openstack.org/trunk/openstack-network/admin/content/demo_logical_network_config.html
>
>  Can someone please tell me what should the IP address of eth2 (
> bridged on br-ex) ? and how it's related to the external network
> related later ?

eth2 won't need an IP address - but at a minimum the link needs to be
up so that br-ex can use it:

   ip link set eth2 up

You can add an IP address to br-ex itself but that it not required
(sometimes helpful for debugging network connectivity issues from the
quantum l3-agent host).

> quantum subnet-create ext_net 172.24.4.224/28 --
> --enable_dhcp=False
> 
> +------------------+--------------------------------------------------+
>
> 
| Field            | Value                                            |
> +------------------+--------------------------------------------------+
>
> 
| allocation_pools | {"start": "172.24.4.226", "end": "172.24.4.238"} |
> | cidr             | 172.24.4.224/28
> | | dns_nameservers  |
> | | enable_dhcp      | False
> | | gateway_ip       | 172.24.4.225
> | | host_routes      |
> | | id               | aef60b55-cbff-405d-a81d-406283ac6cff
> | | ip_version       | 4
> | | name             |
> | | network_id       | 8858732b-0400-41f6-8e5c-25590e67ffeb
> | | tenant_id        | cbb574ac1e654a0a992bfc0554237abf
> | 
> +------------------+--------------------------------------------------+
>
>  I would like also to query about how to get the gateway_ip ?
> should it be created by default or mapped to the IP address of eth2
> ??

You can specify the gateway_ip when creating the subnet:

 --gateway <IP ADDRESS>

This should be the gateway that external network traffic should be
routed to by default (probably your default outbound route for
internet access).

When you associate the external network with the router using 'quantum
router-gateway-set' the quantum l3-agent will configure a router with
an IP address on the quantum host using an IP from the allocation pool.

HTH


- -- 
James Page
Technical Lead
Ubuntu Server Team
james.page@xxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBCAAGBQJQr1o7AAoJEL/srsug59jDywkP/R7ChtA5q32SWObW14r5gqgB
rNR78kkRTU6ZC+ajtL183a5Bl0wPXxG3NLHGhg2sXEApou+XMyO81AjAKNyLwa94
dxaSZxgS0HS0LFJt/HDFZtIpH/4ZxSy9kXv1vP3Whkg6uo4Sh14yDbEdJBD4H2lO
yBvkf7GlQl+ujRJ4C+smxogQy1iZg5FcmRBcrt25JXqdUkF8y4pPZ0FHBIKvrJw+
xlnE1AgRUNRUKSdYHlJ4wJCg3IgZ7qNVul4Ezf9z3y5JwN9lJWZYWdWdxHcDT0AH
1Kkfczj3I1glmrRSGJYzjAhQ3/76xu0ru4bhqAj8SEar4EDP/pH3zELY9v+awwA4
K3kmeN4ZO1DMqwYVxa32no/THik2WM/xhZNr+qSUOgeAS23t646L35aMasx/cuK6
m0rh6Yhjx2iFnhcpLTGS+9hgDgljRbvvONjzQ3hxrCEXscHFq9J8Yudlw1QCYGRP
5n3+z0HEHDjPfBfxR03fyacD7H8WAb56mac9OHhU2a/1s3xekUDZ3stRLYPsI6Vl
Kx5Ar77hT0dkvGPZh8KhOEBuhcIOnvPZ/ainfrtg4Gov847/N9fKSsjwG5PYoHO5
r5qFrSjVJba9IZ83FBdDrZRnr99T3dCaXzYUxrnFWeldGyg3aiHIfLFmhDG6NYTl
qa2S/ZHHn7ZOUZSDgdNA
=9zR5
-----END PGP SIGNATURE-----


Follow ups

References