How not allow setting ip changes interface down status?
Jason Hellenthal
jhellenthal at dataix.net
Sun Jun 16 17:13:28 UTC 2013
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.
--
Jason Hellenthal
Inbox: jhellenthal at DataIX.net
Voice: +1 (616) 953-0176
JJH48-ARIN
On Jun 16, 2013, at 12:50, Jack Vogel <jfvogel at gmail.com> wrote:
> How is adding a small token 'down' with the command a 'PITA',
> seems completely reasonable to me? Further, if you changed it
> so if didn't bring the interface up you'd probably have a bunch of
> people complain because that was the expected behavior :)
>
> Jack
>
>
>
> On Sun, Jun 16, 2013 at 2:28 AM, Jason Hellenthal <jhellenthal at dataix.net> wrote:
>> Seconded.
>>
>> But to answer you must specify "down" with every command.
>>
>> ifconfig wlan0 inet ipa.ddr.her.e/24 down
>>
>> It's a PITA
>>
>> --
>> Jason Hellenthal
>> Inbox: jhellenthal at DataIX.net
>> Voice: +1 (616) 953-0176
>> JJH48-ARIN
>>
>>
>> On Jun 16, 2013, at 3:48, Adrian Chadd <adrian at freebsd.org> wrote:
>>
>> > That'd actually be nice to have. I've noticed this with wifi and it's
>> > irritating.
>> >
>> >
>> > adrian
>> >
>> > On 15 June 2013 23:59, h bagade <bagadeh at gmail.com> wrote:
>> >> Hi all,
>> >>
>> >> I want to know if there is any way to change the current freebsd behavior
>> >> when setting interface ip address. In current method, when assigning ip
>> >> address to an interface, the interface is set to UP. I need not allowing
>> >> this change to be done! If an interface is in down state, setting ip
>> >> address doesn't change its sate.
>> >>
>> >> I'm ready to hear your ideas on my question and what's the pros and cons of
>> >> the change I'm going to make.
>> >> _______________________________________________
>> >> freebsd-net at freebsd.org mailing list
>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> >> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>> > _______________________________________________
>> > freebsd-net at freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> > To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2529 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20130616/460f7c3f/attachment.bin>
More information about the freebsd-net
mailing list