kern/174749: Unexpected change of default route

Vadim Urazaev demiurg at tica.com.ua
Thu Jan 10 19:41:50 UTC 2013


Do you have net-snmp installed on your system ?

I did two things and problem is disappears for now (I live without changing
default route longer then ever now)

1. I disabled snmpd
2. I installed and started to use "bird" routing daemon.
With configuration like this.

protocol kernel world {


    persist;        # Don't remove routes on bird shutdown


    scan time 20;       # Scan kernel routing table every 20 seconds


    import none;        # Default is import all


    export filter {


        if (net = 0.0.0.0/0) then {


            if proto = "def" then accept;


        }


        reject;


    };



}



protocol device { }




protocol static def {



    preference 1000;    # Default preference of routes


    route 0.0.0.0/0 via x.x.x.x; # My default gateway


}

I don`t know is it helps or not at all, but you should try if you
in desperate situation as you told.

2013/1/10 Radek Krejča <radek.krejca at starnet.cz>

> The following reply was made to PR kern/174749; it has been noted by GNATS.
>
> From: =?iso-8859-2?Q?Radek_Krej=E8a?= <radek.krejca at starnet.cz>
> To: 'Krzysztof Barcikowski' <krzysiek at airnet.opole.pl>,
>         "bug-followup at FreeBSD.org" <bug-followup at FreeBSD.org>
> Cc:
> Subject: RE: kern/174749: Unexpected change of default route
> Date: Thu, 10 Jan 2013 12:29:15 +0100
>
>  Hi, thank you for response, because problem is very bad for us, because
> our=
>   customers leave us. I have script which checks default route and switch
> it=
>   back and send e-mail to me so situation is better.
>
>


More information about the freebsd-ipfw mailing list