I’ve /26 public ip pool. which is working perfectly on Mikrotik Interface. and I’ve already configure BGP in my first core router. now I want to give client mikrotik router /27 pool. so how can do that?
I.E. i’ve 103.XX.64/26 Pool and I want to give 103.XX.96/27 pool to the client mikrotik
It’s public ip pool.
assign first host address from allocated subnet to the port of router which is serving your client and use appropriate subnet mask (/27)
instruct client to configure their router with some other address from the same subnet and use appropriate subnet mask
adjust firewall filter rules according to wishes/policy
For example: if you have e.g. 103.42.64.0/26 with your WAN interface address set to 103.42.64.1/26, and your client is served by ether13, then set ether13 address to be 103.42.64.33/27 and instruct client to configure their WAN interface with e.g. 103.42.64.34/27 and wisely use the rest of their IP address space. How to configure client router to deal with /27 address space coming in to WAN port is completely different issue (which had been dealt with on this forum a few times).
Example above assumes you’re using lowest part of /26 for your own use, hence first /27 subnet in the range (network address 103.42.64.0/27) is not free for your client. Other /27 network address from your /26 subnet is X.Y.Z.32/27 (2 subnets in total) and all addresses from given subnet address range need to be unoccupied in order to be allocated as subnet.
N.b. you can assign the /27 public address to ethernet port serving that particular client without breaking their current connectivity. When client migrates their setup to the new scheme (public /27 address), you can remove current setup from the ethernet port in question.