I have 3 ETHERNET adaptors in my Mikrotik Router (MTR).
eth0-pub - for internet (public IP)
eth1-lan - for LAN only (10.0.0.0/24)
eth2-peer - for peering traffic (other IP, used BGP for lan-peering - all lan-peer networks received by BGP)
i have one PC 10.0.0.10 in LAN (eth1-lan),
i have queue for 10.0.0.10 :
0 name="!LAN-PC" target-addresses=10.0.0.10/32 dst-address=0.0.0.0/0
interface=all parent=none direction=both priority=8 queue=ethernet-default/ethernet-default limit-at=0/0 max-limit=4000000/4000000
total-queue=default
in this situation i have QUEUE for all direction (outside in INTERNET, and outside in PEERING networks).
PLEASE HELP, HOW I CAN SHAPE ONLY traffic only for INTERNET
I try use mangle mark packet - but result on the contrary - max-limit change to UNLIMIT!
1 ;;; !
chain=forward action=mark-packet new-packet-mark=world2lan passthrough=yes dst-address=10.0.0.0/24 in-interface=eth0-pub
2 chain=forward action=mark-packet new-packet-mark=lan2world passthrough=yes src-address=10.0.0.0/24 out-interface=eth0-pub