[Xorp-hackers] BGP routes distribution

Maher Kaddoura mkaddoura at atcorp.com
Tue Sep 29 09:44:30 PDT 2009


Hi,

I have a gateway that is configured with two interfaces 192.168.21.1 and
192.168.20.1. I want the gateway to distribute both routes into 192.168.20.0
domain. The problem that I am facing is that when 

RIP and BGP are configured to distribute routes using {protocol:
"connected"}, the BGP would only distribute 192.168.21.0/24 but not
192.168.20.0/24.

If I set RIP to distribute static route (as define below while BGP
distribute {protocol: "connected"}, then BGP would distribute both
192.168.20.0/24 and 192.168.21.0/24. However RIP will not distribute 
192.168.20.0 /24 and 192.168.21.0/24.

Can someone please let know what configuration should I used so BGP and RIP
distribute both routes into domain 192.168.20.0.

Thank you,

Maher 

protocols {
  static {
  route 192.168.20.0/24 {
   next-hop: 192.168.20.1
   metric: 1
}
route 192.168.21.0/24 {
   next-hop: 192.168.20.1
   metric: 1
}

}}




More information about the Xorp-hackers mailing list