# Prevent DHCP requests between ports - RUTX11

**URL:** <https://community.teltonika.lt/t/prevent-dhcp-requests-between-ports-rutx11/4323>\
**Category:** Networking Solutions\
**Created:** [February 18, 2024, 9:41pm UTC](https://community.teltonika.lt/t/prevent-dhcp-requests-between-ports-rutx11/4323 "2024-02-18T21:41:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jorgen](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/j/65b543/32.png) [@jorgen](https://community.teltonika.lt/u/jorgen)\
**Post date:** [February 18, 2024, 9:41pm UTC](https://community.teltonika.lt/t/prevent-dhcp-requests-between-ports-rutx11/4323/1 "2024-02-18T21:41:17Z")

</div>

I need to filter DHCP requests so that a dhcp server located on the lan of a specific port on a RUTX11 will not be reached from any client on any of the other ports. I have set the physical WAN-port to act as a LAN port and since this is bridged, between eth0 (LAN ports) and eth1 (WAN port), I presume it is possible to set up a filter. But how? I need to filter all UDP to and from ports 67 an 68 I think.

---

<div class="post-metadata">

**Author:** ![Marijus](https://community.teltonika.lt/user_avatar/community.teltonika.lt/marijus/32/694_2.png) [@Marijus](https://community.teltonika.lt/u/Marijus)\
**Post date:** [February 21, 2024, 9:06am UTC](https://community.teltonika.lt/t/prevent-dhcp-requests-between-ports-rutx11/4323/5 "2024-02-21T09:06:25Z")

</div>

Hi,

Currently, your desired configuration seems quite confusing. Could you please explain the end goal you’re aiming for with the configuration? Are you intending to have a separate LAN network for the WAN port or something different?

Best regards,

Marijus

---

<div class="post-metadata">

**Author:** ![jorgen](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/j/65b543/32.png) [@jorgen](https://community.teltonika.lt/u/jorgen)\
**Post date:** [February 27, 2024, 2:12pm UTC](https://community.teltonika.lt/t/prevent-dhcp-requests-between-ports-rutx11/4323/6 "2024-02-27T14:12:55Z")

</div>

Yes, i agree it is confusing. I will try to explain: one vendor is using ip and ethernet in their own special way. They use a complete b-net (172.16.0.0/16) and one of the servers is also a dhcp server on this net. Everything is bridged and the dhcp server provides no default route to the clients. So it is impossible to connect that network to internet. What I have come up with is to bridge the network through the rutx11, making the rutx11 the dhcp server on the network, for the other ports, setting a range of dhcp adressess that very unlikely will collide on the 172.16 network and allowing terminals (e.g. a mobile) to connect to the internet simultaneously as connecting to the proprietary network, via wifi or even wired at any of the other ports of the Rut. At least I want to test if this is possible. The big problem then, is that the DHCP-server might answer before the DHCP server in the rut so I need to filter that traffic.

---

<div class="post-metadata">

**Author:** ![flebourse](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/f/8797f3/32.png) [@flebourse](https://community.teltonika.lt/u/flebourse)\
**Post date:** [February 27, 2024, 3:56pm UTC](https://community.teltonika.lt/t/prevent-dhcp-requests-between-ports-rutx11/4323/7 "2024-02-27T15:56:16Z")

</div>

The simplest solution would be to put the relevant lan port of the RUTX11 in a separate vlan (3 ?), set it to off in vlan1 and untagged in vlan3, create a new wan interface with this eth0.3 physical setting and set the protocol to dhcp client.  
This way it will acquire a 172.16.0.0/x address from the second dhcp server. You’ll then have to create a new zone in the firewall menu, enable masquerading or add routes.  
The dhcp packets coming from 172.16 will be stopped at the eth0.3 interface level.  
I have done several similar setups in the past (for stubborn Raymarine equipments on boats …) no issue to report.

---

<div class="post-metadata">

**Author:** ![jorgen](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/j/65b543/32.png) [@jorgen](https://community.teltonika.lt/u/jorgen)\
**Post date:** [February 28, 2024, 9:12pm UTC](https://community.teltonika.lt/t/prevent-dhcp-requests-between-ports-rutx11/4323/8 "2024-02-28T21:12:59Z")

</div>

I´ll give it a try. This is Garmin, but they seem similar stubborn.

---

<div class="post-metadata">

**Author:** ![system](https://community.teltonika.lt/user_avatar/community.teltonika.lt/system/32/15707_2.png) [@system](https://community.teltonika.lt/u/system)\
**Post date:** [March 4, 2024, 9:41pm UTC](https://community.teltonika.lt/t/prevent-dhcp-requests-between-ports-rutx11/4323/9 "2024-03-04T21:41:52Z")

</div>

Closed on March 4, 2024, 9:41pm UTC

This topic was automatically closed after 15 days. New replies are no longer allowed.
