From owner-freebsd-net@FreeBSD.ORG Tue Feb 1 07:56:26 2011 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E0C8106566C for ; Tue, 1 Feb 2011 07:56:26 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id C7B718FC08 for ; Tue, 1 Feb 2011 07:56:25 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p117fLYM046309 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 31 Jan 2011 23:41:32 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <4D47B924.5070403@freebsd.org> Date: Mon, 31 Jan 2011 23:41:24 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Randy Bush References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Net Subject: Re: taps in rc.config 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: Tue, 01 Feb 2011 07:56:26 -0000 On 1/31/11 11:10 PM, Randy Bush wrote: > i want to run a whole bunch of dynamips virtualized ciscos inside a fbsd > 8.x server. i want the virtual routers to have some interfaces which > are externally visible. > > so i think i do something like > > ifconfig tap0 147.28.224.41/30 > ifconfig tap1 147.28.224.45/30 > ifconfig tap2 147.28.224.49/30 > ifconfig tap3 147.28.224.53/30 > ifconfig tap4 147.28.224.57/30 > ifconfig tap5 147.28.224.61/30 > ifconfig tap6 147.28.224.65/30 > ifconfig tap7 147.28.224.69/30 > ifconfig tap8 147.28.224.73/30 > ifconfig tap9 147.28.224.77/30 > > and then bridge them on to the external ether. but i am a bit > confuddled. can someone tell me how to do from command line, and then > also how to code in /etc/rc.conf? 1/ wow does that (dynamips ciscos) actually run on BSD? 2/ "why?" first you need to create them right? ifconfig tap0 create 192.168.3.1/28 up I think you do: in rc.conf: cloned_interfaces="tap0 tap1 tap2 tap3" ifconfig_tap0=192.168.3.1/28 ifconfig_tap1=192.168.4.1/28 ifconfig_tap2=192.168.5.1/28 ifconfig_tap3=192.168.6.1/28 but I may not be remembering right. if you just need the functionality and not specifically the ciscos, use vimage based routers. > thanks. > > randy > clueless in tokyo > _______________________________________________ > 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" >