0

I bought a mini-pc to start experiment a little bit with homelab. My plan is to setup Home Assistant, Adguard Home and Nextcloud as a starting point. All those, through proxmox. The router I have is locked from the provider and I cannot add a custom DNS. The router is also locked on VOIP and I cannot replace it. I have 2 options. Either add a second router to bridge with the first and connect all my devices there OR disable the DHCP server from the router and use the one from Adguard.

I enabled Adguard Home, add on the VM network the static IP and as the Gateway IP the IP I had in my router admin. I enabled DHCP and did the same in the settings (Gateway IP and same Range of IP addresses as on the router). I disabled the DHCP server from the router. Then after flushing DNS in my devices, I stopped having access on the internet.

I also tried the following:

I disabled DHCP on Adguard and shutdown the VM. Then I made a reset on my router and made sure that I had the DHCP server enabled. I changed my device WiFi settings to a specific IP and I was able to connect to the internet.

Edit: As requested, here is the content of the etc/network/interfaces

auto lo
iface lo inet loopback

iface enp1s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.2.37/24
        gateway 192.168.2.1
        bridge-ports enp1s0
        bridge-stp off
        bridge-fd 0

iface wlo1 inet manual
16
  • It looks like AdGuard Home is a DNS Server. NOT a DHCP server. Are you mixing them up?
    – Kissaki
    Commented May 30 at 7:45
  • They also have an option for DHCP Server. Here is a screenshot from Google, since I don't have access right now to my own setup. user-images.githubusercontent.com/1372058/…
    – Tasos
    Commented May 30 at 8:02
  • What exactly did you configure as Adguard's own gateway, and what exactly did you configure as the gateway to be advertised via DHCP? Commented May 30 at 8:12
  • On the GatewayIP I added the IP of my router (192.168.2.1) and the range of IP addresses were the same as in my router setup 192.168.2.2 up to 250. Then on my VM (proxmox) setup, I added the IP of the Adguard, which was like this 192.168.1.34/24 and the Gateway IP same as the router IP above.
    – Tasos
    Commented May 30 at 8:20
  • It sounds like this AdGuard VM hasn't been made to join the physical LAN with bridged networking? (Instead it is attached to some "NAT bridge"?)
    – Tom Yan
    Commented May 30 at 12:20

0

You must log in to answer this question.

Browse other questions tagged .