Mailing List Archive

Re: [quagga-dev 16588] Re: Why ospf hello packet without Designated Router and Backup Designated Router?
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.

--
Len Sorensen

_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-users
Re: [quagga-dev 16589] Re: Why ospf hello packet without Designated Router and Backup Designated Router? [ In reply to ]
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.
>
Re: [quagga-dev 16588] Re: Why ospf hello packet without Designated Router and Backup Designated Router? [ In reply to ]
On Thu, 23 Mar 2017, Lennart Sorensen wrote:

> 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.

Sounds like a patch for ospfd.texi begging to be written there, on the
gotcha above.

regards,
--
Paul Jakma | paul@jakma.org | @pjakma | Key ID: 0xD86BF79464A2FF6A
Fortune:
A boss with no humor is like a job that's no fun.

_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-users