Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Feb 2011 00:20:02 -0800
From:      Julian Elischer <julian@freebsd.org>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Net <net@freebsd.org>
Subject:   Re: taps in rc.config
Message-ID:  <4D47C232.2090903@freebsd.org>
In-Reply-To: <m28vy019oz.wl%randy@psg.com>
References:  <m2d3nc1b8h.wl%randy@psg.com>	<4D47B924.5070403@freebsd.org> <m28vy019oz.wl%randy@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/31/11 11:43 PM, Randy Bush wrote:
>> 1/ wow does that (dynamips ciscos) actually run on BSD?
> yep
>
>> 2/ "why?"
> so we can have a routing research topology testbed of real cisco and
> real juniper code.
>
>> 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.
> thanks.  and what binds them to a particular ether so they respond to
> arp?

does the dynamips thingy know how to read the /dev side of a tap device?
if so then I think you can use the bridging facilities,
you should be able to use teh autobridge config settings..
look in /etc/defaults/rc.conf for an example..
it shows tap/if examples..
man rc.conf
for more details..
remember don't change that file... put your changes in /etc/rc.conf
> randy
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D47C232.2090903>