71 lines
3.5 KiB
TypeScript
Raw Normal View History

2025-02-16 17:45:27 +01:00
import { Steps } from "@/components/ui/steps"
2025-03-04 19:35:06 +01:00
import CopyableCode from "@/components/CopyableCode"
2025-02-16 17:18:47 +01:00
2025-03-04 19:35:06 +01:00
export const metadata = {
2025-02-16 17:18:47 +01:00
title: "Repair Network | ProxMenux Documentation",
2025-03-04 19:35:06 +01:00
description: "Step-by-step guide to repair network configurations in Proxmox VE using ProxMenux.",
2025-02-16 17:18:47 +01:00
}
export default function RepairNetwork() {
return (
<div className="max-w-3xl mx-auto">
<h1 className="text-3xl font-bold mb-6">Repair Network</h1>
2025-03-04 19:35:06 +01:00
2025-02-16 17:18:47 +01:00
<p className="mb-4">
2025-03-04 19:35:06 +01:00
The <strong>Repair Network</strong> function in <strong>ProxMenux</strong> automates the process of detecting and fixing network issues in
<strong>Proxmox VE</strong>. It ensures stable connectivity by verifying network configurations, cleaning unused interfaces,
and correcting bridge settings.
2025-02-16 17:18:47 +01:00
</p>
2025-03-04 19:35:06 +01:00
<h2 className="text-2xl font-semibold mt-8 mb-4">Overview</h2>
<p className="mb-4">The script executes the following steps:</p>
2025-02-16 17:45:27 +01:00
<ol className="list-decimal pl-6 space-y-2 mb-6">
2025-03-04 19:35:06 +01:00
<li>Detects physical network interfaces.</li>
<li>Cleans up non-existent or unused network interfaces.</li>
<li>Checks and repairs bridge configurations.</li>
<li>Configures detected physical interfaces.</li>
<li>Provides an option to restart the network service.</li>
<li>Verifies network connectivity and displays updated IP information.</li>
2025-02-17 16:57:24 +01:00
</ol>
2025-03-04 19:35:06 +01:00
<h2 className="text-2xl font-semibold mt-8 mb-4">Implementation Steps</h2>
2025-02-16 17:45:27 +01:00
<Steps>
2025-03-04 19:35:06 +01:00
<Steps.Step title="Detect Network Interfaces">
<p>The script scans the system for available network interfaces and identifies the primary physical adapters.</p>
2025-02-16 17:45:27 +01:00
</Steps.Step>
2025-03-04 19:35:06 +01:00
<Steps.Step title="Clean Up Non-Existent Interfaces">
<p>Removes outdated or missing interfaces from the configuration files to prevent conflicts.</p>
2025-02-16 17:45:27 +01:00
</Steps.Step>
2025-03-04 19:35:06 +01:00
<Steps.Step title="Check and Fix Bridges">
<p>Verifies the bridge network settings and updates them if necessary to ensure correct operation.</p>
2025-02-16 17:45:27 +01:00
</Steps.Step>
2025-03-04 19:35:06 +01:00
<Steps.Step title="Configure Physical Interfaces">
<p>Ensures that all detected physical interfaces are properly configured in the network settings.</p>
2025-02-16 17:45:27 +01:00
</Steps.Step>
2025-03-04 19:35:06 +01:00
<Steps.Step title="Restart Networking">
<p>If necessary, the script prompts the user to restart the network service to apply changes.</p>
</Steps.Step>
<Steps.Step title="Verify Network Connectivity">
<p>Performs a final connectivity check and displays updated network information.</p>
2025-02-16 17:45:27 +01:00
</Steps.Step>
</Steps>
2025-03-04 19:35:06 +01:00
<h2 className="text-2xl font-semibold mt-8 mb-4">Expected Results</h2>
2025-02-17 16:57:24 +01:00
<ul className="list-disc pl-6 space-y-2 mb-6">
2025-03-04 19:35:06 +01:00
<li>Network interfaces are correctly detected and configured.</li>
<li>Unused or missing network configurations are removed.</li>
<li>Bridge settings are corrected if necessary.</li>
<li>The system maintains a stable and functional network configuration.</li>
2025-02-17 16:57:24 +01:00
</ul>
2025-03-04 19:35:06 +01:00
<h2 className="text-2xl font-semibold mt-8 mb-4">Important Considerations</h2>
2025-02-16 17:45:27 +01:00
<ul className="list-disc pl-6 space-y-2 mb-6">
2025-03-04 19:35:06 +01:00
<li>Restarting the network service may cause temporary disconnection.</li>
<li>Ensure an alternative access method (such as IPMI or console) in case of network misconfiguration.</li>
<li>It is recommended to back up network configurations before running the script.</li>
2025-02-16 17:45:27 +01:00
</ul>
2025-03-04 19:35:06 +01:00
2025-02-16 17:18:47 +01:00
</div>
)
}