Project

General

Profile

Bug #10427

in.ndpd need not run if only loopback IPv6 addresses are present

Added by Andy Fiddaman 5 months ago. Updated 5 months ago.

Status:
Pending RTI
Priority:
Normal
Assignee:
Category:
-
Start date:
2019-02-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Currently, the ndp daemon runs in an NGZ even if there is only a loopback IPv6 address present.

root@hawkeye:~# ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
net0/_a           from-gz  ok           10.0.0.86/26
lo0/v6            static   ok           ::1/128

root@hawkeye:~# ps -ef | grep ndpd
    root  4960  4302   0   Jan 22 ?           0:00 /usr/lib/inet/in.ndpd

If loopback is the only IPv6 address present, ndpd does not need to run.

History

#1

Updated by Andy Fiddaman 5 months ago

  • Description updated (diff)
#2

Updated by Andy Fiddaman 5 months ago

Review at: https://illumos.org/rb/r/1496/

Testing notes:

After the change, the zone does not have in.ndpd running unless there is a non-loopback IPV6 address configured, for example:

root@test:~# ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
test0/_a          from-gz  ok           172.27.10.100/24
lo0/v6            static   ok           ::1/128

root@test:~# ps -ef | grep ndp

root@test:~# ipadm create-addr -t -T addrconf test1/v6local

root@test:~# ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
test0/_a          from-gz  ok           172.27.10.100/24
lo0/v6            static   ok           ::1/128
test1/v6local     addrconf ok           fe80::8:20ff:fe5c:6ec0/10

root@test:~# svcadm restart routing-setup

root@test:~# ps -ef | grep ndp
    root  8014  7577   0 15:19:21 ?           0:00 /usr/lib/inet/in.ndpd

#3

Updated by Andy Fiddaman 5 months ago

  • Subject changed from in.ndpd does not need to run if only loopback IPv6 addresses are present to in.ndpd need not run if only loopback IPv6 addresses are present
#4

Updated by Andy Fiddaman 5 months ago

  • Status changed from In Progress to Pending RTI
  • % Done changed from 0 to 100

Also available in: Atom PDF