Community discussions

MikroTik App
 
mheathvanhorn
just joined
Topic Author
Posts: 3
Joined: Sat Apr 22, 2023 8:01 pm

Linux DHCP Server is blocked by Mikrotik Relay on the return

Wed Jun 07, 2023 8:28 am

I am trying to learn more about MikroTik routers, so I am trying different things.

I was able to get DHCP relay working using another MikroTik Router as the DHCP Server. However, every time I try to use a dedicated DHCP server, the DHCP Relay Router blocks the return. My network
MikroTik sample lab1.PNG
Then I tried making a return relay, but that didn't do anything. Does anyone have any suggestions? The DHCP packets seem fine, until a DHCP request is made from one of the clients, then the DHCP server responds to the requests, but the responses get blocked by the Relay Router.

[admin@MikroTik] > ip dhcp-relay print
Columns: NAME, INTERFACE, DHCP-SERVER, LOCAL-ADDRESS
# NAME INTERFACE DHCP-SERVER LOCAL-ADDRESS
0 Orange-relay ether1 122.0.0.2 20.20.20.250
1 Green-relay ether2 122.0.0.2 55.55.55.250
2 DHCP-server-return ether3 122.0.0.2 122.0.0.1

Server settings:
DHCP Linux part 1.PNG
DHCP Linux part 2.PNG


I've included the Wireshark file as well.

Any advice is well received. I've been staring at this all day and I wouldn't be surprised if it is obvious to another set of eyes.
You do not have the required permissions to view the files attached to this post.
 
mheathvanhorn
just joined
Topic Author
Posts: 3
Joined: Sat Apr 22, 2023 8:01 pm

Re: Linux DHCP Server is blocked by Mikrotik Relay on the return

Fri Jun 09, 2023 7:23 am

So the Mikrotik Router that is serving as a DHCP relay transmits on port 67, but the DHCP server listens on port 68.

All is good when using another router as the DHCP server because servers listen on port 67.

How can I get the MicroTik router to communicate with a server for DHCP?

Who is online

Users browsing this forum: kikino, matiss, raiser and 68 guests