Page 1 of 1
cAP ac bridge ethernet interfaces
Posted: Mon May 07, 2018 11:11 pm
by miwi14
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
Re: cAP ac bridge ethernet interfaces
Posted: Tue May 08, 2018 6:21 pm
by MangleRule
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.
Re: cAP ac bridge ethernet interfaces
Posted: Tue May 08, 2018 6:36 pm
by BartoszP
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.
Re: cAP ac bridge ethernet interfaces
Posted: Sun May 13, 2018 2:16 pm
by miwi14
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
Re: cAP ac bridge ethernet interfaces
Posted: Sun May 13, 2018 6:08 pm
by Samot
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
Re: cAP ac bridge ethernet interfaces
Posted: Thu May 17, 2018 12:51 am
by miwi14
Thank you,
but the DHCP Server ist running on my Windows Server 2012 R2 Box connected to the other ethernet interface.
Re: cAP ac bridge ethernet interfaces [SOLVED]
Posted: Sun Jun 10, 2018 12:05 am
by miwi14
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.
Re: cAP ac bridge ethernet interfaces
Posted: Thu Jun 21, 2018 7:06 am
by bluewater
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 ???