[SOLVED] Configured proxmox as dhcp

Rice and Soy Sauce

New Member
Jan 25, 2025
9
0
1
I'm setting up a box for a friend to first backup a box at the office then move it to her house to continue the backup via remote. She has no IT skills whatsoever. My friend's office has no high speed internet in the area. She signed up for Tmobile home internet and it's fine for day to day office work. She has a large amount of data on the existing proxmox box there. I don't want to deploy this second box at her home for offsite backup for the initial backup over celluar so I'm thinking to setup a dhcp proxmox that she can just plug in, power it up and I'll then handle the rest. When I'm done with the initial backup, she'll disconnect it at the office, take it home, connect and power it on for me to sync the backups.


What I've done so far.

1. New install of v9.
2. Reconfigured to use dhcp instead of static ip. I followed a post to add a script to update the hosts file according to the dhcp ip assignment.
3. Shut it down for a week to focus on a different project.
4. Today, powered up the box and can't load the web ui. I'm connecting to the box via ip address:8006.

Message is site can't be reached.



Current /etc/network/interfaces configuration:
auto lo
iface lo inet loopback

iface nic0 inet dhcp
bridge-ports nic0
bridge-stp off
bridg-fd 0

I've confirm the corresponding hosts file does have an entry reflecting the dhcp ip received for proxmox. I can ping the box on the lan.

Thanks
Rice
 
Welcome to the Proxmox Forum :-)

Please provide (each result please in a seperate [ CODE ] block)
  • ip a
  • ss -tlpn
  • curl -v ip:8006 (where ip is your dynamic ip)
  • ls /etc/default/pveproxy
  • cat /usr/local/lib/systemd/network/*.link
  • cat /etc/hosts
Personal question: Has there been a main course beside rice and soy sauce, or is it just that?
 
Last edited:
Change

iface nic0 inet dhcp

to

iface vmbr0 inet dhcp

and then

systemctl restart networking

P.S.: Still curious about my other question ;-) Found your answer. Awesome! I love fried rice with soy sauce ;-)
 
Last edited:
Please uncomment iface nic0 inet manual & afterwards systemctl restart networking
 
Last edited:
Could you please provde ip r

I assume your /etc/network/interfaces looks like that now, correct?
Code:
auto lo
iface lo inet loopback

iface nic0 inet manual

auto vmbr0
iface vmbr0 inet dhcp
        bridge-ports nic0
        bridge-stp off
        bridge-fd 0

Also, can you arrive the gateway from your Proxmox box? ping 192.168.86.254
 
Last edited:
I've edited my original post to "ip r". The "a" doesnt belong there.
 
Please edit your /etc/hosts entry to

192.168.86.211 ctoffsite.local ctoffsite

Okay so the routing on the Proxmox box is fine now. If you restart pveproxy via systemctl restart pveproxy everything should work. Always make sure your /etc/hosts file refers to the correct hostname and IP provided by DHCP.

If it still not working, please provide cat /etc/hostname
 
Last edited:
Unfortunately, still can't connect.

cat /etc/hostname

ctoffsite


BTW, I can't ping the box by its hostname. Only IP pinging to it works.

It can ping out to google.com just fine though
 
Last edited:
Did you edit your /etc/hosts?
 
Happy it works now. Please be so kind and change the thread to [SOLVED] via the edit function in your first post -> TITLE