Jaroslav Meduna | 2 May 2011 09:41
Picon

uIP/Rime

Hello,

Could you help me with configure uIP/Rime to have the uIP stack with IPv4 (at the Ethernet side – for old application) and Rime with IPv6 for RPL (running icmp6). My idea is to have MODBUS TCP server to receive data from SCADA over ethernet and send packet by application to RIME over radio network. I don’t need for this setup IPv6, but i’m affraid, that RPL need it at all.

Thank you in advance

Jaroslav

 

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Nicolas Tsiftes | 3 May 2011 18:10
Picon
Picon

Re: uIP/Rime

Jaroslav Meduna wrote 2011-05-02 09:41:

Hello,

Could you help me with configure uIP/Rime to have the uIP stack with IPv4 (at the Ethernet side – for old application) and Rime with IPv6 for RPL (running icmp6). My idea is to have MODBUS TCP server to receive data from SCADA over ethernet and send packet by application to RIME over radio network. I don’t need for this setup IPv6, but i’m affraid, that RPL need it at all.

Thank you in advance

Jaroslav



Hello,

You need to choose between IPv4 and IPv6 for the radio network. It is unclear why want Rime and RPL to be included in your setup, whatever it may be.

If your server processes each MODBUS TCP packet, you can just put the application data in an IPv6 packet there before sending it to a host in the radio network. If the server's IP layer should forward the packets directly, it is probably easiest to just run IPv4 in the radio network as well. For routing, the IPv4 version of uIP can use AODV instead of RPL.

Nicolas
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Jaroslav Meduna | 5 May 2011 08:38
Picon

Re: uIP/Rime

From: Nicolas Tsiftes [mailto:nvt-02ecni/8Nmo@public.gmane.org]
Sent: Tuesday, May 03, 2011 6:10 PM
To: Contiki developer mailing list
Subject: Re: [Contiki-developers] uIP/Rime

 

Jaroslav Meduna wrote 2011-05-02 09:41:

Hello,

Could you help me with configure uIP/Rime to have the uIP stack with IPv4 (at the Ethernet side – for old application) and Rime with IPv6 for RPL (running icmp6). My idea is to have MODBUS TCP server to receive data from SCADA over ethernet and send packet by application to RIME over radio network. I don’t need for this setup IPv6, but i’m affraid, that RPL need it at all.

Thank you in advance

Jaroslav

 


Hello,

You need to choose between IPv4 and IPv6 for the radio network. It is unclear why want Rime and RPL to be included in your setup, whatever it may be.

If your server processes each MODBUS TCP packet, you can just put the application data in an IPv6 packet there before sending it to a host in the radio network. If the server's IP layer should forward the packets directly, it is probably easiest to just run IPv4 in the radio network as well. For routing, the IPv4 version of uIP can use AODV instead of RPL.

Nicolas

 

Hello,

Thanks for answer. There don‘t have to a Rime stack, but (at the present) I could not imagine how to setup UIP twice. In first case for ethernet side  with is IPv4 (MODBUS TCP). And for second case for radio channel, where is RPL with IPv6. IP packets ends at the application (MODBUS server), radio packets are created also in application. I preffer RPL routing (if it is possible). This application is within building automation, where must be expected high number of „close nodes“. With AODV I would be afraid high rate of routing packet (so many alternative routes with its changeability over the time).

Jaroslav

 

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Nicolas Tsiftes | 6 May 2011 14:49
Picon
Picon

Re: uIP/Rime

Jaroslav Meduna wrote 2011-05-05 08:38:

Hello,

Thanks for answer. There don‘t have to a Rime stack, but (at the present) I could not imagine how to setup UIP twice. In first case for ethernet side  with is IPv4 (MODBUS TCP). And for second case for radio channel, where is RPL with IPv6. IP packets ends at the application (MODBUS server), radio packets are created also in application. I preffer RPL routing (if it is possible). This application is within building automation, where must be expected high number of „close nodes“. With AODV I would be afraid high rate of routing packet (so many alternative routes with its changeability over the time).

Jaroslav



If you need RPL, you'll have to run IPv6 on all Contiki interfaces. The current networking architecture does not make it easy to run different network layer protocols on different interfaces. Even if you would succeed with such a hack, you would have to move the translation between IPv4 and IPv6 to the Contiki side. Instead, it is much easier you just send IPv6 packets to the radio network from your application.

Nicolas
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers

Gmane