measure traffic of LAN interface

Hello,
I’d like to arrange network across my neigbors using MikroTik 750GL router.
I have 1 WAN and 4 LAN interfaces- one LAN port for every flat.
I’d like to control the traffic generated by every flat = traffik which goes throw every LAN interface.
In the same time, all the client stations should be in the same network/subnet because I need to share folders and use DLNA

requirements:

  1. see/manage/mangle the traffic for particular LAN interface.
  2. all LAN clients should be in the same network
  3. optional: every LAN interface should have own IP Pool.

Tried:

  1. make 1 LAN master Interface, the rest slave. Issue: Can’t control traffic for particular interface, only Master is visible
  2. make non-slave ports (master). I have to assign IP address for every LAN interface. The addresses has to be in different networks according to Mikrotik documentation:
    “Two IP addresses from the same network assigned to routers different interfaces are not valid unless VRF is used.
    For example, the combination of IP address 10.0.0.1/24 on the ether1 interface and IP address 10.0.0.132/24 on the ether2 interface is invalid,
    because both addresses belong to the same network 10.0.0.0/24. Use addresses from different networks on different interfaces, or enable proxy-arp on ether1 or ether2.”
    http://wiki.mikrotik.com/wiki/Manual:IP/Address

Thanks in advance.

Well I see a major issue with what you are trying… Putting them all in the same Layer 2 does just that and puts them all in the same Layer 2. So your DHCP servers will compete with each other.

Have you considered doing arp-proxy and arranging your subnets as follows:
192.168.0.0/16 (Server)
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24

http://wiki.mikrotik.com/wiki/Manual:IP/ARP

This way you can run different DHCP servers on different ports?

Thanks for the answer!
You wrote:
Have you considered doing arp-proxy and arranging your subnets as follows:
192.168.0.0/16 (Server)
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24

Can you please clarify if I should set proxy-arp to the first interface 192.168.0.0/16 (Server) or to all of them?
Should I assign DHCP server to the first interface inly or to all of them?
Also I’m arp-routing mechanysm is not quite clear for me. I understood how it works with interface set to “proxy-arp” and the clients behind it, but not sure how the other interface clients will contact to the proxy-arp clients.
Thanks in advance!

Arp-Proxy on all interfaces. Detailed explanation in the link below.
http://wiki.mikrotik.com/wiki/Manual:IP/ARP


Assign a different subnet to all interfaces
Assign different DHCP server to all infercase