vlan with bandwith mgmt in mikrotik

dear all

i need some help please

my config network is

ISP → cisco 1814 → cisco 2811 → mikrotik → catalyst 500 → ip local for user

cisco 1814 : for fail over internet
cisco 2811 : WAN (company group connection) 3 site
Mikrotik : Bandwith management for user local
catalyst 500 : for vlan (vlan1, vlan11, vlan12 … vlan16)

my question is

does the mikrotik can manage bandwith mgmt until per ip (local ip) in my LAN,
ex.
i want limit up/down 128k for 192.168.0.xxx in vlan11

i’m using ip firewall mangle prerouting rule and queue simple but still doesn’t work.
please give me any solution

Rgd’s
Hendra

maybe this will help:
http://wiki.mikrotik.com/wiki/PCQ_Examples


and some manual link:
http://www.mikrotik.com/testdocs/ros/2.9/root/queue.php

i have read before mr. janisk but it could'nt solve my problem

this is my vlan interface

[admin@MikroTik] interface vlan> print
Flags: X - disabled, R - running

NAME MTU ARP VLAN-ID INTERFACE

0 R Default 1500 enabled 1 Local
1 R Secretaries 1500 enabled 11 Local
2 R Developers 1500 enabled 12 Local
3 R Designers 1500 enabled 13 Local
4 R Directors 1500 enabled 14 Local
5 R Guests 1500 enabled 16 Local
6 R T.Daud 1500 enabled 18 Public
7 R Kesawan 1500 enabled 17 Public
8 R Servers 1500 enabled 15 Local
[admin@MikroTik] interface vlan>

this is my ip address config
[admin@MikroTik] > ip ad
[admin@MikroTik] ip address> print
Flags: X - disabled, I - invalid, D - dynamic

ADDRESS NETWORK BROADCAST INTERFACE

0 172.16.16.1/30 172.16.16.0 172.16.16.3 Public
1 192.168.10.1/30 192.168.10.0 192.168.10.3 Local
2 192.168.0.190/28 192.168.0.176 192.168.0.191 Local
3 192.168.0.206/28 192.168.0.192 192.168.0.207 Local
4 192.168.0.222/28 192.168.0.208 192.168.0.223 Local
5 192.168.0.238/28 192.168.0.224 192.168.0.239 Local
6 192.168.0.254/28 192.168.0.240 192.168.0.255 Local
7 192.168.0.174/28 192.168.0.160 192.168.0.175 Local
8 192.168.9.254/28 192.168.9.240 192.168.9.255 Public
9 172.18.18.1/30 172.18.18.0 172.18.18.3 Public
[admin@MikroTik] ip address>


this my ip firewall mangle config
[admin@MikroTik] ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting action=mark-connection new-connection-mark=dev.con passthrough=yes

1 chain=prerouting connection-mark=dev.con action=mark-packet new-packet-mark=dev passthrough=yes

2 chain=prerouting action=mark-connection new-connection-mark=des.con passthrough=yes

3 chain=prerouting connection-mark=des.con action=mark-packet new-packet-mark=des passthrough=yes

4 chain=prerouting action=mark-connection new-connection-mark=dir.con passthrough=yes

5 chain=prerouting connection-mark=dir.con action=mark-packet new-packet-mark=dir passthrough=yes

6 chain=prerouting action=mark-connection new-connection-mark=sec.con passthrough=yes

7 chain=prerouting connection-mark=sec.con action=mark-packet new-packet-mark=sec passthrough=yes

8 chain=prerouting action=mark-connection new-connection-mark=guest.con passthrough=yes

9 chain=prerouting connection-mark=guest.con action=mark-packet new-packet-mark=guest passthrough=yes

10 chain=prerouting action=mark-connection new-connection-mark=kes.con passthrough=yes

11 chain=prerouting connection-mark=kes.con action=mark-packet new-packet-mark=kes passthrough=yes
[admin@MikroTik] ip firewall mangle>

and this a sample of my queue simple config

[admin@MikroTik] queue simple> print
Flags: X - disabled, I - invalid, D - dynamic
0 name="queue1" target-addresses=192.168.0.197/32 dst-address=0.0.0.0/0 interface=all parent=none packet-marks=dev
direction=both priority=8 queue=default-small/default-small limit-at=0/0 max-limit=0/0 total-queue=default-small

1 name="queue2" target-addresses=192.168.0.198/32 dst-address=0.0.0.0/0 interface=all parent=none packet-marks=des
direction=both priority=8 queue=default-small/default-small limit-at=0/0 max-limit=0/0 total-queue=default-small
[admin@MikroTik] queue simple>

this queue simple still could'nt work, please help me what wrong with my config :frowning: :frowning:

dear all.

How to configure vlan in cisco catalyst express 500G series and mikrotik
routerOs

my vlan config in cisco catalys 500G 24 port is
vlan1 = default
vlan11 = port 1 to port 4
vlan12 = port 5 to port 8
vlan13 = port 6 to port 9
vlan14 = port 10 to port 16
vlan15 = port 17 to port 22
vlan16 = port 21 to port 23
port 24 = trunking

configure in mikrotik
ether1 = Local —> to port 24 trunk
ether2 = public ----> to next router


/add address 192.168.13.1/30 interface ether1

/add address 172.16.16.1/30 interface ether2

please help me how to add sub interface (vlan1, vlan11, vlan12, vlan13, vlan14, vlan15, vlan16) in interface ether1 so that mikrotik and swith can response each other.

i want add addresses
vlan1 = no address
vlan11 = 192.168.0.190/28
vlan12 = 192.168.0.206/28
vlan13 = 192.168.0.222/28
vlan14 = 192.168.0.238/28
vlan15 = 192.168.0.254/28
vlan16 = 192.168.0.174/28


how to add ip address in sub interface (vlans)

thnks

dear all.

How to configure vlan in cisco catalyst express 500G series and mikrotik
routerOs

my vlan config in cisco catalys 500G 24 port is
vlan1 = default
vlan11 = port 1 to port 4
vlan12 = port 5 to port 8
vlan13 = port 6 to port 9
vlan14 = port 10 to port 16
vlan15 = port 17 to port 22
vlan16 = port 21 to port 23
port 24 = trunking

configure in mikrotik
ether1 = Local —> to port 24 trunk
ether2 = public ----> to next router


/add address 192.168.13.1/30 interface ether1

/add address 172.16.16.1/30 interface ether2

please help me how to add sub interface (vlan1, vlan11, vlan12, vlan13, vlan14, vlan15, vlan16) in interface ether1 so that mikrotik and swith can response each other.

i want add addresses
vlan1 = no address
vlan11 = 192.168.0.190/28
vlan12 = 192.168.0.206/28
vlan13 = 192.168.0.222/28
vlan14 = 192.168.0.238/28
vlan15 = 192.168.0.254/28
vlan16 = 192.168.0.174/28


how to add ip address in sub interface (vlans)

thnks

dear all.

How to configure vlan in cisco catalyst express 500G series and mikrotik
routerOs

my vlan config in cisco catalys 500G 24 port is
vlan1 = default
vlan11 = port 1 to port 4
vlan12 = port 5 to port 8
vlan13 = port 6 to port 9
vlan14 = port 10 to port 16
vlan15 = port 17 to port 22
vlan16 = port 21 to port 23
port 24 = trunking

configure in mikrotik
ether1 = Local —> to port 24 trunk
ether2 = public ----> to next router


/add address 192.168.13.1/30 interface ether1

/add address 172.16.16.1/30 interface ether2

please help me how to add sub interface (vlan1, vlan11, vlan12, vlan13, vlan14, vlan15, vlan16) in interface ether1 so that mikrotik and swith can response each other.

i want add addresses
vlan1 = no address
vlan11 = 192.168.0.190/28
vlan12 = 192.168.0.206/28
vlan13 = 192.168.0.222/28
vlan14 = 192.168.0.238/28
vlan15 = 192.168.0.254/28
vlan16 = 192.168.0.174/28


how to add ip address in sub interface (vlans)

thnks