Community discussions

MikroTik App
 
swisstico
just joined
Topic Author
Posts: 14
Joined: Sat Dec 12, 2015 6:10 am
Contact:

DHCP client on bridge interface with a VLAN DHCP not working

Wed Jan 06, 2021 11:31 pm

Hello everyone,

We have a strange issue that we didn't find the answer...

We have a router (RouterOS 6.47.8) with VLANs and DHCP on each of VLANs, everything works fine (computers, phones, tablets, wired and wireless).

However if we connect a second MikroTik device, reset it without configuration, create a simple bridge, add a port and configure an "/ip dhcp-client" (enabled yes), the new MikroTik never receive the IP address. Then we delete the bridge (tested as well to reset de device and try again without bridge), and use the same dhcp-client config directly on the etherX port, and work perfectly.

We tried to downgrade to RouterOS 6.46.8 thinking of a bug, but we get the same result.
The strange thing is that we have this issue only with a MikroTik with VLANs and DHCP on VLANs, no issue with config without VLANs, but at the same time we know that the DHCP server is working well as the other devices works fine.

Any idea?

Best Regards,
 
erlinden
Long time Member
Long time Member
Posts: 640
Joined: Wed Jun 12, 2013 1:59 pm

Re: DHCP client on bridge interface with a VLAN DHCP not working

Thu Jan 07, 2021 9:30 am

It should be working...can you please share your configs: /export hide-sensitive file=anythingyoulike?
And please use the [] tags to make it readable.
First the problem, then the solution
 
sindy
Forum Guru
Forum Guru
Posts: 6655
Joined: Mon Dec 04, 2017 9:19 pm

Re: DHCP client on bridge interface with a VLAN DHCP not working

Thu Jan 07, 2021 10:05 am

Start by showing the configuration export from both devices when the client doesn't work. There's a similar topic here, but there multiple RouterOS versions and a complex topology are involved, your setup seems much simpler. Anonymize the configurations, following the suggestion in my automatic signature below, before posting them.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], eworm, kenyloveg, RonJohn63 and 233 guests