mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-01-07 17:17:48 +03:00
e4682f58a1
Changes the example given in section "3.3.5. Routed Configuration" so that it's more in line with the accompanying network diagram. Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
[% PROCESS pve_network_templates.tt %]
|
|
|
|
graph default_network_setup_routed {
|
|
splines=line
|
|
fontname="Helvetica"
|
|
node [shape=record];
|
|
edge [color="#FF9100"]
|
|
|
|
size="8.0,5.0!"
|
|
ratio=fill
|
|
|
|
[% server(id="gateway" title="Provider Gateway" subtitle="198.51.100.1") %]
|
|
|
|
subgraph cluster_node1 {
|
|
label="Node: proxmox" labelloc=b
|
|
style="rounded,filled"
|
|
color="#00617F"
|
|
fillcolor="#00617F"
|
|
fontcolor="white"
|
|
edge [color=white]
|
|
|
|
[% interface(id="node1_eno0" ifname="eno0" cidr="198.51.100.5/29") %]
|
|
|
|
[% switch(
|
|
id="node1_vmbr0",
|
|
title="vmbr0",
|
|
subtitle="203.0.113.17/28"
|
|
ports="tap100i0"
|
|
)
|
|
%]
|
|
|
|
[% server(id="vm100" title="VM 100" subtitle="203.0.113.18" top_ports='ens18') %]
|
|
[% server(id="vm101" title="VM 101" subtitle="203.0.113.19" top_ports='ens18') %]
|
|
[% server(id="vm102" title="VM 102" subtitle="203.0.113.20" top_ports='ens18') %]
|
|
|
|
node1_vmbr0:tap100i0 -- vm100:ens18
|
|
node1_vmbr0:tap100i0 -- vm101:ens18
|
|
node1_vmbr0:tap100i0 -- vm102:ens18
|
|
}
|
|
|
|
gateway -- node1_eno0:eno0
|
|
|
|
node1_vmbr0 -- node1_eno0 [ fontname="Courier" fontcolor=white color=red constraint=0 label="ip_forward = 1\rproxy_arp = 1\r"]
|
|
} |