You can download my patches, and re-compile ns-2.33 to enable support for directional antennas and multiple interfaces. Don’t forget to set the
NS_ANTENNA_FILE environment variable.
$NS2 points to the directory where you have the ns-2.33 sources, and that you’re using the ns-allinone-2.33 release, here’s what you have to do:
cd $NS2 patch -p1 < dir-antenna.patch patch -p1 < multi-if.patch ./configure --with-otcl=../otcl-1.13 --with-tclcl=../tclcl-1.19 make export NS_ANTENNA_FILE=$NS2/mobile/antenna.txt