From owner-freebsd-net@FreeBSD.ORG Thu Jul 10 14:19:46 2003 Return-Path: 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 E2EFC37B405 for ; Thu, 10 Jul 2003 14:19:46 -0700 (PDT) Received: from ecserv7.uwaterloo.ca (ecserv7.uwaterloo.ca [129.97.50.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0979F43FBF for ; Thu, 10 Jul 2003 14:19:45 -0700 (PDT) (envelope-from kw3wong@engmail.uwaterloo.ca) Received: from ecserv7.uwaterloo.ca (localhost.uwaterloo.ca [127.0.0.1]) h6ALJiWa016325; Thu, 10 Jul 2003 17:19:44 -0400 (EDT) (envelope-from kw3wong@engmail.uwaterloo.ca) Received: (from www@localhost) by ecserv7.uwaterloo.ca (8.12.6p2/8.12.6/Submit) id h6ALJipm016324; Thu, 10 Jul 2003 17:19:44 -0400 (EDT) (envelope-from kw3wong@engmail.uwaterloo.ca) X-Authentication-Warning: ecserv7.uwaterloo.ca: www set sender to kw3wong@engmail.uwaterloo.ca using -f Received: from 129.97.106.24 ( [129.97.106.24])with HTTP; Thu, 10 Jul 2003 17:19:44 -0400 Message-ID: <1057871984.3f0dd8701e4db@www.nexusmail.uwaterloo.ca> Date: Thu, 10 Jul 2003 17:19:44 -0400 From: kw3wong@engmail.uwaterloo.ca To: kw3wong@engmail.uwaterloo.ca References: <1057778632.3f0c6bc8af474@www.nexusmail.uwaterloo.ca> <20030709195455.A24039@xorpc.icir.org> <1057860615.3f0dac07e1418@www.nexusmail.uwaterloo.ca> <20030710113715.A37895@xorpc.icir.org> <1057865744.3f0dc0103f795@www.nexusmail.uwaterloo.ca> In-Reply-To: <1057865744.3f0dc0103f795@www.nexusmail.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 / FreeBSD-4.6.2 X-Originating-IP: 129.97.106.24 cc: Luigi Rizzo cc: dsze@engmail.uwaterloo.ca cc: freebsd-net@freebsd.org Subject: Re: Question about bridging code X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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, 10 Jul 2003 21:19:47 -0000 Hi guys, I finally got it working - apparently, the taps won't work unless I were to ifconfig the tap device with an ip address (I don't think an ip address is actually needed, but the ifconfig probably does some ioctl that is needed to start up the tap device). I'll try to find what exact ioctl call is necessary to jump start it. Thanks for everyone's help, I didn't know there are so many potential solutions out there for this problem. I'm so glad to find out first hand what a friendly and helpful developer community that FreeBSD has! Thanks! Bernie Quoting kw3wong@engmail.uwaterloo.ca: > Hi Luigi, > > > It's just a naming issue, vmnetX is the network-device name of /dev/tapX. > > (the ip-equivalent thing, "tun", has the same name for both the network > > device and the device entry in the filesystem. As a matter of fact the > > latter is totally arbitrary so "tun" perhaps should be called "vmnet"...) > > But when I do a ifconfig, only tapX devices are there, where there is no > vmnetX > devices. And when I set up the bridge with vmnetX, the kernel will complain > that the vmnetX devices do not exist. Do I need to perform a makedev on it > first to create the devices? If so, do they have a special major and minor > number that I should assign it to? > > Bernie > > ---------------------------------------- > This mail sent through www.mywaterloo.ca > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > ---------------------------------------- This mail sent through www.mywaterloo.ca