Update docs/tech_docs/proxmox_dhcp.md

This commit is contained in:
2024-04-19 20:49:23 +00:00
parent 8496a23011
commit 103971e788

View File

@@ -11,7 +11,7 @@ cp /etc/network/interfaces /etc/network/interfaces.bak
1. **Update Network Interface Configuration:**
- Open `/etc/network/interfaces` in a text editor:
```bash
nano /etc/network/interfaces
vim /etc/network/interfaces
```
- Change the `vmbr0` configuration from static to DHCP:
```bash
@@ -47,15 +47,12 @@ cp /etc/network/interfaces /etc/network/interfaces.bak
```
- Save and exit.
5. **Reserve IP in DHCP Server (Optional but Recommended):**
- To ensure the IP does not change on reboots, reserve the IP in your DHCP server settings to always assign the same IP to the MAC address of `vmbr0`.
### Creating a New Virtual Bridge (`vmbrX`):
1. **Add a New Virtual Bridge Configuration:**
- Edit `/etc/network/interfaces`:
```bash
nano /etc/network/interfaces
vim /etc/network/interfaces
```
- Add a new bridge configuration at the end of the file:
```bash
@@ -74,4 +71,3 @@ cp /etc/network/interfaces /etc/network/interfaces.bak
```
### General Notes: