how to make two e-BGP???

My BGP router is Mikrotik, i had a e-BGP with “IIG1”, Now i need to make another e-BGP with “IIG2”. i had

advertised “xxxxxx/22” in “IIG1” and now “yyyyy/24” in to new “IIG2”.


Do i need to add another instance & AS number for “IIG2” ?
e-bgp.JPG
e_bgp.JPG

no, just add another peer. use “/routing filter” to determine which prefixes get annouced / received from which peer.

It’s not working. May be i missed something in my routing filter rules,
bgp2.JPG
mang1.JPG
plz need urgent help,

thnxs,
raktim

whats not working ?

You should use set-bgp-prepend=, not put your as number in there. Prepend is 1, 2, 3, 4, etc … how many times it will prepend your AS number. Right now you are probably prepending your AS about 14000 times : )

You should use a action=discard at the end to drop the rest of the prefixes you do not want.

What’s not working ?

How can i discard everything at end..
i have add
/routing filter add chain=btcl-out prefix=xxxxx/22 prefix-length=22-32 action=passthrough
/routing filter add chain=btcl-out prefix=0.0.0.0/0 prefix-length=0-32 action=discard

but it’s disacard everything, also prefix xxxxx/22

thnxs,
raktim

action=passthrough should be action=accept. passthru just goes right thru, no action at all…