From owner-freebsd-net@FreeBSD.ORG Sun Jun 16 06:59:55 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7C025410 for ; Sun, 16 Jun 2013 06:59:55 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 17D031CA0 for ; Sun, 16 Jun 2013 06:59:54 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id z11so1549693wgg.22 for ; Sat, 15 Jun 2013 23:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=F9krEPVesZmw1M7H7KYO0zvBN09cFKjDL4GLswPkEmg=; b=0m9chnXoJPhARBFBLCVOGSvYyl3/aIQF2wS9RlTyj0qTTU730j25YA7kVEbqwOZtx1 r7xbkgJPAAJLXMDWCQaHd+Gn4r7UDmiT6KRMOSdAGcMU8ZLfRmM1jxUVPITx9tTxwQnT l+BrmdANkxD9W/QSHCkSFKohYF8gtWTPwn3oXZRLiC4KZIUjN+Sj1tUWjEhIzD4BhwLO 12xSEZAMWYACA1c2GiBI/pUSnbHgDwhyYxtK5IXyOLjiHA5DPYUjfSTp0zvdui865D4B Sb9HtCScT5XhPoTHdSeiMS5kgxQPE4GbLrgjGEnJqyiG8nBDWu3OG2x0ZBNcrauGc9NL TqFg== X-Received: by 10.180.105.231 with SMTP id gp7mr2250184wib.23.1371365994297; Sat, 15 Jun 2013 23:59:54 -0700 (PDT) MIME-Version: 1.0 Sender: s.khanchi@gmail.com Received: by 10.194.22.195 with HTTP; Sat, 15 Jun 2013 23:59:34 -0700 (PDT) From: h bagade Date: Sun, 16 Jun 2013 11:29:34 +0430 X-Google-Sender-Auth: MclvhTDTSend2M0AGt69QfgzOhE Message-ID: Subject: How not allow setting ip changes interface down status? To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 06:59:55 -0000 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.