network IP config file

19 views
Skip to first unread message

yousef Albader

unread,
Apr 14, 2018, 4:47:58 AM4/14/18
to OMNeT++ Users
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

can anyone help me? or atleast guide where i can learn this?

below is the config and a screen shot of network

*.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>")


test.PNG
Reply all
Reply to author
Forward
0 new messages