Re: Command to Display Prefixes and Default router entries in Linux
Dheeraj Kandula <[email protected]> Thu, 23 Jun 2022 15:14:57 -0400
| Newsgroups | gmane.linux.debian.devel.ipv6 |
|---|---|
| Message-ID | <CA+qNgxT1xtBy-jtZ5Ka8uc_sn2+37jjZiQNAsGydLM3cbbaa-Q@mail.gmail.com> |
--000000000000a0e75805e2224520 Content-Type: text/plain; charset="UTF-8" Thanks Povl. In the "ip neighbor" output, I see entries listed with "router". Maybe it is a RA Default router learnt entry. Dheeraj On Thu, Jun 23, 2022 at 1:25 PM Povl Ole Haarlev Olsen <[email protected]> wrote: > On Thu, 23 Jun 2022, Dheeraj Kandula wrote: > > In FreeBSD we have the "ndp -p" and "ndp -r" to display the Prefixes > > and the default router entries learned from Router Advertisements. > > > > Is there an equivalent command in Linux? > > > > I tried "ip neighbor" but that doesn't display the entries related to RA. > > Maybe "ip -6 route" has (some of) what you're looking for? > > -- > Povl Ole > --000000000000a0e75805e2224520 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Thanks Povl. <br></div><div><br></div><div>In the &qu= ot;ip neighbor" output, I see entries listed with "router". = Maybe it is a RA Default router learnt entry.</div><div><br></div><div>Dhee= raj<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D= "gmail_attr">On Thu, Jun 23, 2022 at 1:25 PM Povl Ole Haarlev Olsen <<a = href=3D"mailto:[email protected]">[email protected]</a>> wrote:<br></div><bloc= kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:= 1px solid rgb(204,204,204);padding-left:1ex">On Thu, 23 Jun 2022, Dheeraj K= andula wrote:<br> >=C2=A0 =C2=A0 =C2=A0In FreeBSD we have the "ndp -p" and "= ;ndp -r" to display the Prefixes<br> > and the default router entries learned from Router Advertisements.<br> ><br> > Is there an equivalent command in Linux?<br> ><br> > I tried "ip neighbor" but that doesn't display the entri= es related to RA.<br> <br> Maybe "ip -6 route" has (some of) what you're looking for?<br= > <br> -- <br> Povl Ole<br> </blockquote></div> --000000000000a0e75805e2224520--