[quagga-users 14653] Re: [quagga-dev 16588] Re: Why ospf hello packet without Designated Router and Backup Designated Router?

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Thu Mar 23 13:24:07 GMT 2017


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



More information about the Quagga-users mailing list