From owner-freebsd-net@FreeBSD.ORG Sat Jan 14 19:57:41 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09E0116A41F for ; Sat, 14 Jan 2006 19:57:41 +0000 (GMT) (envelope-from leimy2k@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95BAC43D46 for ; Sat, 14 Jan 2006 19:57:40 +0000 (GMT) (envelope-from leimy2k@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so857236nzo for ; Sat, 14 Jan 2006 11:57:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Q+c3sBlyQLvW/xKoearlav2Dy5WY4sHqrMUf4OaUSu0OzeOvDGmkEOG3L7lI7sLX1dO749YKy7LGVMguXsYmm0P2lVqbBssS9juXv9NLFJ0ZhVE3SCrX/Vwv5NNCK5LQXKqfay7uvyml559kH9ojaS2pzXktaE+qsZ5YnQUjm3k= Received: by 10.36.43.12 with SMTP id q12mr3499108nzq; Sat, 14 Jan 2006 11:57:40 -0800 (PST) Received: by 10.36.46.3 with HTTP; Sat, 14 Jan 2006 11:57:40 -0800 (PST) Message-ID: <3e1162e60601141157k2d89204eg379d39edeb13af0b@mail.gmail.com> Date: Sat, 14 Jan 2006 11:57:40 -0800 From: David Leimbach To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: tap interfaces on FreeBSD 6.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 19:57:41 -0000 On a newly installed FBSD 6.0 system I did the following to try to create a tap0 interface. opty1# cat /dev/null > /dev/tap0 /dev/tap0: Operation not supported I repeated the above about 5 times just to see if it changed, got the same result. Then opty1# ifconfig tap0 create ifconfig: SIOCIFCREATE: Invalid argument then I did another: opty1# cat /dev/null > /dev/tap0 and got tap0: Ethernet address: 00:bd:bb:d2:16:00 and now I have tap0. What's the correct way to create this thing the first time on devfs? It seems like setting this up might be tricky for a qemu configuration script. I had been using the "vde" port to set up qemu in the past but now the qemu port has a new version that doesn't support the syntax of the older "vde" port, and I'm not up to moving vde to the latest version for FreeBSD by myself [it's chock full of linuxism which is probbaly fine since it's from UML I think] Any advice? I'd like to expose qemu machines on my local network for ssh access into them. Dave