hey guys, i finally was able to create the network i wanted but when i create a TCP APP there seems to be an error in the IP configurations
*.configurator.config = xml( \
"<config> \
<interface hosts='wirelessHost1 wiredHost2' address='10.0.1.x' netmask='255.255.255.0'/> \
<interface hosts='router' names='eth0' address='10.0.1.x' netmask='255.255.255.0'/> \
<interface hosts='router2' names='wlan0' address='10.0.1.x' netmask='255.255.255.0' />\
<interface hosts='router2' names='wlan1' address='10.0.1.x' netmask='255.255.255.0' />\
<interface hosts='accessPoint' address='10.0.1.x' netmask='255.255.255.0' />\
<interface hosts='acessPoint2' address='10.0.1.x' netmask='255.255.255.0' />\
<wireless id='W1' hosts='wirelessHost1'/>\
<wireless id='W1' hosts='router2' interfaces='wlan0'/>\
<wireless id='W2' hosts='router2' interfaces='wlan1'/>\
<route hosts='wiredHost2' gateway='router>accessPoint' destination='10.0.2.0' netmask='255.255.255.0' /> \
<route hosts='wirelessHost1' gateway='accessPoint2' destination='10.0.2.0' netmask='255.255.255.0' /> \
</config>")