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-unsubscr...@freebsd.org"
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"