Community discussions

MikroTik App
 
User avatar
rururudy
just joined
Topic Author
Posts: 22
Joined: Thu Aug 04, 2016 10:57 pm
Location: San Francisco
Contact:

BUG: dhcp-relay fails after a week

Mon Apr 10, 2023 9:32 pm

If we run dhcp-relay on a router, it silently starts dropping DHCP Replys from our DHCP server. This time, it worked for about a week and then stopped. Currently, only 16 leases are active, so this isn't even a very high load router.

We have seen this bug on version 7.4, 7.5, and 7.8 on CCR2004 and CCR2116.

I don't think we have seen it on a RB5009, but that may be do to lower traffic levels on those devices.

Here is the part of our config with addresses / dhcp / and our NAT.

/ip address add address=172.18.1.18 interface=LOOPBACK network=172.18.1.18
/ip address add address=172.18.129.18/30 comment=OSPFv2-A interface=sfp03-Uplink-5500 network=172.18.129.16
/ip address add address=172.18.129.22/30 comment=OSPFv2-B interface=vlan597 network=172.18.129.20
/ip address add address=5.5.5.241/28 comment="Hybrid block for CGNAT scheme" interface=vlan441 network=5.5.5.240
/ip address add address=100.127.0.1/21 comment="CGNAT Gateway" interface=vlan441 network=100.127.0.0
/ip address add address=10.7.0.1/16 interface=vlan441 network=10.7.0.0
### Note: dhcp-relay is disables as there is no 'disabled=no' in the next line
/ip dhcp-relay add add-relay-info=yes dhcp-server=208.69.43.5 interface=vlan441 local-address=5.5.5.241 name=vlan441 relay-info-remote-id=441
/ip dhcp-server network add address=100.127.0.0/21 dns-server=208.69.40.4,208.69.40.3,8.8.8.8 domain=monkeybrains.net gateway=100.127.0.1
/ip dns set servers=208.69.40.4,208.69.40.3
/ip firewall nat add action=src-nat chain=srcnat src-address=100.64.0.0/10 to-addresses=5.5.5.241

Who is online

Users browsing this forum: cciprian and 26 guests