H
H
HighMan2021-05-01 15:17:48
Debian
HighMan, 2021-05-01 15:17:48

Proxmox where does the weird DHCP come from?

Hello comrades!
I'm not familiar with installing and configuring Proxmox.
In general, I installed Debian 10.9, installed Proxmox on it.
Of course, everything did not go as smoothly as we would like, but it worked. In the first approximation.
Set up Lunux bridge.
Created an LXC container on Ubuntu. Rat!
Everything is working. The container received an ip address and DNS from an external network. All in a bundle!
For the sake of interest, I created a VM with Windows 7.
There is a yellow cross on the network. No internet access.
I open network settings: obtaining IP via DHCP.
ipconfig / all
And then miracles began!
IP address: 192.168.0.101
DHCP server 192.168.0.1
DNS 192.168.0.1
Default gateway 192.168.0.1
Where?
On the network, in general, there is no range 192.168.0.0/16!
Ran ifconfig. There is no adapter with an address in the 192.168.0.0/16 range.
From Windows 7 I ping 192.168.0.1 pings pass. Where???
Windows uses the same Linux Bridge (vmbr0). But for some reason the behavior is completely different!
Where does the network 192.168.0.0/16 come from, I don’t understand at all.
Where does the DHCP server come from - a mystery! Unless proxmox is running it.
OK. Configured IP from the desired range 10.1.100.200, default gateway 10.1.100.1, DNS 10.1.100.1.
Windows saw the Internet.
All miracles and miracles!
I also did not really understand what Cloud init is.

To be honest, Proxmox didn't really impress me. The interface is not very intuitive.
So far, I have not really figured out how to manage the VM from the terminal.
I didn’t understand at all how to change the type of hard from IDE to VirtIO through the webmord.
When compared to libvirt, there are 2 advantages:
1. Web interface (not essential)
2. VM semi-cloning from template. If I understand correctly, it works like snapshot or persistece or Docker, sorry Hospadya!
libvirt has one advantage: I know it well and there is VirtManager :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2021-05-02
@opium

dhcpd is not taken from anywhere, it means you have another dhcpd on your network from which thread can a router or something else

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question