taps in rc.config

Julian Elischer julian at freebsd.org
Tue Feb 1 08:20:01 UTC 2011


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
>



More information about the freebsd-net mailing list