Re: Setting permanent neighbor entry
Do it in hostname.if. You’ll win the race. > On May 26, 2020, at 2:14 PM, Demi M. Obenour wrote: > > On 2020-05-26 09:34, Kanto Andria wrote: >> Hello, >> man ndp is probably another solution >> >>On Tuesday, May 26, 2020, 9:17:25 a.m. EDT, Tommy Nevtelen >> wrote: >> >>> On 26/05/2020 11.38, Demi M. Obenour wrote: >>> What is the OpenBSD equivalent to this Linux command? >>> >>> ip neighbor add 2001:db8::1 dev xnf0 lladdr fe:ff:ff:ff:ff:ff router nud >>> permanent >>> >>> It doesn’t need to be a single command. If the existing userspace >>> tooling does not support this, is it possible to do it via the >>> kernel APIs? >> man arp > > I already tried this, but it does not work if there is already > an entry. Removing it and re-adding it is racy: a new entry might > appear before I can override it. > > Sincerely, > > Demi >
Re: Setting permanent neighbor entry
On 2020-05-26 09:34, Kanto Andria wrote: > Hello, > man ndp is probably another solution > > On Tuesday, May 26, 2020, 9:17:25 a.m. EDT, Tommy Nevtelen > wrote: > > On 26/05/2020 11.38, Demi M. Obenour wrote: >> What is the OpenBSD equivalent to this Linux command? >> >> ip neighbor add 2001:db8::1 dev xnf0 lladdr fe:ff:ff:ff:ff:ff router nud >> permanent >> >> It doesn’t need to be a single command. If the existing userspace >> tooling does not support this, is it possible to do it via the >> kernel APIs? > man arp I already tried this, but it does not work if there is already an entry. Removing it and re-adding it is racy: a new entry might appear before I can override it. Sincerely, Demi signature.asc Description: OpenPGP digital signature
Re: Setting permanent neighbor entry
Hello, man ndp is probably another solution On Tuesday, May 26, 2020, 9:17:25 a.m. EDT, Tommy Nevtelen wrote: On 26/05/2020 11.38, Demi M. Obenour wrote: > What is the OpenBSD equivalent to this Linux command? > > ip neighbor add 2001:db8::1 dev xnf0 lladdr fe:ff:ff:ff:ff:ff router nud > permanent > > It doesn’t need to be a single command. If the existing userspace > tooling does not support this, is it possible to do it via the > kernel APIs? man arp
Re: Setting permanent neighbor entry
On 26/05/2020 15.34, Kanto Andria wrote: Hello, man ndp is probably another solution This is the correct way since it is v6 :) /T
Re: Setting permanent neighbor entry
On 26/05/2020 11.38, Demi M. Obenour wrote: What is the OpenBSD equivalent to this Linux command? ip neighbor add 2001:db8::1 dev xnf0 lladdr fe:ff:ff:ff:ff:ff router nud permanent It doesn’t need to be a single command. If the existing userspace tooling does not support this, is it possible to do it via the kernel APIs? man arp
Setting permanent neighbor entry
What is the OpenBSD equivalent to this Linux command? ip neighbor add 2001:db8::1 dev xnf0 lladdr fe:ff:ff:ff:ff:ff router nud permanent It doesn’t need to be a single command. If the existing userspace tooling does not support this, is it possible to do it via the kernel APIs? Sincerely, Demi signature.asc Description: OpenPGP digital signature