The present invention relates to the transparent negotiation of Ethernet settings between a pair of end devices connected to each other via an intermediate device, where the intermediate device does not participate in the negotiation phase between the two end devices, but inherits the Ethernet settings negotiated by the two end devices and initializes its Ethernet ports according to the results of the negotiation between the two end devices.
When inserting a new device in a network, particularly when the new device is inserted between a pair of devices that would otherwise be directly connected together over Ethernet, there is a risk that the new device may impact the results of a negotiation of the Ethernet settings between the original pair of devices.
For instance, a disparity in the negotiation of the settings could occur when only one device is up when the intermediate device is started. This could result in the negotiation of a half-duplex Ethernet connection on one port of the intermediate device while the other port of the intermediate device negotiates a full-duplex Ethernet connection with the other remote device.
Another problem to handle is when there is only a single device connected to the intermediate device at a given time. Under such a scenario, the device connected to the intermediate device shall be able to operate at the highest possible speed supported by that said device and not have to wait for a second device to be connected to the intermediate device before it can negotiate the settings of the Ethernet connection.
In a typical 1000BaseT Ethernet protocol stack, the Physical Coding Sub-layer (PCS —see
There is a need to allow the ability to inspect and operate on Ethernet frames received over any of the ports of an intermediate device once the auto-negotiation phase is completed.
In accordance with one embodiment, a system for negotiating Ethernet link settings between interconnected nodes in a network, the interconnected nodes having an Ethernet protocol stack that includes a PCS sub-layer with an auto-negotiation function comprises intermediate device coupled between two network nodes via optical or copper interfaces, with the link settings between each node and the connected intermediate device being the same, thereby bypassing the auto-negotiation function of the PCS sub-layer inside the intermediate device. The intermediate device may transparently send negotiation messages from each node to the other during the link negotiation phase without interacting with those messages.
In one implementation, a pair of network devices are attached to the intermediate device, and the intermediate device includes at least two physical ports and a management module that sets the two physical ports to Ethernet settings negotiated between the pair of network devices. Normal Ethernet functioning may be resumed after the negotiating of the link settings is complete.
This method allows the negotiation of the Ethernet settings between a pair of devices attached to the intermediate device to take place without the intermediate device taking part in the auto-negotiation phase between the pair of devices attached to the Ethernet ports of the intermediate device. This is achieved by bypassing (or modifying) the auto-negotiation sub-module in the PCS sub-layer where the configuration codes received on one of the Ethernet port of the intermediate device are directly sent to the PCS sub-layer transmit function on the other port of the intermediate device, bypassing the auto-negotiation sub-module defined by the IEEE 802.3-2008 standard for these Ethernet ports.
An additional management module is needed to monitor the negotiation exchange between the pair of devices attached to the intermediate device in order to set the two physical Ethernet ports of the intermediate device to the Ethernet settings negotiated between the pair of devices attached to the intermediate device. This is important since the intermediate device may have to process Ethernet frames exchanged between the pair of devices to perform Service OAM and other functions and the Ethernet settings of the two ports in the intermediate device need to exactly match the Ethernet configuration negotiated between the pair of devices connected to the intermediate device.
When there is only one device attached to the intermediate device, the negotiation shall proceed as per the IEEE 802.3-2008 standard as if the attached device was to negotiate with itself.
Finally, all other Ethernet frames need to flow through the MAC sub-layer of the individual Ethernet ports of the intermediate device (in receive and/or transmit mode).
In a modified embodiment, a method of negotiating Ethernet link settings between interconnected nodes in a network comprises connecting a single form pluggable (SFP) device between two network nodes via optical or copper interfaces on the network side and via an SFP slot on the device side, and negotiating the link settings identically between each node and the connected SFP device. The SFP device may transparently send negotiation messages from each node to the other during the link negotiation phase without interacting with those messages.
In one implementation, the SFP device includes two physical ports, and which includes a pair of network devices attached to said SFP device, and a management module that sets the two physical ports to Ethernet settings negotiated between the pair of network devices. Here again, normal Ethernet functioning may be resumed after a link negotiation sequence is complete
The invention may best be understood by reference to the following description taken in conjunction with the accompanying drawings.
Although the invention will be described in connection with certain preferred embodiments, it will be understood that the invention is not limited to those particular embodiments. On the contrary, the invention is intended to cover all alternatives, modifications, and equivalent arrangements as may be included within the spirit and scope of the invention as defined by the appended claims.
The invention is aimed at allowing an intermediate device to facilitate the interconnection and the automatic negotiation of the Ethernet settings (e.g speed, half or full duplex, master or slave for clock or other parameters) between a pair of devices as if these devices were directly interconnected by a standard Ethernet cable. By inserting an intermediate device between the pair of devices, it is possible to offer Service OAM and other functions without disrupting the operation of the pair of devices. This transparent mode of operation of the intermediate device includes enabling a totally transparent negotiation of the Ethernet settings for each connection as if they were a simple Ethernet cable directly connecting the pair of devices.
An example of this can be seen in
The negotiation techniques described below apply to both of these embodiments and any alternative embodiment using an intermediate device known to someone skilled in the art unless explicitly stated otherwise.
The IEEE 802.3-2008 standard defines the operation of the Ethernet protocol stack at various operating speeds, including Gigabit Ethernet (also referred to as 1000BaseT Ethernet).
The Ethernet Data Link protocol layer is made up of several protocol sub-layers. As seen in
The negotiation of the Ethernet settings between a pair of devices attached to an intermediate device can take place without involving the auto-negotiation function usually performed at the PCS sub-layer in the Ethernet protocol stack for each port of the intermediate device connected to the pair of external devices 110 and 120 in
Upon detecting that the auto-negotiation phase is completed, the management module 710 programs the switch 709 and the switch 729 in DATA mode to stop forwarding the /C/ and /I/ ordered sets to the PCS Transmit function (708 and 728) of the other Ethernet port (700, 720). Switch 709 will be programmed to send all /R/, /S/, /T/ and /V/ ordered sets to the MAC Sub-layer 705, and the Switch 729 will be programmed to send all /R/, /S/, /T/ and /V/ordered sets to the MAC Sub-layer 725. Both switch 709 and switch 729 will continue to forward all /I/ and /C/ ordered sets to the Management module 710 to detect whether one of the devices attached to port 700 or port 720 needs to re-enter in the auto-negotiation phase. When the Management module 710 detects that a new auto-negotiation phase needs to take place, it will program switch 709 and switch 729 to operate in the CONFIGURATION mode.
Once the auto-negotiation phase is completed, the Management Module 710 needs to set the parameters of the Ethernet ports of the intermediate device. Particular attention is needed when an Ethernet port of the intermediate device operates over copper. If the remote device attached to such an Ethernet port is assigned the role of Master (for the clocking), then the corresponding Ethernet port of the intermediate device shall be configured in Slave mode. Otherwise, if the remote device is assigned the role of Slave, then the corresponding Ethernet port of the intermediate device shall be configured in Master mode. If the pair of Ethernet ports (700, 720) of the intermediate device both operate over copper, one Ethernet port (in the pair of ports) will be configured as a Master, and the other Ethernet port (in the same pair of ports) will be configured as a Slave. The Management module 710 also needs to make sure both Ethernet ports (700, 720) are set to the negotiated duplex settings: Full or Half.
If the Ethernet ports of the intermediate device are made up of an optical Ethernet port and of a copper Ethernet port, the Management Module 710 will need to intercept all of the /C/ ordered sets to make sure that the Master/Slave mode and the Duplex settings negotiation only take place on the Ethernet over copper port. This can be achieved by programming the Switches 709 and 729 to pass all of the /C/ ordered sets to the Management module 710 instead of simply relaying the /C/ to the PCS transmit function 708 or 728 of the other Ethernet port.
When there is only one device attached to the intermediate device, the negotiation shall proceed as per the IEEE 802.3-2008 standard as if the attached device was to negotiate with itself. Looking again at
The replacement of the Auto-negotiation function of the PCS sub-layer in
In an alternate embodiment shown in
Once the auto-negotiation phase is completed, the Management Module 810 needs to set the parameters of the Ethernet ports (800, 820) of the intermediate device as per
If the Ethernet ports of the intermediate device are made up of an optical Ethernet port and of a copper Ethernet port, the Management Module 810 will need to intercept all of the /C/ ordered sets to make sure that the Master/Slave mode and the Duplex settings negotiation only take place on the Ethernet over copper port. This can be achieved by programming the Switches 809 and 829 to pass all of the /C/ ordered sets to the Management module 810 instead of simply relaying the /C/ to the PCS transmit function 808 or 828 of the other Ethernet port.
In an alternate embodiment shown in
Once the auto-negotiation phase is completed, the Management Module 910 needs to set the parameters of the Ethernet ports (900, 920) of the intermediate device as per
In a final alternate embodiment shown in
Once the auto-negotiation phase is completed, the Management Module 1010 needs to set the parameters of the Ethernet ports (1000, 1020) of the intermediate device as per
The embodiments described above can be implemented inside a single FPGA device. Alternatively, they may be implemented between a plurality of FPGA devices and/or a general purpose CPU. It should be noted that the general purpose CPU may alternatively be implemented inside an FPGA device (for instance, a NIOS module in an ALTERA FPGA).
While particular embodiments and applications of the present invention have been illustrated and described, it is to be understood that the invention is not limited to the precise construction and compositions disclosed herein and that various modifications, changes, and variations may be apparent from the foregoing descriptions without departing from the spirit and scope of the invention as defined in the appended claims.
This application is a continuation of U.S. patent application Ser. No. 14/698,407, filed Apr. 28, 2015, now allowed, which is a continuation of and claims priority to U.S. patent application Ser. No. 13/608,476, filed Sep. 10, 2012, now abandoned, each of which is hereby incorporated by reference herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
6166688 | Cromer | Dec 2000 | A |
6367037 | Remer | Apr 2002 | B1 |
6865602 | Nijemcevic | Mar 2005 | B1 |
6987743 | Chen | Jan 2006 | B2 |
7039688 | Matsuda | May 2006 | B2 |
7225243 | Wilson | May 2007 | B1 |
7242693 | Acharya | Jul 2007 | B1 |
7317926 | Cloutier | Jan 2008 | B1 |
7570657 | Lo | Aug 2009 | B1 |
7778162 | Yu | Aug 2010 | B2 |
7787455 | Cherchall | Aug 2010 | B2 |
7912075 | Holland | Mar 2011 | B1 |
8023465 | Prehofer | Sep 2011 | B2 |
8098671 | Deruijter | Jan 2012 | B1 |
8233437 | Tazaki | Jul 2012 | B2 |
8509072 | Lee | Aug 2013 | B2 |
8571029 | Aggarwal | Oct 2013 | B1 |
20020077117 | Cloutier | Jun 2002 | A1 |
20020112004 | Reid | Aug 2002 | A1 |
20030053421 | Yoshimura | Mar 2003 | A1 |
20030056008 | Russell | Mar 2003 | A1 |
20030225864 | Gardiner | Dec 2003 | A1 |
20030229809 | Wexler | Dec 2003 | A1 |
20040247313 | Tanaka | Dec 2004 | A1 |
20040249906 | Olbricht | Dec 2004 | A1 |
20050198260 | Shahdadpuri | Sep 2005 | A1 |
20050281256 | Taipale | Dec 2005 | A1 |
20060274671 | Budampati | Dec 2006 | A1 |
20070019598 | Prehofer | Jan 2007 | A1 |
20070153091 | Watlington | Jul 2007 | A1 |
20080077425 | Johnson | Mar 2008 | A1 |
20080140815 | Brant | Jun 2008 | A1 |
20080153477 | Cloutier | Jun 2008 | A1 |
20090085806 | Piersol | Apr 2009 | A1 |
20090251867 | Sharma | Oct 2009 | A1 |
20100054154 | Lambert | Mar 2010 | A1 |
20100080248 | Aweya | Apr 2010 | A1 |
20100274917 | Cherchali | Oct 2010 | A1 |
20100280858 | Bugenhagen | Nov 2010 | A1 |
20110154072 | Ho | Jun 2011 | A1 |
20110249408 | Lavoie | Oct 2011 | A1 |
20110283140 | Stevens | Nov 2011 | A1 |
20110305150 | Haver | Dec 2011 | A1 |
20120014383 | Geromel | Jan 2012 | A1 |
20120102239 | Huang | Apr 2012 | A1 |
20120105877 | Wakamatsu | May 2012 | A1 |
20120230186 | Lee | Sep 2012 | A1 |
20120257558 | Shin | Oct 2012 | A1 |
20120320751 | Zhu | Dec 2012 | A1 |
20120327768 | Sarwar | Dec 2012 | A1 |
20130077968 | Yang | Mar 2013 | A1 |
20130346591 | Carroll | Dec 2013 | A1 |
20140022936 | Robitaille | Jan 2014 | A1 |
20140024255 | Robitaille | Jan 2014 | A1 |
20140025790 | Robitaille | Jan 2014 | A1 |
20140071855 | Robitaille | Mar 2014 | A1 |
Number | Date | Country |
---|---|---|
103685452 | Mar 2014 | CN |
2421200 | Feb 2012 | EP |
20090004239 | Jan 2009 | KR |
WO 2010097514 | Sep 2010 | WO |
WO 2011054006 | May 2011 | WO |
WO 2014013317 | Jan 2014 | WO |
WO 2014013318 | Jan 2014 | WO |
WO 2014013320 | Jan 2014 | WO |
Entry |
---|
Thomas, G. “Incorporating Media Converters.” Contemporary Control Systems, Inc. the Extension. vol. 7, No. 6, Nov. 2006. |
Cyclone IV Device Handbook, vol. 1, Altera, Dec. 2010 (478 pages). |
IEEE Standard for Information Technology, Part 3: Carrier Sense Multiple Access with Collision Detection (CSMA/CD) access method and Physical Layer specifications, 2008 (315 pages). |
Gigabit Ethernet Auto-Negotiation, by Rich Hernandez, www.dell.com/powersolutions, 1999 (6 pages). |
Cheshire, et al. “Dynamic Configuration of IPv4 Link-Local Addresses,” May 2005, 33 pages. |
Drimer and Kuhn, “A Protocol for Secure Remote Updates of FPGA Configurations”, pp. 50-61, 2009, Lecture Notes in Computer Science vol. 5453, 12 pages. |
Rad Data Communications, Rad & Miniature & SFP-S & SFF 8439 Specifications, Dec. 2007, 48 pages. |
Rad Data Communications, Data Sheet—MIRICI-155 Intelligent Miniature GbE over STM-1/OC-3 NTU, 2007-2010, 4 pages. |
Plummer, “An Ethernet Address Resolution Protocol—or—Converting Network Protocol Addresses to 48.bit Ethernet Address for Transmission on Ethernet Hardware,” Nov. 1982, 10 pages. |
Malkin, “Traceroute Using an IP Option,” Jan. 1993, 7 pages. |
https://lkml.org/lkml/2005/10/19/46 on Oct. 16, 2012, Ingo Molnar, Oct. 19, 2005, 7 pages. |
Sosnoski, “Classworking toolkit: Combining source and bytecode generation,” Oct. 4, 2005, 9 pages. |
Thomas, G. “Incorporating Media Converters.” Contemporary Control Systems, Inc. the Extension. vol. 7, No. 6, Nov. 2006 [online] [retrieved on Dec. 4, 2013]. Retrieved from the Internet: <URL: http://www.ccontrols.com/pdf/Extv7n6.pdf> (4 pages). |
Avago Technologies. “1000BASE-T Interface and Functionality of ABCU-57xxRZ Gigabit Ethernet Small Form Puggable Electrical Transceivers Over Category 5 Unshielded Twisted Pair Cable—Application Note 5286.” XP055091424, Sep. 14, 2010 [online] [retrieved on Dec. 4, 2013]. Retrieved from the Internet <URL: http://www.avagotech.com/docs/AV02-2643EN‎> (16 pages). |
International Search Report and Written Opinion mailed Nov. 26, 2013 which issued in International Patent Application No. PCT/IB2013/001559 (8 pages). |
International Search Report and Written Opinion mailed Dec. 4, 2013 which issued in International Patent Application No. PCT/IB2013/001557 (9 pages). |
International Search Report and Written Opinion mailed Dec. 9, 2013 which issued in International Patent Application No. PCT/IB2013/001556 (7 pages). |
Extended European Search Report mailed Dec. 18, 2013 which issued in European Patent Application No. 13183360.0 (11 pages). |
Thomas, “Incorporating Media Converters,” Contemporary Control Systems, Inc. the Extension. vol. 7, No. 6, Nov. 2006. |
Number | Date | Country | |
---|---|---|---|
20170026241 A1 | Jan 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14698407 | Apr 2015 | US |
Child | 15287182 | US | |
Parent | 13608476 | Sep 2012 | US |
Child | 14698407 | US |