Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 12:01:24 -0700 (PDT)
From:      "Dmitry Y. Bordakov" <dmitry_bordakov@agilent.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/44355: After deletion of an IPv6 alias, the route to the whole subnet is removed too.
Message-ID:  <200210211901.g9LJ1ObS006867@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         44355
>Category:       kern
>Synopsis:       After deletion of an IPv6 alias, the route to the whole subnet is removed too.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 21 12:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Y. Bordakov
>Release:        4.4-RELEASE
>Organization:
Agilent Technologies, Inc.
>Environment:
FreeBSD qar1 4.4-RELEASE FreeBSD 4.4-RELEASE #14: Fri Oct 11 19:55:37 GMT 2002     root@qar1:/usr/src/sys/compile/QAR44GENERIC.znb  i386

>Description:
You configured several IPv6 aliases in one subnet (with the same prefix) on one network interface, for example, 3ffe::1, 3ffe::2, 3ffe::3, etc, all on fxp0.
During the first alias configuration, the network stack automatically configured an appropriate route to the network, in our example, 3ffe::/64 -> link#1 .
Deletion of one of the aliases causes deletion of the route and, therefore, unreachability of the remote addresses in the same subnet, for example, ping6 3ffe::123 returns "No route to host".

>How-To-Repeat:
ifconfig lo0 inet6 add 3ffe::1
ifconfig lo0 inet6 add 3ffe::2
netstat -nr | grep lo0
                          ...
                          3ffe::/64       fe80::1%lo0   Uc    lo0
                          3ffe::1         link#2        UHL   lo0
                          3ffe::2         link#2        UHL   lo0
                          ...
ifconfig lo0 inet6 delete 3ffe::1
netstat -nr | grep lo0
                          ...
                          3ffe::2         link#2        UHL   lo0
                          ...


>Fix:
begin 644 in6.c.diff
M+2TM(&EN-BYC+BXP;W)I9VEN86P)5V5D($]C="`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0HM"6EF("AN9#9?<')E9FEX7VQO;VMU<"@F<'(P*2`]/2!.54Q,*2![
M#0HM"0EI9B`H*&5R<F]R(#T@;F0V7W!R96QI<W1?861D*"9P<C`L($Y53$PL
M($Y53$PI*2`A/2`P*0T**PEI9B@@*'!R(#T@;F0V7W!R969I>%]L;V]K=7`H
M)G!R,"DI(#T]($Y53$P@*7L-"BL)"6EF("@H97)R;W(@/2!N9#9?<')E;&ES
M=%]A9&0H)G!R,"P@3E5,3"P@)G!R*2D@(3T@,"D-"B`)"0ER971U<FXH97)R
M;W(I.PT*(`E]#0H@#0HK"6EF*"!P<B`]/2!.54Q,("E[#0HK#0HK"0EL;V<H
M($Q/1U]%4E(L(")N9#9?<')E;&ES=%]A9&0H*2!S=6-C961E9"!B=70@;F\@
M<')E9FEX7&XB("D[#0HK"0ER971U<FX@14E.5D%,.R`O*B!P86YI8R!H97)E
M/R`J+PT**PE]96QS97L-"BL)"2LK<'(M/FYD<')?<F5F8VYT.PT**PE]#0HK
7"0T*(`ER971U<FX@,#L-"B!]#0H@#0H`
`
end

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210211901.g9LJ1ObS006867>