There are no DR/BDR election on non-broadcast media (i.e. point to
point in this case).
Tracing it to be 0.0.0.0 is just an artefact from when the interface
data structure was initialized (XCALLOC).
If you want (B)DR to be elected, you need to change the network type of
the interface .


Best,
Olivier


On Thu, 2017-03-23 at 09:24 -0400, Lennart Sorensen wrote:
> On Thu, Mar 23, 2017 at 07:06:11PM +0800, 詹益晨 wrote:
> > Hi Pual,
> > The interface is gre tunnel, I print inet_ntoa (DR (oi)), but I saw
> > 0.0.0.0.
> > 
> > =============================================================
> > gretunnel is up
> >   ifindex 13, MTU 1476 bytes, BW 0 Kbit
> > <UP,POINTOPOINT,RUNNING,NOARP>
> >   Internet Address 192.168.3.1/24, Area 0.0.0.0
> >   MTU mismatch detection:enabled
> >   Router ID 192.168.4.54, Network Type POINTOPOINT, Cost: 10
> >   Transmit Delay is 1 sec, State Point-To-Point, Priority 1
> >   No designated router on this network
> >   No backup designated router on this network
> >   Multicast group memberships: OSPFAllRouters
> >   Timer intervals configured, Hello 10s, Dead 40s, Wait 40s,
> > Retransmit 5
> >     Hello due in 2.224s
> >   Neighbor Count is 1, Adjacent neighbor count is 1
> > ==============================================================
> > 
> > If the network type is POINTOPOINT to cause Designated Router is
> > 0.0.0.0?
> > How can I do to let it can work and packet with Designated Router
> > IP.
> 
> By default linux gre tunnels don't do multicast.
> 
> Something like this could make it do so:
> 
> ip link set gretunnel multicast on
> 
> Would have to do that on both ends.  To make it permanent would
> require
> puttings something in the network interface config to do that.
> 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to