install -dm755 build-$(DOC_PACKAGE)/usr/share/doc/${DOC_PACKAGE}
install -m 0644 index.html ${INDEX_INCLUDES} build-$(DOC_PACKAGE)/usr/share/${DOC_PACKAGE}
install -m 0644 ${WIKI_IMPORTS} build-$(DOC_PACKAGE)/usr/share/${DOC_PACKAGE}
+ # install images
+ make -C images DESTDIR=../build-$(DOC_PACKAGE) install
# install screenshot images
install -dm755 build-$(DOC_PACKAGE)/usr/share/${DOC_PACKAGE}/images/screenshot
install -m 0644 images/screenshot/*.png build-$(DOC_PACKAGE)/usr/share/${DOC_PACKAGE}/images/screenshot
-all:
+TT_SOURCES= \
+ default-network-setup-bond.tt \
+ default-network-setup-routed.tt \
+ default-network-setup-bridge.tt
+
+all: $(TT_SOURCES:.tt=.svg)
%.tmp.dot: %.tt pve_network_templates.tt
tpage $*.tt >$*.tmp.dot
%.svg: %.tmp.dot
dot $*.tmp.dot -T svg -o $*.svg
+update:
+ rm -f $(TT_SOURCES:.tt=.svg)
+ make $(TT_SOURCES:.tt=.svg)
+
+install: $(TT_SOURCES:.tt=.svg)
+ install -d -m 0755 $(DESTDIR)/usr/share/pve-docs/images
+ install -m 0644 $(TT_SOURCES:.tt=.svg) $(DESTDIR)/usr/share/pve-docs/images
clean:
rm -f *.tmp.dot
Default Configuration using a Bridge
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+[thumbnail="default-network-setup-bridge.svg"]
Bridges are like physical network switches implemented in software.
All VMs can share a single bridge, or you can create multiple bridges to
separate network domains. Each host can have up to 4094 bridges.
interface. This makes sure that all network packets use the same MAC
address.
+[thumbnail="default-network-setup-routed.svg"]
A common scenario is that you have a public IP (assume `198.51.100.5`
for this example), and an additional IP block for your VMs
(`203.0.113.16/29`). We recommend the following setup for such
----
+[thumbnail="default-network-setup-bond.svg"]
Another possibility it to use the bond directly as bridge port.
This can be used to make the guest network fault-tolerant.