When creating networks, use these options:
--provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id SEG_ID
SEG_ID
should be
2
for the external network, and just
any unique number inside the vlan range specified above
for any other network.
Note | |
---|---|
These options are not needed beyond the first network, as Neutron automatically increments the segmentation ID and copies the network type and physical network options for any additional networks. They are only needed if you wish to modify those values in any way. |
Warning | |
---|---|
Some NICs have Linux drivers that do not handle
VLANs properly. See the
If you run OpenStack inside a virtualized
environment (for testing purposes), switching to the
|