several questions and possible(?) bugs

Artem Bokhan art at academ.org
Tue Aug 10 18:31:59 CEST 2004


Hello!
I'm beginner with BIRD and need some help. And sorry for bad English.. :)
If you can help me with only part of questions, please, do it :)

I have FreeBSD station with interface em0 (and others), which acts as 
router.
______________________________________________________________________________
ifconfig em0
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=3<RXCSUM,TXCSUM>
        inet 81.1.226.1 netmask 0xffffff80 broadcast 81.1.226.127
        inet 192.168.0.1 netmask 0xfffff000 broadcast 192.168.15.255
______________________________________________________________________________

and I need to broad/multicast through it three mentioned RIPv2 routes

I created config:
_____________________________________________________________________________
log "tmp" all;
table testable;
debug protocols all;
protocol static {
        table testable;
        debug all;
        import all; # from the protocol to the routing table
        export none;
        route 0.0.0.0/0 via "em0";
        route 81.1.226.0/23 via "em0";
        route 192.168.0.0/16 via "em0";
}
protocol rip RIP {     # You can also use an explicit name
        table testable;
        export all;
        import none;
        debug all;
        port 520;
        period 10;
        interface "em0" { mode broadcast; };
        honor never;
        authentication none;
}
protocol device {
        scan time 60;           # Scan interfaces every 10 seconds
}
______________________________________________________________________________

Questions:

1) I have two aliased IPs on em0, so I need to send broadcast to 
81.1.226.127 and 192.168.15.255 both (my third-party MS-windows client 
doesn't understand multicast).

tethereal -i em0 port 520
Capturing on em0
  0.000000   81.1.226.1 -> 81.1.226.127 RIPv2 Response
  0.000002   81.1.226.1 -> 81.1.226.127 RIPv2 Response
  0.000590   81.1.226.1 -> 81.1.226.127 RIPv2 Response

How can I make BIRD to send packet to both 81.1.226.127 and 192.168.15.255? 
And why there are three packets, not just one?

2) Then, I have "period 10" in config, but
    in the BIRD's log "says" about 2-7 seconds
   ______________________________________________________________________________
10-08-2004 23:18:34 <TRACE> RIP: Broadcasting routing table to em0
10-08-2004 23:18:38 <TRACE> RIP: Broadcasting routing table to em0
10-08-2004 23:18:41 <TRACE> RIP: Broadcasting routing table to em0
10-08-2004 23:18:48 <TRACE> RIP: Broadcasting routing table to em0
10-08-2004 23:18:50 <TRACE> RIP: Broadcasting routing table to em0
10-08-2004 23:18:56 <TRACE> RIP: Broadcasting routing table to em0
10-08-2004 23:19:03 <TRACE> RIP: Broadcasting routing table to em0
10-08-2004 23:19:07 <TRACE> RIP: Broadcasting routing table to em0
10-08-2004 23:19:09 <TRACE> RIP: Broadcasting routing table to em0
______________________________________________________________________________

at the same time dump says about ~28 seconds. What's wrong?.....
______________________________________________________________________________
tcpdump -n -i em0 port 520
tcpdump: listening on em0
23:21:43.334495 81.1.226.1.4060 > 81.1.226.127.520:  RIPv2-resp [items 3]: 
{0.0.0.0}(1) {192.168.0.0/255.255.0.0}(1)[|rip] [tos 0xc0]  [ttl 1]
23:21:43.334498 81.1.226.1.4060 > 81.1.226.127.520:  RIPv2-resp [items 3]: 
{0.0.0.0}(1) {192.168.0.0/255.255.0.0}(1)[|rip] [tos 0xc0]  [ttl 1]
23:21:43.334937 81.1.226.1.4060 > 81.1.226.127.520:  RIPv2-resp [items 3]: 
{0.0.0.0}(1) {192.168.0.0/255.255.0.0}(1)[|rip] [tos 0xc0]  [ttl 1]
23:22:10.335409 81.1.226.1.4060 > 81.1.226.127.520:  RIPv2-resp [items 3]: 
{0.0.0.0}(1) {192.168.0.0/255.255.0.0}(1)[|rip] [tos 0xc0]  [ttl 1]
23:22:10.335411 81.1.226.1.4060 > 81.1.226.127.520:  RIPv2-resp [items 3]: 
{0.0.0.0}(1) {192.168.0.0/255.255.0.0}(1)[|rip] [tos 0xc0]  [ttl 1]
23:22:10.335963 81.1.226.1.4060 > 81.1.226.127.520:  RIPv2-resp [items 3]: 
{0.0.0.0}(1) {192.168.0.0/255.255.0.0}(1)[|rip] [tos 0xc0]  [ttl 1]
23:22:38.341199 81.1.226.1.4060 > 81.1.226.127.520:  RIPv2-resp [items 3]: 
{0.0.0.0}(1) {192.168.0.0/255.255.0.0}(1)[|rip] [tos 0xc0]  [ttl 1]
23:22:38.341202 81.1.226.1.4060 > 81.1.226.127.520:  RIPv2-resp [items 3]: 
{0.0.0.0}(1) {192.168.0.0/255.255.0.0}(1)[|rip] [tos 0xc0]  [ttl 1]
23:22:38.341783 81.1.226.1.4060 > 81.1.226.127.520:  RIPv2-resp [items 3]: 
{0.0.0.0}(1) {192.168.0.0/255.255.0.0}(1)[|rip] [tos 0xc0]  [ttl 1]
______________________________________________________________________________

So, I very need help :)

 




More information about the Bird-users mailing list