IPv6 Adaptation of EtherNet/IP
Evolution not Revolution
Technical Trackwww.odva.org

Drivers for Migration
IPv4 Address Pool Depleted

IANA issued last 5 blocks to the 5 RIRs
on 3 February 201115 April 2011, AP runs out
14 Sept 2012, Europe runs out

US Government
Mandates IPv6 2


USGv6-1.0 IPv6 Profiles
No EtherNet/IP Device is“USGv6-1.0-Capable”

China National Development and Reform
Commission to invest RMB 8bn ($1.3bn) in IPv6
adoption over 5 years
Technical Track© 2012 ODVA, Inc.

Sounds Like Y2k?

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 2www.odva.org

Extending the Life of IPv4
PUBLIC IPv4 Addresses depletedEnterprise uses private IP addresses

Network Address Translation

192.168.1.x<>10.10.y.y<>Internet
IPv6 Internet available to IPv4 Clients

IPv4 & IPv6 Internet
Coexistence
IPv4 & IPv6 IntranetCoexistence
IPv6 Migration will be slow and smoothTechnical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 3www.odva.org

IPv6 Primer
The obvious: bigger IP addresses

128 bit (IPv6) vs 32 bit (IPv4)
Global Unicast Address format:
48 bits (or more)

16 (orfewer)

64 bits

routing prefix

subnet id

interface identifier

Link local address format:
10 bits

54 bits

64 bits

prefix0interface identifier

Every node has a link local address assigned via Stateless Address
Autoconfiguration

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 4www.odva.org

IPv6 Primer
Simplified IP header
OctetBit 0 100

Version4

32

Payload Length

864

1296

16 1282345

6Traffic Class

78

910

1
1

121314151617181920212223242526272829Flow Label
Next Header

Hop LimitSource Address

20 16024 19228 224

Destination Address

32 25636 288

Note: TCP and UDP remain the same
Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 5www.odva.org

3031

IPv6 Primer
Other new behaviors and features

Neighbor Discovery protocol (enhance andreplace ARP)
New multicast address architecture; Multicast
Listener Discovery (MLD) instead of IGMP
Duplicate Address Detection (DAD) vs. IPv4 ACD(which is optional)
DHCPv6

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 6www.odva.org

IPv6 Architectures
Holistic IPv6 and Hybrid IPv4/6


Forward and backward
compatibility needed• User support• Business caseDual stack critical• Controller• Device

Abstract CIP from IP
through TCP/UDP

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 7www.odva.org

Changes required to EtherNet/IPSpecIs it bigger than a breadbox?
General requirements forIPv6 nodes
ListIdentity & networkbrowsing
ForwardOpen request /response
Usage of multicast
TCP/IP Interface Object
DLR protocol and object






CIP Safety on EtherNet/IP(UNID)QoS Object (minor)
IPv6 Duplicate Address
Detection
Dual stack requirements
IPv6 address selection andusage

Yes, but it’s smaller than CIP Motion
Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 8www.odva.org

Porting an Application from IPv4
to IPv6
Independent of CIP Stack –how to migrate TCP/IPstack

Select dual stack
Develop hybrid application

Hybrid User App.

• IP protocol selection

Universal Socket

Handle multiple unicast IPv6addresses• IPv6 address selectionHybrid EIP Stack

TCP/UDPIPv4

IPv6
Ethernet

Broadcast to link-local all-nodemulticast

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 9www.odva.org

Porting an Application from IPv4
to IPv6
Independent of CIP Stack – how tomigrate TCP/IP stackAddress related interfaces changed• IP address• Socket data structure• Address conversion function• Address resolution function• Multicast interfaces



Socket functions for TCP/UDP data flow control
not changed• Socket creation, TCP/UDP receiving and sending

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 10www.odva.org

TCP/IP Interface Object
Problem:

Current object supports IPv4 address config only
Need config method allowing for multiple IPv6addresses
Opportunity to “clean up” the current object

Proposed Solution:
Define new object supporting IPv4 & IPv6
Eventually deprecate current object
Ongoing discussion on design of new object

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 11www.odva.org

List Identity CommandProblem:Currently sent to IPv4 broadcast addr. No
broadcast in IPv6Response contains embedded IPv4 address
Needs to account for multiple IPv6 addresses

Proposed Solution:
For IPv6 send to link-local all-nodes multicast
Define rules for responding when multipleaddresses in use
Structure of the ListIdentity response still TBD

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 12www.odva.org

Forward Open/CloseProblem:IPv4 multicast address embedded in OriginatorTarget ForwardOpen exchange
Needs to allow for IPv6 as well as IPv4

Proposed Solution:Allow Sockaddr Info item to include IPv6 address.
Sin_Family indicates IPv4 or IPv6
Backwards compatible with current IPv4
implementations

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 13www.odva.org

CIP Adaptation of IPv6A slim volume….
Minimimise impact on users and vendors
Make it as simple as possible tounderstandEnsure that no action impacts:IPv4 Devices
Ability of an IPv4 host to communicate with ahybrid device

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 14www.odva.org

Demonstration
Video using Camtasia or similar tool toshow:





Single Stack IPv6 Devices Interacting
Wireshark traces
Dual stack originator simultaneously interactingwith IPv4 and IPv6 devices
Wireshark traces
Communication with a ControlLogix controller
using IPv6

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 15www.odva.org

Demonstration
Video using Camtasia or similar tool toshow:





Network browsing
UCMM (SW tool to Scanner)
Class 3 (SW tool to adapter)
Class 1 (Scanner to adapter)
Demo and Wireshark traces
IPv4 and IPv6

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 16www.odva.org

The ODVA Roadmap
Goal: Position EtherNet/IP as “IPv6Ready”
Ongoing prototyping / interoperability demo
• Continue current work. Demo at Implementor Workshopor Plug Fest

EtherNet/IP System Architecture SIG develops
specification content• Work has started. Currently working on major technicalitems and evaluating options and alternatives• After initial work, begin creating specification content• Completion Target: Late Spring 2014

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 17www.odva.org

The ODVA Roadmap
Goal: Position EtherNet/IP as “IPv6Ready”
Approval by TRB; publication in Volume 2• Target: Late 2014

Development of Conformance Tests• Test with initial prototype implementation based on specWhite paper to assist end users in IPv6 adoption• ????

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 18
www.odva.org

Questions

Technical Track© 2012 ODVA, Inc.

2012 ODVA Industry Conference & 15th Annual Meeting
All rights reserved.

page 19
www.odva.org