VLAN and DHCP Relay Issues on Hyper-V

Started by phwon, April 29, 2024, 05:00:59 PM

Previous topic - Next topic

If its not DNS, its asymmetric routing, if its not asymmetric routing its Hyper-V  ;D

Good to hear you found the problem. I didn't even know There is such a options like DHCP Guard.

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

April 30, 2024, 09:24:11 PM #17 Last Edit: April 30, 2024, 09:26:18 PM by Bob.Dig
Quote from: Seimus on April 30, 2024, 09:07:07 PM
I didn't even know There is such a options like DHCP Guard.
Why not?
It is right in the GUI, well explained there and disabled by default.

Quote from: phwon on April 30, 2024, 05:19:27 PM
Hope this helps others!
I don't think so, it is kinda to obvious.

Quote from: Bob.Dig on April 30, 2024, 09:24:11 PM
Quote from: Seimus on April 30, 2024, 09:07:07 PM
I didn't even know There is such a options like DHCP Guard.
Why not?
It is right in the GUI, well explained there and disabled by default.

Because I don't use Hyper-V so I cant not know things about systems I do not use.

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

Quote from: franco on April 30, 2024, 04:05:36 PM
As a data point it would help to know if this is is a version before 24.1.6 or if this started with 24.1.6. If we don't have these data points it's harder to narrow this down (even if it is just a configuration hiccup).

This problem occurs only after 24.1.6.


  • I am not using Hyper-V
  • Everything is on physical devices.
  • DHCP guard is not enabled.
  • As a workaround, I have enabled DHCPv4 on Opnsense

May 01, 2024, 01:14:54 PM #20 Last Edit: May 01, 2024, 01:25:28 PM by WM54
Unfortunately I am also facing DHCP relay issues since updated to 24.1.6 - in earlier versions all worked as expected and I observed no issues.

Currently it seems that the DHCP relays suddenly stop to work and the clients are not longer able to receive DHCP addresses or renew the lease. Until lease expiry, the clients work as expected, but when the has expired, they are disconnected.
Also I am observing "BAD_ADDRESS" entries in the DHCP server, which I didn't notice before.

In some cases a restart of the DHCP relays solves the issue for some time, but not in every case.
Any suggestions if it is possible to log the activity of the relays? I did not find a regarding log yet.

I am using three DHCP relays to forward the DHCP requests of three subnets to one central DHCP server.
OPNsense is vitualized based on ESXi hypervisor - each OPNsense subnet uses its own virtual NIC  provided by ESXi.

Any hints, how to enclose the issue are highly appreciated.
Many thanks in advance!

Best regards,
WM54

authelia and WM54

I appreciate the input, but can we avoid cluttering a topic that was solved by the original poster?

Open new threads please or find one that matches your problem.


Cheers,
Franco

Thanks for the hint - opened new thread.

Regards,
WM54

Quote from: Bob.Dig on April 30, 2024, 09:24:11 PM
Quote from: Seimus on April 30, 2024, 09:07:07 PM
I didn't even know There is such a options like DHCP Guard.
Why not?
It is right in the GUI, well explained there and disabled by default.

Quote from: phwon on April 30, 2024, 05:19:27 PM
Hope this helps others!
I don't think so, it is kinda to obvious.

There's always one! Top points for least valuable post of the day #yourock

Let's not trash on each other. It's obviously obvious in hindsight as that one saying goes. :)

But to be frank I think this thread will help a number of people in the future running into this problem so thanks for everyone involved.


Cheers,
Franco