Community discussions

MikroTik App
 
jonah1810
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 98
Joined: Tue Jul 30, 2019 10:19 pm

DHCP Relay over OSPF?

Fri Jun 05, 2020 12:25 am

Hey im trying to set up a dhcp relay beyond some routing (ospf) but cant seem to get it to work at all.

the Dhcp Relay receives requests but no responses

My Dhcp Server has:

ip:10.100.123.211/19 on bridge
interface: Bridge1
relay:10.100.94.1
network:10.100.94.0/24
gateway:10.100.94.1
pool: 10.100.94.0/24

Dhcp Relay:
ip: 10.100.94.1/24 on bridge1
interace: bridge1
dhcp server:10.100.123.211
local address:10.100.94.1

Ospf:
ospf interfaces are not on bridge. using a 10.95.94.1/10.95.94.2 for the ip on the ospf interface on server/relay. ospf status is full. can ping 10.100.123.211 from 10.100.94.1 and vice versa and am online if i turn on a dhcp server on 10.100.94.1.

firewall:
server: Nat: masquerade on public interface. filter rules: only affecting internet traffic (out or in the public interface) mangle: is marking packets/connections based on address-list (which 10.100.94.0/24 is not a part of)
relay: absolutely nothing.

I've read on multiple threads that dhcp relay should work on ospf so long as it can reach the dhcp server (10.100.123.211) which i can ping from the dhcp relay (10.100.94.1)
so any help would be greatly appreciated.

Thank you
-Jonah
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: DHCP Relay over OSPF?

Sun Jun 07, 2020 2:53 am

You will have to post the exported config of the devices
 
User avatar
Cha0s
Forum Guru
Forum Guru
Posts: 1135
Joined: Tue Oct 11, 2005 4:53 pm

Re: DHCP Relay over OSPF?

Sun Jun 07, 2020 1:10 pm

If there is L3 reach-ability between the relay and the server, it doesn't matter how they reach each other (OSPF, BGP, RIP, static, whatever).
 
jonah1810
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 98
Joined: Tue Jul 30, 2019 10:19 pm

Re: DHCP Relay over OSPF?

Thu Jul 02, 2020 7:53 am

My Problem was that I had the DHCP Server on the Bridge instead of the port being used on the OSPF!

Who is online

Users browsing this forum: Cmon169, herger and 11 guests