D
D
Dima Petrov2021-03-29 12:32:07
Computer networks
Dima Petrov, 2021-03-29 12:32:07

For some reason, some of the networks are not transmitted via RIP?

rip(bird) is configured on two servers.

one server receives ~600 routes. almost all routes are transferred to the neighbor, but about 10 are not transferred.

tcpdump shows that the route is sent to the neighbor, but the neighbor did not have it.

tests were performed on 172.20.6.0/24

if the routes

172.20.60.0/24
172.20.61.0/24
172.20.62.0/24
......
172.20.69.0/24

are transmitted every 12s.

then 172.20.6.0/24 is transmitted every 3 - 4 minutes.

at the bottom I brought the configs, there may be some errors.

Node2

router id 255.255.255.255;

log "/var/log/bird.log" { debug, trace, info, remote, warning, error, auth, fatal, bug };

filter export_ {
        #if net ~ [ 172.17.11.0/24, 172.17.1.0/24 ] then accept;
        #else reject;
        accept;
}

filter import_ {
        if net ~ [ 10.1.0.0/24 ]  then accept;
        if net ~ [ 172.17.11.0/24, 10.0.0.0/8 ]  then reject;
        else accept;
}

protocol device {
        scan time 10;
}

protocol kernel {
        export filter import_;
        scan time 15;
}

protocol static {
        route 172.17.11.0/24 unreachable;
        route 10.2.0.0/24 unreachable;
}

protocol rip {
    import filter import_;
    export filter export_;

#debug all;

    infinity 16;
        interface "br1", "tap*" { mode multicast;
           update time 12;
        timeout time 50;
        };
}


node1
router id 255.255.255.253;

log "/var/log/bird.log" { debug, trace, info, remote, warning, error, auth, fatal, bug }; 


filter export_ {
        #if net ~ [ 172.17.11.0/24, 172.17.1.0/24 ] then accept;
        #else reject;
        accept;
}

filter import_ {
  if net ~ [ 10.2.0.0/24 ] then accept;
        if net ~ [ 172.17.11.0/24, 10.0.0.0/16 ]  then reject;
        else accept;
}

protocol device {
        scan time 10;
}

protocol kernel {
        export filter import_;
        scan time 15;
}

protocol static {
        route 172.17.11.0/24 unreachable;
        route 10.1.0.0/24 unreachable;
}

protocol rip {
    import filter import_;
    export filter export_;
#    debug all;
    infinity 16;
        interface "br1", "tap*" { mode multicast;
           update time 12;
        timeout time 50;
        };
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question