Hey guys, I’m hoping somebody might be able to point me in the right direction. I’m having problems getting a DHCP client to get an IP.
I’m trying to get a Set-top Box (STB) to receive an IP from ISP’s DHCP.
This is the setup:
ISP — DSL modem — Mikrotik1 (((–))) Mikrotik2 — Set-top Box
- Mikrotik1 (M1) is a Router/wireless AP. The physical wireless interface is in “ap bridge” mode. Standard configuration for internet access. I created a VirtualAP interface, which is used just for M2.
- M2 is in “station pseudobridge” mode. M2 is connected to M1 over the wifi link.
- On M2, I created a bridge interface (bridge-iptv) and added the port that the STB is connected to (ether1-gateway) and the wlan physical interface (wlan-iptv).
The problem:
- STB (or a PC), connected to ether1-gateway on M2 does not receive an IP from ISP
- A DHCP client created on M2’s bridge-iptv does not receive an IP from ISP
- A DHCP client created on M2’s wlan-iptv DOES receive an IP from ISP
So everything ok all the way from ISP to M2, I just can’t get the last part (from M2 to STB) to work. It feels like I have a very simple mistake in my M2’s bridge/port configuration, but I can’t figure it out.
This is M2’s bridge/port configuration:
/interface bridge
add name=bridge-iptv
add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no name=bridge-local
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-iptv interface=wlan-iptv
add bridge=bridge-iptv interface=ether1-gateway
It feels like I’m missing something very basic, but can’t see where I went wrong. Is the problem using “station pseudobridge” mode on M2 and can’t bridge this wlan interface with an ethernet interface?
Any help will be greatly appreciated. Thanks.
EDIT: Solved with razortas’ help. The correct mode on M2 was “station bridge”.
My bad for not trying it in the first place. I had problems establishing a connection in another/different setup, and got it working with pseudobridge, that’s why I started with it.