From owner-freebsd-net@FreeBSD.ORG Tue Feb 12 06:43:51 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 41AAC69F for ; Tue, 12 Feb 2013 06:43:51 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id C6B56786 for ; Tue, 12 Feb 2013 06:43:50 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id hi18so3971714wib.15 for ; Mon, 11 Feb 2013 22:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=dp7okq6zR20N9a6Uakpwzhskak7R1czAGBEuU5cHqdM=; b=iJshag0FIXIOAE1P4/ZS2bAjtF0nhrocnwnwu0L7rz5okVe/JfZjIEsEX2d8rNndh/ yH0j5LxI3VFl1bDV2WnJ9kDDEJwQIs3+u9EwLt9eENd7fIjj3cP+aYZ30+jP/oRXnJBk bqkImpYFWBl8T6H3v1t9udtP4SDH0K/KlFtbGRkoxx5LuTfqboZCasdsuYebCyxgpJ4N CQ8qTRSIZbLKLxy1HUUkQsBam0O0tK9lMf7ji4+fz3vawNXUiDxrmpV2VSyicJnlKfeM NULeSB8+KpxrwNJ59rk3zszwOv6BvhVVZwUmwTEmghlWBhPkaaDok/luF6q1e8pjrhud UKOQ== X-Received: by 10.180.92.129 with SMTP id cm1mr919643wib.10.1360651429660; Mon, 11 Feb 2013 22:43:49 -0800 (PST) MIME-Version: 1.0 Sender: s.khanchi@gmail.com Received: by 10.194.23.199 with HTTP; Mon, 11 Feb 2013 22:43:29 -0800 (PST) From: h bagade Date: Tue, 12 Feb 2013 10:13:29 +0330 X-Google-Sender-Auth: 2sg361Pm0xGJ_Si20d53K2AUwlM Message-ID: Subject: how to find out if an IP address is assigned statically or dynamically? 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: Tue, 12 Feb 2013 06:43:51 -0000 Hi all, I want to know if there is a way to find out if an interface address is assigned by dhcp or statically? For example, any distinctive flag or something like that on ifconfig output! or any other way except processing dhclient leases files?