[quagga-dev 16590] Re: Why ospf hello packet without Designated Router and Backup Designated Router?
Olivier Tilmans <[email protected]>
| Newsgroups | gmane.network.quagga.devel,gmane.network.quagga.user |
|---|---|
| Message-ID | <[email protected]> |
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. >
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEA4JBbRFNTYr36NN7M7AgOr/LyUYFAljTz5kACgkQM7AgOr/L yUa7cwf/RzUivDTHLM7mLCx3W/CNZ/km2FaNBbfIO9hUEO/vrG9Vvuq2TImINYa5 FSdmWstJd8HhQfRt3hQQkDhh4MW7MLksxL2GCpwjZunHjEUbtVkO2uIGAAadZzaU NZ7i9cgksH8Xqu/4rrfmPKDwX+MMp6NV+PagBPD8qrXtQ5Y3GhgUD/79/AKZH8jk JeBbKoUpt0u3wR9Pmh9GV1TlNyk4f7vLJAvcvb/FWmHTOT6PPKhYA5Cd8Kefc85f 7XovDKoGrsjvkX8BQwKfTmpWnOiUD3qJFTB7rD7rHy7zR3tTWx2tkRvWL630j3FD QJtHU0A6I8YFBAP04qjtzFvZUrRNTQ== =84wA -----END PGP SIGNATURE-----