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"], }, } export default function NetworkSettingsPage() { return (

Network Settings

The Network Settings category, focuses on optimizing network performance and configuration for your Proxmox VE installation. These settings are crucial for ensuring efficient network operations, which is vital in a virtualized environment where multiple VMs and containers share network resources.

Available Optimizations

Apply Network Optimizations

This optimization applies various network-related sysctl settings to improve network performance, security, and stability.

Why it's important: These optimizations can significantly improve network throughput, reduce latency, and enhance security. They adjust various kernel parameters related to networking, which is crucial in a virtualization environment where network performance directly impacts the performance of VMs and containers.

To apply this setting manually, run:

Enable TCP BBR and Fast Open

This optimization enables Google's TCP BBR congestion control algorithm and TCP Fast Open.

Why it's important: TCP BBR can significantly improve network throughput and reduce latency, especially on long-distance or congested networks. TCP Fast Open reduces connection establishment time, improving the speed of short-lived connections. These optimizations are particularly beneficial in virtualized environments where network performance is crucial for overall system responsiveness.

To apply this setting manually, run:

Force APT to Use IPv4

This optimization configures APT (Advanced Package Tool) to use IPv4 exclusively.

Why it's important: Forcing APT to use IPv4 can resolve issues in environments where IPv6 is not properly configured or is causing slowdowns. This ensures more reliable package management operations, which is crucial for maintaining and updating your Proxmox VE system. It's particularly useful in networks where IPv6 connectivity might be unreliable or not fully supported.

To apply this setting manually, run:

Install Open vSwitch

This optimization installs Open vSwitch, a production quality, multilayer virtual switch.

Why it's important: Open vSwitch provides advanced networking capabilities for virtualized environments. It allows for more flexible and powerful network configurations, including support for VLAN tagging and trunking, advanced traffic shaping, and Quality of Service (QoS) capabilities. This is particularly beneficial for complex virtualization setups where fine-grained control over network traffic is required.

To apply this setting manually, run:

Optimize Network Interface Settings

This optimization adjusts settings for network interfaces to improve performance and reliability.

Why it's important: Proper configuration of network interfaces can significantly improve network performance, reduce latency, and increase stability. This is particularly important in virtualized environments where multiple VMs and containers share network resources. Optimizations like increasing the TX queue length can help prevent packet drops under high load.

To apply this setting manually, run:

Automatic Application

All of these optimizations are automatically applied when selected in the Network section 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.

); }