BGP filters are working fine for me on 5.6
What exactly are you trying to accomplish? Presumably you're trying to advertise either 67.55.220.0/21 or 67.55.221.0/24? Can you show the rest of your BGP configuration: "/routing bgp export", "/routing bgp peer print detail", and "/routing bgp advertisement print [peername] detail"?
here it is the filter code with disabled part removed to make clearer view
/routing filter> export
# sep/06/2011 11:21:17 by RouterOS 5.6
#
/routing filter
add action=accept chain=isp-1-out disabled=no invert-match=no prefix=67.55.221.0/24 prefix-length=24
add action=discard chain=isp-1-out comment=discard disabled=no invert-match=no
add action=discard chain=isp-1-in disabled=no invert-match=no prefix=0.0.0.0
add action=discard chain=isp-1-in disabled=no invert-match=no prefix=67.55.220.0/21 prefix-length=21-24
this is the bgp instance
/routing bgp instance
set default as=65141 client-to-client-reflection=no disabled=no ignore-as-path-len=no name=default out-filter="" \
redistribute-connected=yes redistribute-ospf=no redistribute-other-bgp=yes redistribute-rip=no redistribute-static=\
no router-id=67.67.224.30 routing-table=""
this is the bgp network listing contains of ip address that i wanted to send to my peer, but currently i only wanted to advertise 1 block 67.55.221.0/24
/routing bgp network
add disabled=no network=67.55.220.0/24 synchronize=no
add disabled=no network=67.55.221.0/24 synchronize=no
add disabled=no network=67.55.222.0/24 synchronize=no
add disabled=no network=67.55.223.0/24 synchronize=no
add disabled=no network=67.55.224.0/24 synchronize=no
add disabled=no network=67.55.225.0/24 synchronize=no
add disabled=no network=67.55.226.0/24 synchronize=no
add disabled=no network=67.55.227.0/24 synchronize=no
this is my peer config, inbound filter using isp-1-in which is discarded all the routing info from peer and send out my specific ip block with isp-1-out filter
/routing bgp peer
add address-families=ip as-override=no comment=PEERING-to-ISP1 default-originate=never disabled=yes hold-time=3m in-filter=\
isp-1-in instance=default multihop=no name=isp-1 nexthop-choice=default out-filter=isp-1-out passive=no \
remote-address=67.67.224.29 remote-as=65142 remove-private-as=no route-reflect=no tcp-md5-key="" ttl=255 use-bfd=no
detail mode
/routing bgp> peer print detail
Flags: X - disabled, E - established
0 X ;;; isp-1
name="isp-1" instance=default remote-address=67.67.224.29 remote-as=65142 tcp-md5-key="" nexthop-choice=default
multihop=no route-reflect=no hold-time=3m ttl=255 in-filter=isp-1-in out-filter=isp-1-out address-families=ip
default-originate=never remove-private-as=no as-override=no passive=no use-bfd=no
this is the advertisement it should contain my ip block 67.55.221.0/24, but currently offline (i disabled it)
/routing bgp> advertisements print isp-1 detail
peer is not active
i have my default route from the other isp so i discarded all the routing information given by isp1, i need traffic in it just for specific block 67.55.221.0/24
but when i enabled the peer config my rb 1100 still receive 300 thousand routes from isp-1 which should've been dropped by the input filter
, my guess is that the routing filter is broken somehow.
Any comment will be appreciated
regards