Hello,
Let me see if I get this right:
0/ You have ASN-A and prefix-1/26 with eBGP towards ISP-1. You eBGP-peer with ISP-1 using ASN-A. But what is the link subnet-1?
1/ You also got ASN-B with prefix-2/24 from same ISP-1. You haven't got any new link subnets, or have You?
2/ Your goal is :
2a/ to advertise to ISP-1 prefix-1/26 with leftmost ASN-A over eBGP peering with ISP-1 across link subnet-1
2b/ to advertise to ISP-1 prefix-2/24 with leftmost ASN-B over same eBGP peering with ISP-1 across link subnet-1
2c/ to establish another peering session with ISP-1 over link subnet-1 using ASN-B and advertise prefix-2/24.
2d/ anything else?
2a is what You already have.
2b is not supported since own ASN-A will be prepended to the AS_PATH for prefix-2/24 before it is advertised out.
2c is not supported either unless:
[i] You'd get a brand new link-subnet-2 which You can then add as secondary to Your link and use for peering with ISP-1 using ASN-B; or
[ii] if existing link subnet-1 is large enough (/29 or shorter) at least Your ISP-1 must get a new IP for this peering, but You can reuse Your own link subnet-1 IP for new peering if You want to.
[iii] You establish multihop eBGP peering using ASB-B towards brand new ISP-1 IP using the same link subnet-1 IP on Your side.
And then You'd need "local-as" once You are past [i], [ii], or [iii] above.
HTH
Thx
Alex