DHCP client on VLAN interface: broadcasts lost

Hello. I have read docs and forum posts for days and I come to beg for help as I see no solution to my issue j :confused:

My ISP offers internet on VLAN 5 over a PPPoE endpoint and a SIP-trunk on VLAN 6. My Mikrotik router is connected to the ISP endpoint via ether1.

  • I have created a VLAN-5 interface assigned to ether1 and a PPPoE client on it. THAT WORKS.

For the SIP service, I need to obtain an IP address via DHCP:

  • I have created a VLAN-6 interface on top of ether1 and setup a DHCP-Client on the router: THAT DOESN’T WORK.

Using the packet sniffer I see DHCP Discover requests (broadcasts) leave through ether1. I also see ARP announcements, broadcasted DHCP offers and ACKs from what seems to be the DHCP server (for other clients, but not for me!). It would seem that my broadcasts are invisible and the DHCP client gets no response.

What am I doing wrong?

post the configuration

hello @abbio90

nov/14/2024 12:52:43 by RouterOS 6.49.15

software id = SK4K-WWPX

model = RB4011iGS+

serial number = D4480C048B3A

/interface vlan
add interface=ether1 name=INT-7 vlan-id=7
add interface=ether1 name=SIP-6 vlan-id=6
/interface ethernet switch port
set 0 default-vlan-id=0
set 1 default-vlan-id=0
set 2 default-vlan-id=0
set 3 default-vlan-id=0
set 4 default-vlan-id=0
set 5 default-vlan-id=0
set 6 default-vlan-id=0
set 7 default-vlan-id=0
set 8 default-vlan-id=0
set 9 default-vlan-id=0
set 10 default-vlan-id=0
set 11 default-vlan-id=0
/ppp profile
add change-tcp-mss=yes name=ISP-ppoe use-ipv6=required use-mpls=no use-upnp=no
/interface pppoe-client
add add-default-route=yes disabled=no interface=INT-7 name=isp profile=isp-ppoe user=XXX
/ip dhcp-client
add disabled=no interface=SIP-6

Is this the right way? The dhcp client keeps “scanning”. The PPPoE client works correctly and setups a route and an IP.

I don’t need a exact solution, I want to understand the fundamentals of why this doesn’t work or the high-level view on how having both the PPoE client on VLAN7 and the DHCP client on VLAN6 would work.