[quagga-users 12403] Zebra & IRDP

Alexandru Coseru alex.coseru at gmail.com
Sat Aug 13 21:34:07 IST 2011


Hello,

 

I'm trying to make zebra export static and default route via IRDP, but so
far I only got some networks of the connected interface:

 

 

border-nx# sh version

Quagga 0.99.9 (border-nx).

Copyright 1996-2005 Kunihiro Ishiguro, et al.

 

border-nx# sh interface eth0.1147

Interface eth0.1147 is up, line protocol detection is disabled

  index 26 metric 1 mtu 1500

  flags: <UP,BROADCAST,RUNNING,MULTICAST>

  HWaddr: 00:30:48:7e:b6:08

  inet 10.1.10.11/24 broadcast 10.1.10.255 eth0.1147:17

  inet 141.85.48.6/24 broadcast 141.85.48.255 eth0.1147:11

  inet 192.68.98.1/24 broadcast 192.68.98.255 eth0.1147:9

  inet 192.168.98.1/24 broadcast 192.168.98.255 eth0.1147:5

    30799637596 input packets (329848 multicast), 34400046181696 bytes, 0
dropped

    0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame

    0 fifo, 0 missed

    20281109410 output packets, 10613354085691 bytes, 0 dropped

    0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat

    0 window, 0 collisions

 

 

Config file:

 

interface eth0.1147

ip irdp multicast

ip irdp preference 0

ip irdp holdtime 1350

ip irdp minadvertinterval 3

ip irdp maxadvertinterval 4

!

 

Debug:

 

2011/08/13 23:07:46 ZEBRA: IRDP: TX Advert on eth0.1147 141.85.48.6/24
Holdtime=1350 Preference=0

2011/08/13 23:07:46 ZEBRA: IRDP: TX Advert on eth0.1147 192.168.98.1/24
Holdtime=1350 Preference=0

2011/08/13 23:07:46 ZEBRA: IRDP: TX Advert on eth0.1147 192.68.98.1/24
Holdtime=1350 Preference=0

2011/08/13 23:07:46 ZEBRA: IRDP: TX Advert on eth0.1147 10.1.10.11/24
Holdtime=1350 Preference=0

 

 

 

In irdp_main.c, function int irdp_send_thread(struct thread *t_advert)   I
see the following lines:

 

if(ifp->connected)

    for (ALL_LIST_ELEMENTS (ifp->connected, node, nnode, ifc))

      {

        p = ifc->address;

 

        if (p->family != AF_INET)

          continue;

 

        irdp_advertisement(ifp, p);

        irdp->irdp_sent++;

      }

 

Is the normal behavior to send only connected prefixes ?

 

 

Best Regards,

                Alex

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-users/attachments/20110813/47f87490/attachment.html>


More information about the Quagga-users mailing list