cAP ac bridge ethernet interfaces

Hi,

I got my cAP ac almost running as I want to. There is one Problem remaining and I don’t know how to achieve this.
My LAN is connected to Eth2, and I want Eth1 to be in the same network as Eth2, so that I can connect a PC via the cAP ac into my LAN.

TIA
Michael

Assuming DHCP leases are coming from your LAN ether2, just bridge all of the ports as shown below.


/interface bridge add name="local-bridge"

/interface bridge port
 add bridge="local-bridge" interface=ether1
 add bridge="local-bridge" interface=ether2
 add bridge="local-bridge" interface=wlan1
 add bridge="local-bridge" interface=wlan2

This will bridge the ethernet and wireless interfaces into a single broadcast domain so if someone connects to the ethernet port or wireless, they will get DHCP leases from your LAN.

Bridge is used in Mikrotik’s world as substitute name for “logical/virtual switch”.
You can "glue " with it different interfaces as they are all part of a logical switch even if you mix PPoE, VLAN, WIFI, bond and any other kind of interface in Mikrotik.

Thank You all,

all interfaces are now glued to the preconfigured bridge “bridge”.
But a PC connected to ether1 still doesn’t get an IP address from my server.


Any help appreciated
Michael

You have the DHCP Client on the cAP AC set to the bridge?

/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid interface=local-bridge

Thank you,

but the DHCP Server ist running on my Windows Server 2012 R2 Box connected to the other ethernet interface.

Got it. The problem was eth1 belonging to interface list “WAN”.
I set it to “LAN” and everything is workisg as expected.
Eth1 is connected to my LAN and I can connect another PC to eth2.
WLAN ist ok.

i have a question about bridge and ether interfaces too. i got a bridge with ip 192.168.x.x and 1 ether outside not in bridge 192.168.y.y. i cant ping from each other. So, how can i connect between them ???