Community discussions

MikroTik App
 
lomoser
just joined
Topic Author
Posts: 3
Joined: Wed Feb 05, 2025 6:42 pm

DHCP Server setup without WAN

Wed Feb 05, 2025 6:46 pm

Hello,

I am trying to connect my hexPOE lite to a laptop and a security camera without connecting to the internet. I've tried setting up a bridge network, creating a dhcp server using that bridge, and putting the ports where the laptop and camera are connected onto that bridge network. The server will not hand out any leases and the gateway is not pingable on the laptop. Any help is greatly appreciated.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13292
Joined: Thu Mar 03, 2016 10:23 pm

Re: DHCP Server setup without WAN

Wed Feb 05, 2025 9:20 pm

Post config of hEX PoE (execute /export in terminal window ...). Without seeing config it's not possible to say what's wrong.

Generally DHCP server doesn't care about availability of WAN.
 
User avatar
pts0
just joined
Posts: 21
Joined: Thu Mar 07, 2024 11:02 am

Re: DHCP Server setup without WAN

Wed Feb 05, 2025 11:15 pm

Just avoid port ether1 that usually set as WAN in default config. All the other stuff should work without any issue.
 
lomoser
just joined
Topic Author
Posts: 3
Joined: Wed Feb 05, 2025 6:42 pm

Re: DHCP Server setup without WAN  [SOLVED]

Thu Feb 06, 2025 6:13 pm

Thank you both for the replies for your suggestions. I perhaps jumped the gun on posting this to the forum as I was able to get it to work. My solution to the problem was

1. Reset the router with no default config
2. Create a bridge network and add all ports to the bridge
3. Assign IP address/24 to bridge interface
4. Create an I.P. address space for the network.
5. Create a DHCP server on the bridge.

After doing the steps listed above I was able to get the router to start handing out IP addresses. Thank you again for the replies.

EDIT: I changed step 3 to reflect mkx's suggestion below
Last edited by lomoser on Thu Feb 06, 2025 9:09 pm, edited 1 time in total.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13292
Joined: Thu Mar 03, 2016 10:23 pm

Re: DHCP Server setup without WAN

Thu Feb 06, 2025 6:49 pm

Bullet #3 is completely unnecessary in your case. If DHCP client was to receive a lease (from another DHCP server in same ethernet network), then other devices, connected to bridged ports, would as well. Since you need DHCP server I'm assuming there is no other DHCP server available, so bullet #3 should instead read "assign IP address/24 to bridge interface".
 
lomoser
just joined
Topic Author
Posts: 3
Joined: Wed Feb 05, 2025 6:42 pm

Re: DHCP Server setup without WAN

Thu Feb 06, 2025 9:11 pm

Bullet #3 is completely unnecessary in your case. If DHCP client was to receive a lease (from another DHCP server in same ethernet network), then other devices, connected to bridged ports, would as well. Since you need DHCP server I'm assuming there is no other DHCP server available, so bullet #3 should instead read "assign IP address/24 to bridge interface".
Thank you for your suggestion I've updated my initial reply with step 3 updated.