diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2010-11-11 13:34:45 -0800 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2010-11-11 13:34:45 -0800 |
| commit | 84d154a3db72092f1f40f53cec6d129eb479f4af (patch) | |
| tree | 311c920264483f1b29b20c4cc34779ed34c4659b /doc/source | |
| parent | c9eb90c17e1edcf52a11633393d27ba5a9656381 (diff) | |
| download | nova-84d154a3db72092f1f40f53cec6d129eb479f4af.tar.gz nova-84d154a3db72092f1f40f53cec6d129eb479f4af.tar.xz nova-84d154a3db72092f1f40f53cec6d129eb479f4af.zip | |
Add Flat mode doc
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/adminguide/network.flat.rst | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/doc/source/adminguide/network.flat.rst b/doc/source/adminguide/network.flat.rst new file mode 100644 index 000000000..11b960584 --- /dev/null +++ b/doc/source/adminguide/network.flat.rst @@ -0,0 +1,62 @@ +.. + Copyright 2010 United States Government as represented by the + Administrator of the National Aeronautics and Space Administration. + All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); you may + not use this file except in compliance with the License. You may obtain + a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + License for the specific language governing permissions and limitations + under the License. + + +Flat Network Mode +================= + +Flat network mode removes most of the complexity of VLAN mode by simply +bridging all instance interfaces onto a single network. + +There are two variations of flat mode that differ mostly in how IP addresses +are given to instances. + + +Original Flat Mode +------------------ + +Each compute host creates a single bridge for all instances to use to attach +to the external network. + +The networking configuration is injected into the instance before it is booted or +it is obtained by a guest agent installed in the instance. + +Note that the configuration injection currently only works on linux-style systems that keep networking +configuration in /etc/network/interfaces. + + +Flat DHCP Mode +-------------- + +Like flat mode, all instances are attached to a single bridge on the compute node. +In addition a DHCP server is running to configure instances. + + +Implementation +-------------- + +The network nodes do not act as a default gateway in flat mode. Instances +are given public IP addresses. + +Compute nodes have iptables/ebtables entries created per project and +instance to protect against IP/MAC address spoofing and ARP poisoning. + + +Examples +-------- + +.. todo:: add flat network mode configuration examples |
