24.11.2014 Views

General Information

General Information

General Information

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

dst-address (IP address/mask; default: 0.0.0.0/0) - destination IP address of the packet<br />

in-interface (name; default: all) - interface the packet has entered the bridge through<br />

• all - any interface<br />

in-interface (name; default: all) - interface the packet is coming into the bridge<br />

• all - any interface<br />

mac-dst-address (MAC address; default: 00:00:00:00:00:00) - MAC address of the destination<br />

host<br />

mac-protocol (all | integer; default: all) - the MAC protocol of the packet. Most widely used MAC<br />

protocols are (many other exist):<br />

• all - all MAC protocols<br />

• 0x0004 - 802.2<br />

• 0x0800 - IP<br />

• 0x0806 - ARP<br />

• 0x8035 - RARP<br />

• 0x809B - AppleTalk (EtherTalk)<br />

• 0x80F3 - AppleTalk Address Resolution Protocol (AARP)<br />

• 0x8037 - IPX<br />

• 0x8100 - VLAN<br />

• 0x8137 - Novell (old) NetWare IPX (ECONFIG E option)<br />

• 0x8191 - NetBEUI<br />

• 0x86DD - IPv6<br />

mac-src-address (MAC address; default: 00:00:00:00:00:00) - MAC address of the source host<br />

out-interface (name; default: all) - interface the packet is leaving the bridge through<br />

• all - any interface<br />

protocol (all | egp | ggp | icmp | igmp | ip-encap | ip-sec | tcp | udp | integer; default: all) - IP<br />

protocol name/number<br />

• all - match all the IP protocols<br />

src-address (IP address/mask; default: 0.0.0.0/0) - source IP address of the packet<br />

Drop broadcast packets<br />

[admin@MikroTik] interface bridge firewall> add mac-dst-address=FF:FF:FF:FF:FF:FF<br />

action=drop<br />

[admin@MikroTik] interface bridge firewall> print<br />

Flags: X - disabled, I - invalid<br />

0 mac-src-address=00:00:00:00:00:00 in-interface=all<br />

mac-dst-address=FF:FF:FF:FF:FF:FF out-interface=all mac-protocol=all<br />

src-address=0.0.0.0/0 dst-address=0.0.0.0/0 protocol=all action=drop<br />

[admin@MikroTik] interface bridge firewall><br />

Drop IP, ARP and RARP<br />

To make a brouter (the router that routes routable (IP in our case) protocols and bridges unroutable<br />

protocols), make a rule that drops IP, ARP, and RARP traffic (these protocols should be disabled in<br />

Page 183 of 568<br />

Copyright 1999-2005, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.<br />

Other trademarks and registred trademarks mentioned herein are properties of their respective owners.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!