feat: add ip module for automated free IP discovery in agent pool
This commit is contained in:
parent
064144134e
commit
a6f61ad2ac
3 changed files with 58 additions and 7 deletions
17
README.md
17
README.md
|
|
@ -53,13 +53,18 @@ infra proxmox list-lxcs --node la-vmh-12
|
|||
infra proxmox create-lxc 12150 local:vztmpl/debian-13-standard "new-app" "10.32.70.100/16" "10.32.0.1" --node la-vmh-12
|
||||
```
|
||||
|
||||
### 3. Networking (DNS & DHCP)
|
||||
```bash
|
||||
# Register the new machine in DHCP
|
||||
infra dns add-host "aa:bb:cc:dd:ee:ff" "10.32.70.100" "new-app"
|
||||
### 3. Networking (IP, DNS & DHCP)
|
||||
Assign a static identity to your new machine. The CLI helps you find free addresses in the dedicated agent pool (`10.32.70.0/24`).
|
||||
|
||||
# Add a custom DNS record
|
||||
infra dns add-dns "api.loopaware.com" "10.32.70.100"
|
||||
```bash
|
||||
# Find the next available IP for your project
|
||||
infra ip next-free
|
||||
|
||||
# List top 5 available IPs
|
||||
infra ip list-free --count 5
|
||||
|
||||
# Register the machine in DHCP
|
||||
infra dns add-host "aa:bb:cc:dd:ee:ff" "10.32.70.100" "new-app"
|
||||
```
|
||||
|
||||
### 4. Cloudflare DDNS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue