I have two routers, R1 and R2 connected by two dedicated links :
Code: Select all
+------+ ether1 ether1 +------+ ether3
| +---------------------+ +---------+Network1
| | link1 | |
| R1 | | R2 |
| | ether2 ether2 | | ether4
| +---------------------+ +---------+Network2
+------+ link2 +------+
I want R2 to advertise Network1 and Network2 to R1, but :
- Traffic to Network1 has to go through link1
- Traffic to Network2 has to go through link2
I can use BGP to advertise network, but it will advertise all networks on all interfaces.
I would like BGP to be able to advertise Network1 only on ether1, or specifying ether1 has gateway, but I don't know how to do this.
Is it possible to bind a BGP instance to a single interface ? Is it possible to customize BGP advertisements (force gateway/route) ?
Thanks