projectcalico / routereflector

BIRD-based route reflector for Calico
Apache License 2.0
14 stars 21 forks source link

Routereflector with multiple nics #29

Open clyang82 opened 5 years ago

clyang82 commented 5 years ago

I would like to setup an environment with routereflector as below:

image

output of calicoctl node status

IPv4 BGP status
+--------------+-----------+-------+----------+-------------+
| PEER ADDRESS | PEER TYPE | STATE |  SINCE   |    INFO     |
+--------------+-----------+-------+----------+-------------+
| 9.111.255.81 | global    | up    | 05:21:23 | Established |
+--------------+-----------+-------+----------+-------------+

the network is not ready in prod and test groups, because cannot connect with 9.111.255.81.

My questions are

  1. Is it possible to specify the PEER ADDRESS as hostname?
  2. Can I specify the IP with multiple ip addressed or support IPS?

Thanks.

tmjd commented 5 years ago

What you are requesting I do not think is possible with this routereflector. It sounds like you are trying to have one route reflector work for 3 different clusters which this was not designed to do. I believe to do what you want you will need to setup your own route reflector, using Bird, GoBGP or whatever BGP server you want and configure it to listen on each of those different addresses. It sounds like you are trying to do the next level up BGP server that this routereflector was intended to connect to.

clyang82 commented 5 years ago

@tmjd Thanks for your information. Can you point me some references to setup?

your own route reflector, using Bird, GoBGP or whatever BGP server you want and configure it to listen on each of those different addresses.

tmjd commented 5 years ago

I do not have any specific references, you would need to read the Bird or GoBGP documentation and understand how to configure those.

clyang82 commented 5 years ago

Thanks @tmjd