From owner-freebsd-current@FreeBSD.ORG Sun May 28 18:33:42 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8ED616A441 for ; Sun, 28 May 2006 18:33:42 +0000 (UTC) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (afrodita.rcub.bg.ac.yu [147.91.1.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC21A43D55 for ; Sun, 28 May 2006 18:33:40 +0000 (GMT) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (localhost.localdomain [127.0.0.1]) by afrodita.rcub.bg.ac.yu (8.13.6/8.13.4) with ESMTP id k4SIXX0C010229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 28 May 2006 20:33:33 +0200 Received: from localhost (ggajic@localhost) by afrodita.rcub.bg.ac.yu (8.13.6/8.13.6/Submit) with ESMTP id k4SIXWFs010226 for ; Sun, 28 May 2006 20:33:33 +0200 Date: Sun, 28 May 2006 20:33:32 +0200 (CEST) From: Goran Gajic To: freebsd-current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-RCUB-MailScanner-Information: Please contact the RCUB if you have problem with mail X-RCUB-MailScanner: Found to be clean X-RCUB-MailScanner-From: ggajic@afrodita.rcub.bg.ac.yu X-Mailman-Approved-At: Mon, 29 May 2006 20:24:08 +0000 Subject: question regarding tap/tun devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 18:33:43 -0000 Hi, I'm running 7.0-CURRENT build Thu May 25 23:17:10 CEST 2006 GENERIC config. While playing with dynamips emulator which uses tap I've noticed that ifconifg tun0 create or ifconfig tap0 create doesn't work (this doesn't have anything to do with emulator which works great). fbsd# ifconfig tap0 create ifconfig: SIOCIFCREATE: Invalid argument However, doing: fbsd# stat /dev/tap0 83951360 128 crw------- 1 root wheel 128 0 "May 28 18:41:03 2006" "May 28 18:41:03 2006" "May 28 18:41:03 2006" "Jan 1 00:59:59 1970" 4096 0 0 /dev/tap0 fbsd# ifconfig tap0 ifconfig: interface tap0 does not exist fbsd# cat /dev/tap0 ^C fbsd# ifconfig tap0 tap0: flags=8842 mtu 1500 ether 00:bd:79:64:40:00 Is this normal or am I missing something? Regards, gg.