Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Mar 2010 03:37:04 -0500
From:      jhell <jhell@DataIX.net>
To:        Matthias Gamsjager <mgamsjager@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: route -cloning flag
Message-ID:  <4B921430.4060302@DataIX.net>
In-Reply-To: <585602e11003042244x3ce4c97fj8cc7df8d40224f3c@mail.gmail.com>
References:  <1267716511.43321.3.camel@DraGoN.OTEL.net> <1267718672.43321.39.camel@DraGoN.OTEL.net> <585602e11003042244x3ce4c97fj8cc7df8d40224f3c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/5/2010 1:44 AM, Matthias Gamsjager wrote:
> One thing is sure. the route won't survive a reboot. Guess you can add
> it to rc.conf but I have never tried it.
> 

check /etc/defaults/rc.conf for static_routes and its usage. Maybe you
already know about this but I wanted to double check with you just in
case. rc.conf(5) also has a example usage.


> On Thu, Mar 4, 2010 at 5:04 PM, Iasen Kostov <tbyte@otel.net> wrote:
>> On Thu, 2010-03-04 at 17:28 +0200, Iasen Kostov wrote:
>>> Hi,
>>>
>>> How can I simulate 'route add -net 1.1.1.1/32 -cloning -iface fxp0' on
>>> FreeBSD 8.x because it appears that somebody has axed cloning ?
>>> And no it does NOT work without -cloning. And I don't really want to
>>> argue if it is correct or not - It worked not it doesn't ;)
>>>
>>> Regards, Iasen.
>>>
>>
>> Hum when I actually got to the machine and added the route it worked
>> without -cloning. I can Only guess that the on site support did
>> something wrong but I really don't know what mistake can they make in
>> that simple command (route add -net 1.1.1.1/32 -iface fxp0) ;) . I hope
>> it will still works after reboot ... And the man page is wrong, It
>> still lists -cloning as valid option, with that in mind and remote
>> server one can easily lock himself out :(
>>
>> Regards, Iasen.
>>

-- 

 jhell



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