Gateway not from Fixed Range!?

asked 2014-01-15 12:12:40 -0500

Mathias Ewald gravatar image

Hi, for some reason it is possible to do this:

nova network-create --fixed-range-v4 10.0.101.0/24 --gateway 10.0.100.1 --dns1 8.8.8.8 --project-id 2575481bef7f4fde956202e3070fe688 net1

root@controller:~# nova network-show 48909160-70ff-4a05-80f7-b10d2155888e
+---------------------+--------------------------------------+
| Property            | Value                                |
+---------------------+--------------------------------------+
| bridge              | br101                                |
| vpn_public_port     | 1001                                 |
| dhcp_start          | 10.0.101.3                           |
| bridge_interface    | eth1                                 |
| updated_at          | 2014-01-15T19:01:35.000000           |
| id                  | 48909160-70ff-4a05-80f7-b10d2155888e |
| cidr_v6             | None                                 |
| deleted_at          | None                                 |
| gateway             | 10.0.100.1                           |
| rxtx_base           | None                                 |
| label               | net1                                 |
| priority            | None                                 |
| project_id          | 2575481bef7f4fde956202e3070fe688     |
| vpn_private_address | 10.0.101.2                           |
| deleted             | 0                                    |
| vlan                | 101                                  |
| broadcast           | 10.0.101.255                         |
| netmask             | 255.255.255.0                        |
| injected            | False                                |
| cidr                | 10.0.101.0/24                        |
| vpn_public_address  | 192.168.0.20                         |
| multi_host          | False                                |
| dns2                | None                                 |
| created_at          | 2014-01-15T18:59:42.000000           |
| host                | gateway                              |
| gateway_v6          | None                                 |
| netmask_v6          | None                                 |
| dns1                | 8.8.8.8                              |
+---------------------+--------------------------------------+
root@controller:~#

You can see I specified a gateway that is not from that fixed-range. Why is that possible at all? For me it creates errors on the nova-network host when I by mistake specify the same gateway address twice.

cheers Mathias

edit retag flag offensive close merge delete