X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pve-network.adoc;h=e6deb43dc7ab1e6254e1d9327ceafa0cc87ffc7c;hp=f14033cf12ded9ee724e48eae4b08531807fdb60;hb=221527df677cfc4d7146a6db2c4c089e36ef6157;hpb=b4c06a939518342bbea4748335f3b8c4afeed671 diff --git a/pve-network.adoc b/pve-network.adoc index f14033c..e6deb43 100644 --- a/pve-network.adoc +++ b/pve-network.adoc @@ -1,6 +1,10 @@ +[[sysadmin_network_configuration]] Network Configuration --------------------- include::attributes.txt[] +ifdef::wiki[] +:pve-toplevel: +endif::wiki[] {pve} uses a bridged networking model. Each host can have up to 4094 bridges. Bridges are like physical network switches implemented in @@ -154,10 +158,22 @@ iface vmbr0 inet static Linux Bond ~~~~~~~~~~ -Bonding is a technique for binding multiple NIC's to a single network -device. It is possible to achieve different goals, like make the -network fault-tolerant, increase the performance or both -together. +Bonding (also called NIC teaming or Link Aggregation) is a technique +for binding multiple NIC's to a single network device. It is possible +to achieve different goals, like make the network fault-tolerant, +increase the performance or both together. + +High-speed hardware like Fibre Channel and the associated switching +hardware can be quite expensive. By doing link aggregation, two NICs +can appear as one logical interface, resulting in double speed. This +is a native Linux kernel feature that is supported by most +switches. If your nodes have multiple Ethernet ports, you can +distribute your points of failure by running network cables to +different switches and the bonded connection will failover to one +cable or the other in case of network trouble. + +Aggregated links can improve live-migration delays and improve the +speed of replication of data between Proxmox VE Cluster nodes. There are 7 modes for bonding: @@ -207,6 +223,10 @@ traffic. For the most setups the active-backup are the best choice or if your switch support LACP "IEEE 802.3ad" this mode should be preferred. +The following bond configuration can be used as distributed/shared +storage network. The benefit would be that you get more speed and the +network will be fault-tolerant. + .Example: Use bond with fixed IP address ---- auto lo @@ -236,7 +256,11 @@ iface vmbr0 inet static ---- -.Example: Use a bond with a bridge + +Another possibility it to use the bond directly as bridge port. +This can be used to make the guest network fault-tolerant. + +.Example: Use a bond as bridge port ---- auto lo iface lo inet loopback