misc/149609: reboot after adding second default route
Alexander Apanasenko
apanasis at mail.ru
Fri Aug 13 06:00:19 UTC 2010
>Number: 149609
>Category: misc
>Synopsis: reboot after adding second default route
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 13 06:00:19 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Alexander Apanasenko
>Release: 8.0, 8.1-RELEASE
>Organization:
>Environment:
FreeBSD gate100.bis 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Tue Aug 10 11:25:0
7 MSD 2010 apanas at gate100.bis:/usr/obj/usr/src/sys/GATE i386
FreeBSD gate100.bis 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Tue Aug 10 11:25:07 MSD 2010 apanas at gate100.bis:/usr/obj/usr/src/sys/GATE i386
>Description:
Add the second default route to main route table cause instantaneous reboot without any errors or panic.
After rebooting the route which was added is in main route table.
If to try add first and second default routes during of boot with help of script like
#!/bin/sh
ROUTE='/sbin/route'
$ROUTE flush
$ROUTE add default xxx.xxx.xxx.xxx -weight 40
$ROUTE add default yyy.yyy.yyy.yyy -weight 60
from /usr/local/etc/rc.d ,addition of routes finished successfully.
>How-To-Repeat:
On 8.0 or 8.1-RELEASE system with kernel options
options ROUTETABLES=4
options RADIX_MPATH
add first default route in the main route table (setfib 0):
route add default xxx.xxx.xxx.xxx
after that try to add second default route:
route add default yyy.yyy.yyy.yyy
and you can observe instant reboot.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list