X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pve-network.adoc;h=fd523576323917958d07c5022a7ae2777b9aa7bf;hp=f14033cf12ded9ee724e48eae4b08531807fdb60;hb=e4bcef0aa353696e649daf44cdb89c267e68a774;hpb=b4c06a939518342bbea4748335f3b8c4afeed671 diff --git a/pve-network.adoc b/pve-network.adoc index f14033c..fd52357 100644 --- a/pve-network.adoc +++ b/pve-network.adoc @@ -1,6 +1,9 @@ +[[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 +157,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 +222,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 +255,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