Multiple RIB

Diarmuid O Briain diarmuid at obriain.com
Tue Sep 18 10:07:08 CEST 2018


Hi,

I have been trying to setup a simple config using multiple RIB for a Route
Server. Here are two compatible configurations, the first with multiple
tables, the second with a single master configuration. The single master
works fine and the peers get routing updates but the multiple tables
version does not pass routes. ANy ideas why ?

regards,

Diarmuid

######### bird.conf multiple RIB #########

log syslog all;

define LOCAL_AS = 5999;
define RTR_ADDR = 199.9.9.1;
include "import_policy_v4";

router id 199.9.9.1;

listen bgp address RTR_ADDR;

template pipe PIPES {
  table master;
  mode transparent;
}

template bgp PEERS {
  rs client;
  local as LOCAL_AS;
  source address RTR_ADDR;
  import filter import_policy_v4;
  import all;
  export all;
}

protocol device {
        scan time 10;
}

protocol kernel {
        export all;
        scan time 15;
}

# as5111 member
table T5111;

protocol pipe P5111 from PIPES {
  description "as5111";
  peer table T5111;
}

protocol bgp as5111 from PEERS {
        description "as5111";
        neighbor 199.9.9.11 as 5111;
        table T5111;
}

# as5222 member
table T5222;

protocol pipe P5222 from PIPES {
  description "as5222";
  peer table T5222;
}

protocol bgp as5222 from PEERS {
        description "as5222";
        neighbor 199.9.9.22 as 5222;
        table T5222;
}

# as5333 member
table T5333;

protocol pipe P5333 from PIPES {
  description "as5333";
  peer table T5333;
}

protocol bgp as5333 from PEERS {
        description "as5333";
        neighbor 199.9.9.33 as 5333;
        table T5333;
}


######### bird.conf master RIB only #########

log syslog all;

define LOCAL_AS = 5999;
define RTR_ADDR = 199.9.9.1;
include "import_policy_v4";

router id 199.9.9.1;

listen bgp address RTR_ADDR;

template bgp PEERS {
  rs client;
  local as LOCAL_AS;
  source address RTR_ADDR;
  import filter import_policy_v4;
  import all;
  export all;
}

protocol device {
        scan time 10;
}

protocol kernel {
        export all;
        scan time 15;
}

# as5111 member

protocol bgp as5111 from PEERS {
        description "as5111";
        neighbor 199.9.9.11 as 5111;
}

# as5222 member

protocol bgp as5222 from PEERS {
        description "as5222";
        neighbor 199.9.9.22 as 5222;
}

# as5333 member

protocol bgp as5333 from PEERS {
        description "as5333";
        neighbor 199.9.9.33 as 5333;
}



--

*Irish by birth, located in Uganda but Munster by the grace of God.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180918/507ce12a/attachment.html>


More information about the Bird-users mailing list