Update docs/tech_docs/proxmox_dhcp.md
This commit is contained in:
@@ -11,7 +11,7 @@ cp /etc/network/interfaces /etc/network/interfaces.bak
|
|||||||
1. **Update Network Interface Configuration:**
|
1. **Update Network Interface Configuration:**
|
||||||
- Open `/etc/network/interfaces` in a text editor:
|
- Open `/etc/network/interfaces` in a text editor:
|
||||||
```bash
|
```bash
|
||||||
nano /etc/network/interfaces
|
vim /etc/network/interfaces
|
||||||
```
|
```
|
||||||
- Change the `vmbr0` configuration from static to DHCP:
|
- Change the `vmbr0` configuration from static to DHCP:
|
||||||
```bash
|
```bash
|
||||||
@@ -47,15 +47,12 @@ cp /etc/network/interfaces /etc/network/interfaces.bak
|
|||||||
```
|
```
|
||||||
- Save and exit.
|
- 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`):
|
### Creating a New Virtual Bridge (`vmbrX`):
|
||||||
|
|
||||||
1. **Add a New Virtual Bridge Configuration:**
|
1. **Add a New Virtual Bridge Configuration:**
|
||||||
- Edit `/etc/network/interfaces`:
|
- Edit `/etc/network/interfaces`:
|
||||||
```bash
|
```bash
|
||||||
nano /etc/network/interfaces
|
vim /etc/network/interfaces
|
||||||
```
|
```
|
||||||
- Add a new bridge configuration at the end of the file:
|
- Add a new bridge configuration at the end of the file:
|
||||||
```bash
|
```bash
|
||||||
@@ -74,4 +71,3 @@ cp /etc/network/interfaces /etc/network/interfaces.bak
|
|||||||
```
|
```
|
||||||
|
|
||||||
### General Notes:
|
### General Notes:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user