Community discussions

MikroTik App
 
bigkingkong
just joined
Topic Author
Posts: 1
Joined: Wed Oct 04, 2023 4:20 am

Help for Advertise small prefix through BGP on Mikrotik ROS 7

Wed Oct 04, 2023 4:38 am

Hello,
I have established a ibgp and i want the peering received our smallest prefix like /29.
Below my bgp session:
remote.address=10.10.123.21 .as=65536 .id=10.10.123.21 
     .capabilities=mp,rr,as4 .messages=51 .bytes=1034 .eor="" 
     local.role=ibgp .address=10.10.123.22 .as=65536.id=10.10.123.22 
     .capabilities=mp,rr,gr,as4 .messages=46 .bytes=912 .eor="" 
     output.procid=20 .filter-chain=PRIMARY-OUT .network=BGP-LIST 
     input.procid=20 .filter=PRIMARY-IN ibgp 
     nexthop-choice=force-self multihop=yes hold-time=3m keepalive-time=1m 
     uptime=43m34s740ms last-started=2023-10-04 07:41:35 prefix-count=10
Below my filter rules:
0 chain=PRIMARY-OUT rule="if (dst==192.168.107.0/24 && dst-len in 24-32) { accept}"
1 chain=PRIMARY-IN rule="if(dst==0.0.0.0/0){ reject}"

Below my ip address:

# ADDRESS NETWORK INTERFACE
0 192.168.107.1/29 192.168.107.0 Ether2

I want send 192.168.107.0/29 to peering.
The peering using router os v6, and filter length already set to 24-32, but the peering still not received any prefix from mikrotik ros7.
Please help me.


Thank you
 
User avatar
baragoon
Member
Member
Posts: 311
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: Help for Advertise small prefix through BGP on Mikrotik ROS 7

Thu Dec 14, 2023 8:49 am

Please show your BGP-LIST list in the /ip/firewall

and
0 chain=PRIMARY-OUT rule="if (dst==192.168.107.0/24 && dst-len in 24-32) { accept}"
looks like this should be
0 chain=PRIMARY-OUT rule="if (dst in 192.168.107.0/24 && dst-len in 24-32) { accept}"

Who is online

Users browsing this forum: No registered users and 4 guests