Date: Fri, 01 Jul 2016 18:42:16 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 210747] Routing table screwed up when adding routes for IPv6 Message-ID: <bug-210747-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210747 Bug ID: 210747 Summary: Routing table screwed up when adding routes for IPv6 Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: tuexen@freebsd.org Steps to reproduce: 1. Create an interface sudo ifconfig tun0 create inet6 fd3d:fa7b:d17d::1/48 2. Check routing table netstat -nrfinet6 Routing tables Internet6: Destination Gateway Flags N= etif Expire ::/96 ::1 UGRS = lo0 ::1 link#2 UH = lo0 ::ffff:0.0.0.0/96 ::1 UGRS = lo0 fd3d:fa7b:d17d::/48 link#3 U = tun0 fd3d:fa7b:d17d::1 link#3 UHS = lo0 fe80::/10 ::1 UGRS = lo0 fe80::%em0/64 link#1 U = em0 fe80::20c:29ff:fe8a:8910%em0 link#1 UHS = lo0 fe80::%lo0/64 link#2 U = lo0 fe80::1%lo0 link#2 UHS = lo0 fe80::%tun0/64 link#3 U = tun0 fe80::20c:29ff:fe8a:8910%tun0 link#3 UHS = lo0 ff02::/16 ::1 UGRS = lo0 3. Add route sudo route add -inet6 2001:DB8::1/32 -interface tun0 fd3d:fa7b:d17d::2 add net 2001:DB8::1/32: gateway tun0 4. Check routing table [freebsd11:~] tuexen% netstat -nrfinet6 Routing tables Internet6: Destination Gateway Flags N= etif Expire ::/96 ::1 UGRS = lo0 ::1 link#2 UH = lo0 ::ffff:0.0.0.0/96 ::1 UGRS = lo0 illegal prefixlen 2001:838::/0 tun0 US = tun0 fd3d:fa7b:d17d::/48 link#3 U = tun0 fd3d:fa7b:d17d::1 link#3 UHS = lo0 fe80::/10 ::1 UGRS = lo0 fe80::%em0/64 link#1 U = em0 fe80::20c:29ff:fe8a:8910%em0 link#1 UHS = lo0 fe80::%lo0/64 link#2 U = lo0 fe80::1%lo0 link#2 UHS = lo0 fe80::%tun0/64 link#3 U = tun0 fe80::20c:29ff:fe8a:8910%tun0 link#3 UHS = lo0 ff02::/16 ::1 UGRS = lo0 The problem is with "illegal prefixlen" and the network being displayed 2001:838::/0. The problem does not occur when using sudo route add -inet6 2001:DB8::1/32 fd3d:fa7b:d17d::2 in step 3. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210747-8>