From owner-freebsd-net@FreeBSD.ORG Thu Dec 4 05:56:25 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6CAF9BD6 for ; Thu, 4 Dec 2014 05:56:25 +0000 (UTC) Received: from forward1m.mail.yandex.net (forward1m.mail.yandex.net [IPv6:2a02:6b8:0:2519::3:10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DD19C39 for ; Thu, 4 Dec 2014 05:56:25 +0000 (UTC) Received: from web4m.yandex.ru (web4m.yandex.ru [37.140.138.95]) by forward1m.mail.yandex.net (Yandex) with ESMTP id E7392122246A; Thu, 4 Dec 2014 08:56:21 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web4m.yandex.ru (Yandex) with ESMTP id 466A131617B4; Thu, 4 Dec 2014 08:56:21 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1417672581; bh=pf5OgE10DRpFkeSiNxj7vdtsi/DuI+N3pBCZedLGHy0=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=QGD26ARWJEk4trhcgTxWSswPuyd2nAW5vYVVW+Vg6wcaWA2xJUHRqa1TY2VpR5iMK en8wI7Xkmv/+jweKL7xa76uEyy6FSK34GktT/mkDW67R5YBZt2KzZO3TaiLVLa507S /0c5ytFK78/LFsCM9qOjcrlNEGsZYqlTk5BlqLLk= Received: from 108.61.122.70.choopa.net (108.61.122.70.choopa.net [108.61.122.70]) by web4m.yandex.ru with HTTP; Thu, 04 Dec 2014 08:56:21 +0300 From: Martin Hanson To: Warren Block In-Reply-To: References: <1511041417624247@web23g.yandex.ru> <212351417642134@web20h.yandex.ru> <2659291417665100@web17m.yandex.ru> Subject: Re: NICs devices switches "pshycial" place on each boot MIME-Version: 1.0 Message-Id: <1915491417672581@web4m.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 04 Dec 2014 06:56:21 +0100 Content-Transfer-Encoding: 7bit Content-Type: text/plain Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2014 05:56:25 -0000 I am actually one step closer. With the following I can get the device-name "axge0", but I don't know how to create a usable NIC interface name for that. attach 1000 { device-name "axge[0-9]+"; match "vendor" "0x0b95"; match "product" "0x1790"; match "sernum" "0000249B0DE00C"; action "logger DEVICE NAME IS: $device-name"; }; Dec 4 06:41:39 gateway1 devd: Executing 'logger DEVICE NAME IS: axge0' Dec 4 06:41:39 gateway1 martin: DEVICE NAME IS: axge0 What action would I then take to create a usable device for ifconfig? Doing this doesn't work: # ifconfig axge0 name lan1 inet 192.168.1.1 netmask 255.255.255.0 ifconfig: interface axge0 does not exist What can I do from here? Kind regards.