Skip to content

Queue with Bridge ( Mikrotik Bridge sebagai Bandwidth Manager)

June 3, 2008

interface ethernet
set 0 arp=enabled auto-negotiation=yes cable-settings=default comment=”” \
disable-running-check=yes disabled=no full-duplex=yes mac-address=\
00:03:FF:EA:E3:7C mtu=1500 name=internet speed=100Mbps
set 1 arp=enabled auto-negotiation=yes cable-settings=default comment=”” \
disable-running-check=yes disabled=no full-duplex=yes mac-address=\
00:03:FF:E9:E3:7C mtu=1500 name=lokal speed=100Mbps

/interface bridge port
add bridge=myBridge comment=”” disabled=no edge=auto external-fdb=auto \
horizon=none interface=internet path-cost=10 point-to-point=auto \
priority=0x80
add bridge=myBridge comment=”” disabled=no edge=auto external-fdb=auto \
horizon=none interface=lokal path-cost=10 point-to-point=auto priority=\
0x80
/interface bridge settings
set use-ip-firewall=yes use-ip-firewall-for-pppoe=no \
use-ip-firewall-for-vlan=no

/ip address
add address=172.16.9.228/21 broadcast=172.16.15.255 comment=”” disabled=no \
interface=up network=172.16.8.0
add address=172.16.9.227/21 broadcast=172.16.15.255 comment=”” disabled=no \
interface=dn network=172.16.8.0

/ip firewall mangle
add action=mark-connection chain=prerouting comment=”” disabled=no \
dst-address=0.0.0.0/0 dst-port=80 new-connection-mark=http_conn passthrough=yes \
protocol=tcp src-address=0.0.0.0/0
add action=mark-packet chain=prerouting comment=”” connection-mark=http_conn \
disabled=no dst-address=0.0.0.0/0 new-packet-mark=http passthrough=no \
protocol=tcp src-address=0.0.0.0/0

/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=”” \
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
0/0 max-limit=256000/512000 name=main parent=none priority=8 queue=\
default-small/default-small target-addresses=172.16.8.0/21 total-queue=\
default-small

 

it’s tested & worked ;)

From → Mikrotik

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: