Good morning,
Am just getting to grips with FreeBSD again after many years in Windows-land, and am trying to create a virtual server with multiple NICs so as to use ipfw/dummynet to simulate WAN connections for software testing.
My box is built, but the following commands don't seem to execute properly in rc.conf:
em0 is management interface, em1 and em2 the bridge interfaces.
bridge0 is created, but the interfaces are not added to it, and the ipfw file is not loaded - all advice much appreciated!
Apologies if I've made a silly mistake!
Thanks,
Martyn.
Am just getting to grips with FreeBSD again after many years in Windows-land, and am trying to create a virtual server with multiple NICs so as to use ipfw/dummynet to simulate WAN connections for software testing.
My box is built, but the following commands don't seem to execute properly in rc.conf:
em0 is management interface, em1 and em2 the bridge interfaces.
Code:
hostname="SPDemo-NetSimulator"
keymap="uk.iso.kbd"
ifconfig_em0="DHCP"
cloned_interfaces="bridge0"
ifconfig_bridge0="addm em1 addm em2 up"
ifconfig_em1="up"
ifconfig_em2="up"
sshd_enable="YES"
ntpd_enable="YES"
firewall_enable="YES"
firewall_type="/etc/fw.conf"
dummynet_enable="YES"
bridge0 is created, but the interfaces are not added to it, and the ipfw file is not loaded - all advice much appreciated!
Apologies if I've made a silly mistake!
Thanks,
Martyn.