Community discussions

MikroTik App
 
radiodatanet
just joined
Topic Author
Posts: 1
Joined: Mon Mar 18, 2024 10:37 am

Split subnet to smaller in a router with BGP

Mon Mar 18, 2024 10:39 am

Good Morning,
I have a router with BGP session to provider, this session announce a /24 subnet.
Now if i assign the x.x.x.1/24 at eth1 this work fine, but if assign x.x.x.1/26 at eth1 and x.x.x.65/26 at eth2 doesn't work
The same is if i create a route for the /24 subnet to next hop this work, but if create a route for smaller than /24 subnet to next hop this doesn't work.
I've do a test without BGP session on WAN interface but with static IP, and the routing to smaller subnets work fine.
Isn't splitting subnet compatible with BGP use?
I's possible it is a software bug?
The ROS version used for test is 7.14.1 and 7.13.3
Can you help Me?

Thanks
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Split subnet to smaller in a router with BGP

Mon Mar 18, 2024 11:11 am

I assume you are trying to advertise smaller subnet than /24 to the upstream. Typically upstream does not accept smaller subnets than 24
 
kevinds
Long time Member
Long time Member
Posts: 651
Joined: Wed Jan 14, 2015 8:41 am

Re: Split subnet to smaller in a router with BGP

Mon Mar 18, 2024 2:02 pm

Isn't splitting subnet compatible with BGP use?
Sometimes.. Depends on a few factors, like who is announcing the /24. Some ISPs can set this up if they are your only ISP. They announce the /24 to the internet, and then you announce to them which locations get which part (usually in a small geographical area).

The internet routing tables do not accept smaller than /24.

Who is online

Users browsing this forum: No registered users and 3 guests