How not allow setting ip changes interface down status?

Sara Khanchi s.khanchi at gmail.com
Sat Jun 22 08:04:16 UTC 2013


On Tue, Jun 18, 2013 at 4:27 AM, Joe Holden <lists at rewt.org.uk> wrote:

> Jason Hellenthal wrote:
>
>> Off the top of my head I don't know of another OS that does this.
>>
>> But yes agreed changing that behavior would probably effect a lot of
>> people in a negative way at this point.
>>
>> Not to mention script breakage.
>>
>> But a tunable in the stack somewhere would be awesome to change this
>> behavior. Either interface specific or global or both.
>>
>> Sometimes installing a new faucet you don't want the water to run until
>> all the nuts, bolts and washers are installed.
>>
>>  The entire notion is ridiculous, it is quite simple - if the interface
> is down, it isn't in the FIB, you can't arbitarily return an error for
> setting an IP on an interface that isn't up.
>
> The last thing we need is yet more nonsense stack changes, allowing 0/8 to
> be used was bad enough.
>

What I've intended to do, as jason is mentioned too, is assigning IP
address to the interface but not let it works until a proper time. As I
understand there is not any way just set the interface down besides adding
IP! Still, any other solution?


More information about the freebsd-net mailing list