FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14087 questions

16729 answers

27457 comments

53740 members

0 votes
250 views 2 comments
by
I use a RUTXR1 with the Firmware RUTX_R_00.02.06.1.

The Router is a DHCP Server for over 30 VLans. Everything works fine. But some of the DHCP Clients have more NICs in different Vlans. In a few Vlans it is not necessary to route. So it would be very helpfull if the DHCP Server don't give the Gateway address to the NICs in this Vlan. If the clients don't get a Gateway address the default routing will not change. So it would be easy to manage all the clients. Is there a possibility to stop serving the Gateway-Address?

2 Answers

0 votes
by
Hi,

I am afraid this is not possible. The DHCP server daemon that we use does not allow customization to this extend.
by
what a shame. This feature would be very nice.
0 votes
by

Hello,

It should be possible to do just that using tags albeit not via the GUI instead via uci or direct edit of /etc/config/dhcp.

Google dnsmasq.conf for a general description, and use https://openwrt.org/docs/guide-user/base-system/dhcp  for the precise syntax.

I'll look at it later.

Regards,

by
i will try it in the next days.

thank you.