route -cloning flag

jhell jhell at DataIX.net
Sat Mar 6 08:40:58 UTC 2010


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 at 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


More information about the freebsd-stable mailing list