Inet multiradio coexistence

83 views
Skip to first unread message

Giovanna Capurso

unread,
Jun 27, 2018, 7:17:05 AM6/27/18
to omn...@googlegroups.com
I'm really noob with INET and I'm trying to setted up a simple ad-hoc network (AODV routing) where all nodes use 802.11g(mixed) (default setting, 2.4 GHz) on wlan[0]. Only nodeA and nodeB have a double radio with 802.11a (5GHz) on wlan[1].

[...
UDP APP, A send B UDPData
AODV Routing
...]

# number of radios per host A-B
*.host*.numRadios = 2

# number of radios per mhost
*.mhost*.numRadios = 1

# Ieee 802.11g NIC settings for all host
*.radioMediumType1 = "Ieee80211ScalarRadioMedium"
*.*host*.wlan[0].radio.radioMediumModule = "radioMedium"
*.*host*.wlan[0].typename = "Ieee80211Nic"
*.*host*.wlan[0].mgmtType = "Ieee80211MgmtAdhoc"
*.*host*.wlan[0].opMode = "g(mixed)"
*.*host*.wlan[0].radio.bandName = "2.4 GHz"
*.*host*.wlan[0].radio.carrierFrequency = 2.412GHz
*.*host*.wlan[0].bitrate = default

# Ieee 802.11a NIC settings for A-B
*.radioMediumType1 = "Ieee80211ScalarRadioMedium"
*.host*.wlan[1].radio.radioMediumModule = "radioMedium"
*.host*.wlan[1].typename = "Ieee80211Nic"
*.host*.wlan[1].mgmtType = "Ieee80211MgmtAdhoc"
*.host*.wlan[1].opMode = "a"
*.host*.wlan[1].radio.bandName = "5 GHz"
*.host*.wlan[1].radio.carrierFrequency = 5GHz
*.host*.wlan[1].bitrate = 54Mbps

Unfortunately nodeA and nodeB are not able to exchange UDP packet through wlan[1], as I expect. Without using AODV routing and AdHocHost node all works correctly.
WHY? I need you help.
Thanks in advanced.

Alfonso Ariza Quintana

unread,
Jun 27, 2018, 12:51:38 PM6/27/18
to omn...@googlegroups.com

Are you using a routing protocol?

In other case the routing table is incorrect and the node doesn’t know the appropriate interface that it needs to use.

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Giovanna Capurso
Enviado el: miércoles, 27 de junio de 2018 13:17
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] Inet multiradio coexistence

 

I'm really noob with INET and I'm trying to setted up a simple ad-hoc network (AODV routing) where all nodes use 802.11g(mixed) (default setting, 2.4 GHz) on wlan[0]. Only nodeA and nodeB have a double radio with 802.11a (5GHz) on wlan[1].

 

[...

UDP APP, A send B UDPData

AODV Routing

...]

# number of radios per host A-B

*.host*.numRadios = 2

 

# number of radios per mhost

*.mhost*.numRadios = 1

 

# Ieee 802.11g NIC settings for all host

*.radioMediumType1 = "Ieee80211ScalarRadioMedium"

*.*host*.wlan[0].radio.radioMediumModule = "radioMedium"

*.*host*.wlan[0].typename = "Ieee80211Nic"

*.*host*.wlan[0].mgmtType = "Ieee80211MgmtAdhoc"

*.*host*.wlan[0].opMode = "g(mixed)"

*.*host*.wlan[0].radio.bandName = "2.4 GHz"

*.*host*.wlan[0].radio.carrierFrequency = 2.412GHz

*.*host*.wlan[0].bitrate = default

 

# Ieee 802.11a NIC settings for A-B

*.radioMediumType1 = "Ieee80211ScalarRadioMedium"

*.mhost*.wlan[1].radio.radioMediumModule = "radioMedium"

*.mhost*.wlan[1].typename = "Ieee80211Nic"

*.mhost*.wlan[1].mgmtType = "Ieee80211MgmtAdhoc"

*.mhost*.wlan[1].opMode = "a"

*.mhost*.wlan[1].radio.bandName = "5 GHz"

*.mhost*.wlan[1].radio.carrierFrequency = 5GHz

*.mhost*.wlan[1].bitrate = 54Mbps

 

Unfortunately nodeA and nodeB are not able to exchange UDP packet through wlan[1], as I expect. 

WHY? I need you help.

Thanks in advanced.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

Giovanna Capurso

unread,
Jun 27, 2018, 1:17:00 PM6/27/18
to omn...@googlegroups.com
Yes, I used AODV protocol. With wlan(0) all work correct. On wlan(1) something go wrong. At network layer sender host can't find route to destination.

Wlan(1) not working
** Event #50  t=0.012457911608  Net80211custom.mhost[0].networkLayer.ip (IPv4, id=257)  on UDPData-0 (inet::UDPPacket, id=542)

INFO (IPv4)Net80211custom.mhost[0].networkLayer.ip: Received (inet::UDPPacket)UDPData-0 from upper layer.
INFO (AODVRouting)Net80211custom.mhost[0].manetrouting: Net80211custom.mhost[0].manetrouting: Finding route for source <unspec> with destination 10.0.0.5
INFO (AODVRouting)Net80211custom.mhost[0].manetrouting: Net80211custom.mhost[0].manetrouting: Missing route for destination 10.0.0.5
DETAIL (AODVRouting)Net80211custom.mhost[0].manetrouting: Net80211custom.mhost[0].manetrouting: Queuing datagram, source <unspec>, destination 10.0.0.5
INFO (AODVRouting)Net80211custom.mhost[0].manetrouting: Net80211custom.mhost[0].manetrouting: Starting route discovery with originator 10.0.0.4 and destination 10.0.0.5
INFO (AODVRouting)Net80211custom.mhost[0].manetrouting: Net80211custom.mhost[0].manetrouting: Sending a Route Request with target 10.0.0.5 and TTL= 2


wlan(0) working
** Event #1209  t=0.022315250545  Net80211custom.hostA.networkLayer.ip (IPv4, id=87)  on UDPData-0 (inet::UDPPacket, id=2931)

INFO (IPv4)Net80211custom.hostA.networkLayer.ip: Received (inet::UDPPacket)UDPData-0 from upper layer.
INFO (AODVRouting)Net80211custom.hostA.manetrouting: Net80211custom.hostA.manetrouting: Finding route for source <unspec> with destination 10.0.0.2
INFO (AODVRouting)Net80211custom.hostA.manetrouting: Net80211custom.hostA.manetrouting: Active route found: destination = 10.0.0.2, prefixLength = 32, nextHop = 10.0.0.2, metric = 1, interface = wlan0
DETAIL (AODVRouting)Net80211custom.hostA.manetrouting: Net80211custom.hostA.manetrouting: Updating destination = 10.0.0.2, prefixLength = 32, nextHop = 10.0.0.2, metric = 1, interface = wlan0 lifetime to 3.022315250545
DETAIL (AODVRouting)Net80211custom.hostA.manetrouting: Net80211custom.hostA.manetrouting: Updating destination = 10.0.0.2, prefixLength = 32, nextHop = 10.0.0.2, metric = 1, interface = wlan0 lifetime to 3.022315250545
DETAIL (IPv4)Net80211custom.hostA.networkLayer.ip: Sending datagram (inet::IPv4Datagram)UDPData-0 with destination = 10.0.0.2
INFO (IPv4)Net80211custom.hostA.networkLayer.ip: Routing (inet::IPv4Datagram)UDPData-0 with destination = 10.0.0.2, output interface = wlan0, next hop address = 10.0.0.2
INFO (ARP)Net80211custom.hostA.networkLayer.arp: Net80211custom.hostA.networkLayer.arp: Starting ARP resolution for 10.0.0.2
INFO (ARP)Net80211custom.hostA.networkLayer.arp: Net80211custom.hostA.networkLayer.arp: Sending (inet::ARPPacket)arpREQ to network protocol.
INFO (IPv4)Net80211custom.hostA.networkLayer.ip: Pending (inet::IPv4Datagram)UDPData-0 to ARP resolution.

Thanks for your attention.

Giovanna Capurso

unread,
Jun 29, 2018, 3:54:33 PM6/29/18
to OMNeT++ Users
Some suggestion? I'm a PhD student and I need to complete this work for a paper. I will be extremely grateful if someone can help me.

Alfonso Ariza Quintana

unread,
Jul 2, 2018, 3:45:54 AM7/2/18
to omn...@googlegroups.com

You should check the protocol configuration, they usually has a parameter that sets the interfaces that the protocol must use to discover the routes, it is possible that the default configuration only sets one interface, in this case the protocol only discover the nodes using this interface only

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Giovanna Capurso


Enviado el: viernes, 29 de junio de 2018 21:55
Para: OMNeT++ Users <omn...@googlegroups.com>

--

Reply all
Reply to author
Forward
0 new messages