import type { Metadata } from "next" import { Network } from "lucide-react" import CopyableCode from "@/components/CopyableCode" export const metadata: Metadata = { title: "ProxMenux Post-Install: Network Settings", description: "Comprehensive guide to Network Settings in the ProxMenux post-install script for optimizing Proxmox VE network performance and configuration.", openGraph: { title: "ProxMenux Post-Install: Network Settings", description: "Comprehensive guide to Network Settings in the ProxMenux post-install script for optimizing Proxmox VE network performance and configuration.", type: "article", url: "https://macrimi.github.io/ProxMenux/docs/post-install/network", images: [ { url: "https://macrimi.github.io/ProxMenux/network-settings-image.png", width: 1200, height: 630, alt: "ProxMenux Post-Install Network Settings", }, ], }, twitter: { card: "summary_large_image", title: "ProxMenux Post-Install: Network Settings", description: "Comprehensive guide to Network Settings in the ProxMenux post-install script for optimizing Proxmox VE network performance and configuration.", images: ["https://macrimi.github.io/ProxMenux/network-settings-image.png"], }, } function StepNumber({ number }: { number: number }) { return (
The Network Settings category focuses on optimizing network performance and configuration in Proxmox VE. These settings are essential for efficient network operations in virtualized environments where multiple VMs and containers share network resources.
This setting adjusts various sysctl parameters to enhance network performance, security, and stability.
Why it's beneficial: Improves throughput, reduces latency, and enhances security by fine-tuning kernel network settings. These optimizations are critical in virtualization environments where network efficiency directly impacts VMs and container performance.
This adjustment automates the following commands:
This optimization enables TCP BBR, Google's congestion control algorithm, and TCP Fast Open.
Why it's beneficial:
These enhancements improve network responsiveness in virtualized environments where efficient communication between systems is critical.
This adjustment automates the following commands:
This setting forces APT (Advanced Package Tool) to use IPv4 exclusively.
Why it's beneficial: Ensures reliable package management operations in environments where IPv6 is misconfigured or causes slow downloads. This is particularly useful in networks where IPv6 connectivity is unstable or unsupported, reducing potential update and repository access issues.
This adjustment automates the following commands:
This optimization installs Open vSwitch (OVS), a multilayer virtual switch designed for modern virtualized environments. OVS enhances network management by enabling advanced features for virtualized infrastructures.
Why it's beneficial: Open vSwitch provides powerful networking capabilities, including:
This adjustment automates the following commands:
Once installed, Open vSwitch can be used to create virtual network bridges. Below is an example of how to create a virtual switch named br0
and add a network interface to it.
Open vSwitch allows VLAN tagging to segment network traffic. Below is an example of how to add an interface to a specific VLAN.
If an interface needs to carry multiple VLANs (trunk mode), use the following command:
If you need to remove a bridge or a port from Open vSwitch, use these commands:
Open vSwitch enables advanced networking capabilities for virtual environments, allowing greater control over network traffic, security, and performance optimizations.
This setting adjusts network interface parameters to enhance performance and reliability.
Why it's beneficial: PProper NIC tuning reduces latency, packet loss, and improves stability in environments with high network loads. Adjustments like increasing TX queue length prevent packet drops and enhance network responsiveness, which is essential in virtualized infrastructures with multiple VMs and containers.
This adjustment automates the following commands:
All of these optimizations are automatically applied when selected in the Network section. This automation ensures that these beneficial settings are applied consistently and correctly, saving time and reducing the potential for human error during manual configuration.