RB2011 and 2 separate LAN on 2 Bridged Interfaces don't work

Hi i am trying to configure a RB2011 2HnD o have to separate Subnets, so that’s there one for Work and one for the Family so that i cam make separate rules for the LAN to the Family so that they only are allowed to use the internet until a specific time at night.

The RB have 10 Ports

Port 1 : WAN Connection
Port 2-5 : Work Lan (using bridge-local)
Port 6-10 : Family Lan (using bridge-extra)

Work Lan IP 192.168.205.0
Family Lan IP : 192.168.206.0

The Work Lan i working as it suppose to. But on the Family Lan i get the connect IP, DNS and GW Addresses from the DHCP so that part i working.
But there is no connection to the internet from the Family Lan, i can ping DNS Names on the Internet but nothing else, no browsing ore anything.

Hope someone can help me what i am doing wrong,

An export of my config.

[code2=ros]/interface bridge
add name=bridge-extra protocol-mode=rstp
add admin-mac=D4:CA:6D:0B:04:BE auto-mac=no l2mtu=1598 name=bridge-local protocol-mode=rstp
/interface ethernet
set 0 name=ether1-gateway
set 5 name=ether6-master-local
set 6 master-port=ether6-master-local name=ether7-slave-local
set 7 master-port=ether6-master-local name=ether8-slave-local
set 8 master-port=ether6-master-local name=ether9-slave-local
set 9 master-port=ether6-master-local name=ether10-slave-local
/interface wireless
set 0 l2mtu=2290
/ip neighbor discovery
set ether1-gateway discover=no
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m mac-cookie-timeout=3d
/ip pool
add name=default-dhcp ranges=192.168.205.100-192.168.205.200
add name=dhcp-extra ranges=192.168.206.100-192.168.206.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge-local name=default
add address-pool=dhcp-extra disabled=no interface=bridge-extra name=dhcp-extra
/port
set 0 name=serial0
/interface bridge port
add bridge=bridge-local interface=ether2
add bridge=bridge-local interface=ether3
add bridge=bridge-local interface=ether4
add bridge=bridge-local interface=ether5
add bridge=bridge-extra interface=ether6-master-local
add bridge=bridge-local interface=sfp1
add bridge=bridge-local interface=wlan1
/ip address
add address=192.168.205.1/24 comment="default configuration" interface=bridge-local network=192.168.205.0
add address=192.168.206.1/25 interface=bridge-extra network=192.168.206.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=no interface=ether1-gateway
/ip dhcp-server network
add address=192.168.205.0/24 comment="default configuration" dns-server=192.168.205.1 gateway=192.168.205.1
add address=192.168.206.0/24 dns-server=192.168.206.1 gateway=192.168.206.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.205.1 name=router
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=invalid
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" out-interface=ether1-gateway to-addresses=0.0.0.0
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2
add interface=ether3
add interface=ether4
add interface=ether5
add interface=ether6-master-local
add interface=ether7-slave-local
add interface=ether8-slave-local
add interface=ether9-slave-local
add interface=sfp1
add interface=wlan1
add interface=bridge-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2
add interface=ether3
add interface=ether4
add interface=ether5
add interface=ether6-master-local
add interface=ether7-slave-local
add interface=ether8-slave-local
add interface=ether9-slave-local
add interface=sfp1
add interface=wlan1
add interface=bridge-local
[/code2]

Hello Centauri, have you remove the default configuration?
Have you natted and masquerade both IP-ranges with the WAN

This i the default config where i have just separated the 2 sides of ports of the router and made a separate bridge.
No havent made anything special to nat and masquerade both IP-ranges with the WAN
But shouldent the default role not take care of that

[code2=ros]/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" out-interface=ether1-gateway to-addresses=0.0.0.0[/code2]

If you add an IP-range must you that natted to WAN

If you made a bridge give the bridge this IP-adress 192.168.205.1 and configure a DHCP-server on it.
add the ports 2-5
Nat and masquerading this bridge

Do that also with family lan make a bridge and give this bridge IP_adress 192.168.206.1
add DHCP-server on it and nat

Is a wrote DHCP is working as it should i get the corect IP Adresses on each bridged interface.
So everything i working there.
The only problem is that on my family network i dont have access to the internet. It work on the Work part.

The bridged interfaces have the right IP Adresses and DHCP Settings witch you should be able to se in the config file above.

But you say thatthe IP Range must be natted, whay do you mean by that an how ?

Normally Nat is only when you want trafik from the outside to the inside. Witch is not the problem her.
Netork Masquerade should be enough so that the cliens can connect to the internet as far as i know.

Nat do you like this
http://www.wirelessinfo.be/index.php/mikrotik/pages/nat

Try to do this on family network

Try with “ipconfig /all” in dos prompt what for IP_adress you got and what is the DNS-server

Again all DHCP options is right, i get the right IP, Subnet, DNS and GW informatiosn on both interfaces so thats all right.
The strange thing ewerything is working on the Work bridged network

On the Family bridge i still get the correct IP And ewerything for that network but the only thing working is DNS lookup.
And I can’t ping the default gateway 192.168.206.1
Witch is strange because is says that that interface is the DNS Server and DHCP Server.

NAT is configuret right to.
add action=masquerade chain=srcnat comment=“default configuration”
out-interface=ether1-gateway src-address=192.168.205.0/24 to-addresses=
0.0.0.0
add action=masquerade chain=srcnat comment=“default configuration”
out-interface=ether1-gateway src-address=192.168.206.0/24 to-addresses=
0.0.0.0Have tryed to change the NAT your way but still disent work. My way it should work without adding any IP adresses should work on any interfaces.

The 0.0.0.0 from nat is wrong this must the IP-adres from your standard gateway
Try again setup the DHCP-server and set DNS IP_address like 8.8.8.8 and 8.8.4.4

Look with nslookup wat DNS-server is active

No my NAT and routing is right the way it is.
You dont have to make NAT for each subnet for it to work.

I dont know why, but after i cleaned my my code with better names it seems to be working.
Very stange.

Bit is case any other get the same problem her is my config.
/interface bridge
add l2mtu=1598 name=bridge-family protocol-mode=rstp
add admin-mac=D4:CA:6D:0B:04:BE auto-mac=no name=bridge-work protocol-mode=rstp
/interface ethernet
set 0 name=ether1-gateway
set 5 name=ether6-master-local
set 6 master-port=ether6-master-local name=ether7-slave-local
set 7 master-port=ether6-master-local name=ether8-slave-local
set 8 master-port=ether6-master-local name=ether9-slave-local
set 9 master-port=ether6-master-local name=ether10-slave-local
/interface wireless
set 0 l2mtu=2290
/ip neighbor discovery
set ether1-gateway discover=no
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
mac-cookie-timeout=3d
/ip pool
add name=dhcp-pool-work ranges=192.168.205.100-192.168.205.200
add name=dhcp-pool-family ranges=192.168.206.100-192.168.206.200
/ip dhcp-server
add address-pool=dhcp-pool-work disabled=no interface=bridge-work name=
dhcp-work
add address-pool=dhcp-pool-family disabled=no interface=bridge-family name=
dhcp-family
/port
set 0 name=serial0
/interface bridge port
add bridge=bridge-work interface=ether2
add bridge=bridge-work interface=ether3
add bridge=bridge-work interface=ether4
add bridge=bridge-work interface=ether5
add bridge=bridge-family interface=ether6-master-local
add bridge=bridge-work interface=sfp1
add bridge=bridge-work interface=wlan1
/ip address
add address=192.168.205.1/24 comment=“default configuration” interface=
bridge-work network=192.168.205.0
add address=192.168.206.1/24 interface=bridge-family network=192.168.206.0
/ip dhcp-client
add comment=“default configuration” dhcp-options=hostname,clientid disabled=no
interface=ether1-gateway
/ip dhcp-server network
add address=192.168.205.0/24 comment=“default configuration” dns-server=
192.168.205.1 gateway=192.168.205.1
add address=192.168.206.0/24 dns-server=192.168.206.1 gateway=192.168.206.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.205.1 name=router
/ip firewall filter
add chain=input comment=“default configuration” protocol=icmp
add chain=input comment=“default configuration” connection-state=established
add chain=input comment=“default configuration” connection-state=related
add action=drop chain=input comment=“default configuration” in-interface=
ether1-gateway
add chain=forward comment=“default configuration” connection-state=established
add chain=forward comment=“default configuration” connection-state=related
add action=drop chain=forward comment=“default configuration” connection-state=
invalid
/ip firewall nat
add action=masquerade chain=srcnat comment=“default configuration”
out-interface=ether1-gateway to-addresses=0.0.0.0
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2
add interface=ether3
add interface=ether4
add interface=ether5
add interface=ether6-master-local
add interface=ether7-slave-local
add interface=ether8-slave-local
add interface=ether9-slave-local
add interface=sfp1
add interface=wlan1
add interface=bridge-work
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2
add interface=ether3
add interface=ether4
add interface=ether5
add interface=ether6-master-local
add interface=ether7-slave-local
add interface=ether8-slave-local
add interface=ether9-slave-local
add interface=sfp1
add interface=wlan1
add interface=bridge-work

add address=192.168.206.1/25 interface=bridge-extra network=192.168.206.0

wrong mask in first config

Oh sorry havend seen that.
Then there was a good explanation that i dident work.
Sorry for the trouble.

Thanks.