Title:
Virtual MAC address system and method
Document Type and Number:
United States Patent 7415535

Abstract:
A method for creating a virtual MAC address, the method includes receiving an Internet Protocol address that is to be associated with a virtual MAC address. The method creates a virtual MAC address by setting an OUI portion of the virtual MAC address to an OUI value and setting the non-OUI portion of the virtual MAC address to a subset of the Internet Protocol (IP) address. In one embodiment, the lower three bytes of the IP address are used. Additionally, a method of migrating a virtual MAC address includes detecting a migration event on a first system; creating a virtual MAC address on a second system; and issuing a gratuitous ARP packet containing the virtual MAC address.

Inventors:
Kuik, Timothy J. (Lino Lakes, MN, US)
Bakke, Mark A. (Maple Grove, MN, US)
      Plaque It!

Application Number:
10/131782
Publication Date:
08/19/2008
Filing Date:
04/22/2002
View Patent Images:
Images are available in PDF form when logged in. To view PDFs, Login  or  Create Account (Free!)
Assignee:
Cisco Technology, Inc. (San Jose, CA, US)
Primary Class:
Other Classes:
709/245
International Classes:
G06F15/16; G01R31/08; G06F11/00
Field of Search:
370/217, 714/4, 714/2, 709/245, 709/223
US Patent References:
4495617Signal generation and synchronizing circuit for a decentralized ring networkJanuary, 1985Ampulski et al.
5390326Local area network with fault detection and recoveryFebruary, 1995Shah
5461608Ring network with temporary master node for collecting data from slave nodes during failureOctober, 1995Yoshiyama
5473599Standby router protocolDecember, 1995Li et al.370/219
5535395Prioritization of microprocessors in multiprocessor computer systemsJuly, 1996Tipley et al.
5544077High availability data processing system and method using finite state machinesAugust, 1996Hershey
5579491Local proactive hot swap request/acknowledge systemNovember, 1996Jeffries et al.
5600828File specification wildcardFebruary, 1997Johnson et al.
5666486Multiprocessor cluster membership manager frameworkSeptember, 1997Alfieri et al.
5732206Method, apparatus and program product for disruptive recovery in a data processing systemMarch, 1998Mendel
5812821Small computer system interface ("SCSI") controllerSeptember, 1998Sugi et al.
5909544Automated test harnessJune, 1999Anderson et al.
5941972Storage router and method for providing virtual local storageAugust, 1999Hoese et al.
5951683Multiprocessor system and its control methodSeptember, 1999Yuuki et al.
5996024Method and apparatus for a SCSI applications server which extracts SCSI commands and data from message and encapsulates SCSI responses to provide transparent operationNovember, 1999Blumenau
5996027Transmitting specific command during initial configuration step for configuring disk drive controllerNovember, 1999Volk et al.
6006259Method and apparatus for an internet protocol (IP) network clustering systemDecember, 1999Adelman et al.
6009476Device driver architecture supporting emulation environmentDecember, 1999Flory et al.
6018765Multi-channel multimedia data serverJanuary, 2000Durana et al.
6041381Fibre channel to SCSI addressing method and systemMarch, 2000Hoese
6078957Method and apparatus for a TCP/IP load balancing and failover process in an internet protocol (IP) network clustering systemJune, 2000Adelman et al.
6108300Method and apparatus for transparently providing a failover network deviceAugust, 2000Coile et al.370/217
6108699System and method for modifying membership in a clustered distributed computer system and updating system configurationAugust, 2000Moiin
6131119Automatic configuration system for mapping node addresses within a bus structure to their physical locationOctober, 2000Fukui
6134673Method for clustering software applicationsOctober, 2000Chrabaszcz
6145019Unconfigured device that automatically configures itself as the primary device if no other unconfigured device is presentNovember, 2000Firooz et al.
6163855Method and system for replicated and consistent modifications in a server clusterDecember, 2000Shrivastava et al.
6178445System and method for determining which processor is the master processor in a symmetric multi-processor environmentJanuary, 2001Dawkins et al.
6185620Single chip protocol engine and data formatter apparatus for off chip host memory to local memory transfer and conversionFebruary, 2001Weber et al.
6195687Method and apparatus for master-slave control in a educational classroom communication networkFebruary, 2001Greaves et al.
6195760Method and apparatus for providing failure detection and recovery with predetermined degree of replication for distributed applications in a networkFebruary, 2001Chung et al.
6209023Supporting a SCSI device on a non-SCSI transport medium of a networkMarch, 2001Dimitroff et al.
6219771Data storage apparatus with improved security process and partition allocation functionsApril, 2001Kikuchi et al.
6268924Document object having a print interface for programmatic automation by a using programJuly, 2001Koppolu et al.
6269396Method and platform for interfacing between application programs performing telecommunications functions and an operating systemJuly, 2001Shah et al.
6314526Resource group quorum scheme for highly scalable and highly available cluster system managementNovember, 2001Arendt et al.
6327622Load balancing in a network environmentDecember, 2001Jindal et al.
6343320Automatic state consolidation for network participating devicesJanuary, 2002Fairchild et al.
6363416System and method for automatic election of a representative node within a communications network with built-in redundancyMarch, 2002Naeimi et al.
6393583Method of performing checkpoint/restart of a parallel programMay, 2002Meth et al.
6400730Method and apparatus for transferring data between IP network devices and SCSI and fibre channel devices over an IP networkJune, 2002Latif et al.
6449652Method and apparatus for providing secure access to a computer system resourceSeptember, 2002Blumenau et al.
6470382Method to dynamically attach, manage, and access a LAN-attached SCSI and netSCSI devicesOctober, 2002Wang et al.
6470397Systems and methods for network and I/O device driversOctober, 2002Shah et al.
6473803Virtual LAN interface for high-speed communications between heterogeneous computer systemsOctober, 2002Stern et al.
6480901System for monitoring and managing devices on a network from a management station via a proxy server that provides protocol converterNovember, 2002Weber et al.
6484245Apparatus for and method of accessing a storage region across a networkNovember, 2002Sanada et al.
6574755Method and processing fault on SCSI busJune, 2003Seon
6591310Method of responding to I/O request and associated reply descriptorJuly, 2003Johnson
6597956Method and apparatus for controlling an extensible computing systemJuly, 2003Aziz et al.
6640278Method for configuration and management of storage resources in a storage networkOctober, 2003Nolan et al.
6654830Method and system for managing data migration for a storage systemNovember, 2003Taylor et al.
6658459System for sharing peripheral devices over a network and method for implementing the sameDecember, 2003Kwan et al.
6678721System and method for establishing a point-to-multipoint DSL networkJanuary, 2004Bell
6683883ISCSI-FCP gatewayJanuary, 2004Czeiger et al.
6684209Security method and system for storage subsystemJanuary, 2004Ito et al.
6691244System and method for comprehensive availability management in a high-availability computer systemFebruary, 2004Kampe et al.
6697875Methods for building and using a network device databaseFebruary, 2004Wilson
6697924Storage area network methods and apparatus for identifying fiber channel devices in kernel modeFebruary, 2004Swank
6701449Method and apparatus for monitoring and analyzing network appliance status informationMarch, 2004Davis et al.
6718361Method and apparatus for reliable and scalable distribution of data files in distributed networksApril, 2004Basani et al.
6721907System and method for monitoring the state and operability of components in distributed computing systemsApril, 2004Earl
6724757Configurable network routerApril, 2004Zadikian et al.
6738854Storage router and method for providing virtual local storageMay, 2004Hoese et al.
6748550Apparatus and method for building metadata using a heartbeat of a clustered systemJune, 2004McBrearty et al.
6757291System for bypassing a server to achieve higher throughput between data network and data storage systemJune, 2004Hu
6760783Virtual interrupt mechanismJuly, 2004Berry
6763195Hybrid wireless optical and radio frequency communication linkJuly, 2004Willebrand et al.
6763419Storage router and method for providing virtual local storageJuly, 2004Hoese et al.
6771663Hybrid data transport scheme over optical networksAugust, 2004Jha
6771673Methods and apparatus and data structures for providing access to an edge router of a networkAugust, 2004Baum et al.370/535
6799316Virtualizing hardware with system management interruptsSeptember, 2004Aguilar et al.
6807581Intelligent network storage interface systemOctober, 2004Starr et al.
6823418Virtual PCI device apparatus and methodNovember, 2004Langendorf et al.
6848007System for mapping addresses of SCSI devices between plurality of SANs that can dynamically map SCSI device addresses across a SAN extenderJanuary, 2005Reynolds et al.
6856591Method and system for high reliability cluster managementFebruary, 2005Ma et al.370/216
6859462Minimization and optimization of overall data transfer connect time between handheld wireless communicating devices and remote machinesFebruary, 2005Mahoney et al.
6877042System and method for generating world wide namesApril, 2005Tawil
6877044Distributed storage management platform architectureApril, 2005Lo et al.
6886171Caching for I/O virtual address translation and validation using device driversApril, 2005MacLeod
6895461Method and apparatus for accessing remote storage using SCSI and an IP networkMay, 2005Thompson710/305
6920491Fabric device configuration interface for onlining fabric devices for use from a host systemJuly, 2005Kim
6938092TCP offload device that load balances and fails-over between aggregated ports having different MAC addressesAugust, 2005Burns709/230
6944785High-availability cluster virtual server systemSeptember, 2005Gadir et al.714/4
20020010750Redundant input/output management device, notably for data routingJanuary, 2002Baretzki
20020042693Cluster membership monitorApril, 2002Kampe et al.
20020049845Maintaining membership in high availability systemsApril, 2002Sreenivasan et al.
20020055978Method for managing network when master disappearsMay, 2002Joon-Bo et al.
20020059392Global network computersMay, 2002Ellis
20020065872System and method for dynamic uploading and execution of applications and drivers between devicesMay, 2002Genske et al.
20020103943Distributed storage management platform architectureAugust, 2002Lo et al.
20020116460Approach for managing communications channels based on performance and transferring functions between participants in a communications arrangementAugust, 2002Treister et al.
20020126680Network connection apparatusSeptember, 2002Inagaki et al.370/401
20020156612Address resolution protocol system and method in a virtual networkOctober, 2002Schulter et al.703/23
20020188657Resource identifiers for a peer-to-peer environmentDecember, 2002Traversat et al.
20020188711Failover processing in a storage systemDecember, 2002Meyer et al.
20020194428Method and apparatus for distributing raid processing over a network linkDecember, 2002Green
20030005068System and method for creating a virtual supercomputer using computers working collaboratively in parallel and uses for the sameJanuary, 2003Nickel et al.
20030018813Methods, systems and computer program products for providing failure recovery of network secure communications in a cluster computing environmentJanuary, 2003Antes et al.
20030018927High-availability cluster virtual server systemJanuary, 2003Gadir et al.
20030058870ISCSI receiver implementationMarch, 2003Mizrachi et al.
20030084209System and method for storage virtualizationMay, 2003Chadalapaka
20030097607System and method for ensuring the availability of a storage systemMay, 2003Bessire
20030154236Database Switch enabling a database area networkAugust, 2003Dar et al.709/201
20030182455SCSI device translator for networkSeptember, 2003Hetzler et al.
20030208579Method and system for configuration and download in a restricted architecture networkNovember, 2003Brady et al.
20030210686ROUTER AND METHODS USING NETWORK ADDRESSES FOR VIRTUALIZATIONNovember, 2003Terrell et al.
20040024778System for indexing textual and non-textual filesFebruary, 2004Cheo
20040064553Computer network solution and software product to establish error tolerance in a network environmentApril, 2004Kjellberg
20040141468Ethernet address management systemJuly, 2004Christensen et al.370/252
20040233910Storage area network using a data communication protocolNovember, 2004Chen et al.
20050055418Method to manage high availability equipmentsMarch, 2005Blanc et al.
20050063313Optimal clustering of master-slave ad-hoc wireless networkMarch, 2005Nanavati et al.
20050268151System and method for maximizing connectivity during network failures in a cluster systemDecember, 2005Hunt et al.
Other References:
VMware ESX Server User's Manual. version 1.0. Jun. 6, 2001, retrieved Sep. 6, 2005.
Synergy Networks. “IP Aliasing”. 1999, retreived Jun. 8, 2005 .
Gusella, R. , et al., “An Election Algorithm for a Distributed Clock Synchronization”, CS Technical Report #275, University of California, Berkeley,(Dec. 1985),pp. 1-14.
Gusella, R. , et al., “The Berkeley UNIX Time Synchronization Protocol”, UNIX Programmers Manual 4.3, vol. 2C, Berkeley Software Distrib.,,(1986), 10 p.
Knight, S. , et al., Virtual Router Redundancy Protocol, Network Working Group, RFC 2338, obtained from http://www.search.ietf.org/rfc/rfc2338.txt,(1998),26 p.
Lewis, P. , “A High-Availability Cluster for Linux”, Linux Journal, 64, obtained from http://www2.linuxjournal.com/lj-issues/issue64/3247.html,(Apr. 1994), 11 p.
Li, T. , et al., Cisco Hot Standby Router Protocol (HSRP), Network Working Group, RFC 2281, obtained from http://www.search.ietf.org/rfc/rfc2281.txt,(1998), 16 p.
Meth, K. Z., et al., “Design of the iSCSI protocol”, Proceedings of the 20th IEEE Conference on Mass Storage Systems and Technologies, (Apr. 7-10, 2003), 116-122.
Moore, K. , On the Use of HTTP as a Substrate, Network Working Group, RFC 3205, obrtained from http://www.search.ietf.org/rfc/rfc3205.txt,(2002), 14 p.
Satran, J. , et al., iSCSI, IPS Internet Draft, draft-ietf-ips-iSCSI-12.txt, Category: standards—track,(Apr. 17, 2002),260 p.
Simitci, H. , et al., “Evaluation of SCSP over TCP/IP and SCSI over fibre channel connections”, Hot Interconnects, 9, (Aug. 2001),87-91.
Satran, J. , et al., iSCSI, IPS Internet Draft, draft-ietf-ips-iSCSI-00, Category: Standards Track, obtained from http://www.haifa.il.ilb.com/satran/ips/draft-ietf-ips-iSCSI-00.txt,(Nov. 2000),78 p.
“iSCSI Protocol Concepts and Implementation”, White Paper. [online] Cisco Systems, Inc., 2001 [retrieved May 7, 2002]. Retrieved from the Internet: , 16 p.
Babkin, S. , “Writing a CAM SCSI Controller (A.K.A. Host Bus Adapter) Driver”, [online]. 2000 [retrieved May 6, 2002] Retrieved from the Internet: ,32 p.
Primary Examiner:
Burgess, Glenton B.
Assistant Examiner:
Chea, Philip J.
Attorney, Agent or Firm:
Schwegman, Lundberg & Woessner, P.A.
Claims:
We claim:

1. A method comprising: configuring in a configuration for a first storage router a plurality Internet Protocol (IP) addresses for each of a plurality of SCSI routing applications on the first storage router, wherein each SCSI routing application is provided a different IP address; replicating the configuration to a second storage router; creating a plurality of virtual MAC (Media Access and Control) addresses, each virtual MAC address associated with one of the different IP addresses; setting an OUI (Organization Unique Identifier) portion of each virtual MAC address to an OUI value; setting a non-OUI portion of each virtual MAC address to a subset of the different Internet Protocol (IP) address associated with the virtual MAC address; detecting a migration event on the first storage router; initializing on the second storage router the plurality of SCSI routing applications according to the replicated configuration, wherein each of the plurality of SCSI routing applications is assigned the different IP address according to the replicated configuration; and recreating on the second storage router the plurality of virtual MAC addresses, each virtual MAC address associated with one of the different IP addresses and each created on the second storage router by setting an OUI (Organization Unique Identifier) portion of each virtual MAC address to an OUI value and setting a non-OUI portion of each virtual MAC address to a subset of the different Internet Protocol (IP) address associated with the virtual MAC address.

2. The method of claim 1, further comprising setting the local bit of the OUI portion of each virtual MAC address.

3. The method of claim 1, wherein the subset of the IP address comprises three bytes.

4. The method of claim 1, wherein the subset of the IP address comprises a subset of the low order bytes of the IP address.

5. The method of claim 1, further comprising: removing the virtual MAC address on the first storage router.

6. A system comprising: first means for configuring in a configuration for a first storage router an IP address for each of a plurality of SCSI routing applications on a storage router, wherein each SCSI routing application is provided a different IP address; means for replicating the configuration to a second storage router; second means for creating a plurality of virtual MAC address, each virtual MAC address associated with one of the different IP addresses; third means for setting an OUI portion of each virtual MAC address to an OUI value and means for setting a non-OUI portion of each virtual MAC address to a subset of the different IP address associated with the virtual MAC address means for detecting a migration event on the first storage router; means for initializing on the second storage router the plurality of SCSI routing applications according to the replicated configuration, wherein each of the plurality of SCSI routing applications is assigned the different IP address according to the replicated configuration; and means for recreating on the second storage router the plurality of virtual MAC addresses, each virtual MAC address associated with one of the different IP addresses and each created on the second storage router by setting an OUI (Organization Unique Identifier) portion of each virtual MAC address to an OUI value and setting a non-OUI portion of each virtual MAC address to a subset of the different Internet Protocol (IP) address associated with the virtual MAC address.

Description:

RELATED FILES

This invention is related to application Ser. No. 10/122,401, filed Apr. 11, 2002, entitled “METHOD AND APPARATUS FOR SUPPORTING COMMUNICATIONS BETWEEN NODES OPERATING IN A MASTER-SLAVE CONFIGURATION”, which is a continuation of application Ser. No. 09/949,182, filed Sep. 7, 2001, entitled “METHOD AND APPARATUS FOR SUPPORTING COMMUNICATIONS BETWEEN NODES OPERATING IN A MASTER-SLAVE CONFIGURATION”; application Ser. No. 10/094,552, filed Mar. 7, 2002, entitled “METHOD AND APPARATUS FOR EXCHANGING HEARTBEAT MESSAGES AND CONFIGURATION INFORMATION BETWEEN NODES OPERATING IN A MASTER-SLAVE CONFIGURATION”; application Ser. No. 10/131,275, filed even date herewith, entitled “METHOD AND APPARATUS FOR CONFIGURING NODES AS MASTERS OR SLAVES”; application Ser. No. 10/131,274, filed even date herewith, entitled “METHOD AND APPARATUS FOR TERMINATING APPLICATIONS IN A HIGH-AVAILABILITY NETWORK”; application Ser. No. 10/128,656, filed even date herewith, entitled “SCSI-BASED STORAGE AREA NETWORK”, now U.S. Pat. No. 7,165,258, issued on Jan. 16, 2007; application Ser. No. 10/131,793, filed even date herewith, entitled “VIRTUAL SCSI BUS FOR SCSI-BASED STORAGE AREA NETWORK”; application Ser. No. 10/131,789, filed even date herewith, entitled “METHOD AND APPARATUS FOR ASSOCIATING AN IP ADDRESS AND INTERFACE TO A SCSI ROUTING INSTANCE”, now U.S. Pat. No. 6,895,461, issued on May 17, 2005; application Ser. No. 10/128,657, filed even date herewith, entitled “METHOD AND APPARATUS FOR EXCHANGING CONFIGURATION INFORMATION BETWEEN NODES OPERATING IN A MASTER-SLAVE CONFIGURATION”; provisional application Ser. No. 60/374,921, filed even date herewith, entitled “INTERNET PROTOCOL CONNECTED STORAGE AREA NETWORK”; and application Ser. No. 10/128,993, filed even date herewith, entitled “SESSION-BASED TARGET/LUN MAPPING FOR A STORAGE AREA NETWORK AND ASSOCIATED METHOD”, now U.S. Pat. No. 7,188,194, issued on Mar. 6, 2007; all of the above of which are hereby incorporated by reference.

FIELD

The present invention relates generally to network addressing, and more particularly to creating a virtual MAC address.

COPYRIGHT NOTICE/PERMISSION

A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever. The following notice applies to the software and data as described below and in the drawings hereto: Copyright © 2002, Cisco Systems, Inc. All Rights Reserved.

BACKGROUND

When network interface cards were first developed, each card was assigned a unique MAC (Media Access Control) address that was “burned” into the memory of the interface card. Modern network interface cards support the ability to dynamically assign MAC addresses.

Many modern network interfaces support the dynamic assignment of MAC addresses. This ability has proven useful in high availability/fault tolerant applications, many of which use the ability to assign a MAC address in order to migrate a MAC address from one interface to another. One example of such usage is described in RFC 2338 from the Internet Engineering Task Force entitled “Virtual Router Redundancy Protocol” (VRRP). FTC 2338 defines a mechanism for providing virtual router IP addresses on a LAN to be used as the default first hop router by end-hosts. The advantage gained from using VRRP is a higher availability default path without requiring configuration of dynamic routing or router discovery protocols on every end-host While VRRP provides a virtual MAC address, it suffers from the problem that only 256 unique MAC addresses can be defined, which can be well short of the number required on many networks.

SUMMARY

The above-mentioned shortcomings, disadvantages and problems are addressed by the present invention, which will be understood by reading and studying the following specification.

In one embodiment of the invention, a method for creating a virtual MAC address, the method includes receiving an Internet Protocol address that is to be associated with a virtual MAC address. The method creates a virtual MAC address by setting an OUI portion of the virtual MAC address to an OUI value and setting the non-OUI portion of the virtual MAC address to a subset of the Internet Protocol (IP) address. In one embodiment, the lower three bytes of the IP address are used.

In a further embodiment of the invention, a method of migrating a virtual MAC address includes detecting a migration event on a first system; creating a virtual MAC address on a second system; and issuing a gratuitous ARP packet containing the virtual MAC address.

The present invention describes systems, clients, servers, methods, and computer-readable media of varying scope. In addition to the aspects and advantages of the present invention described in this summary, further aspects and advantages of the invention will become apparent by reference to the drawings and by reading the detailed description that follows.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a storage router hardware and operating environment in which different embodiments of the invention can be practiced;

FIG. 2 is a diagram providing further details of a storage router configuration supporting high availability applications according to an embodiment of the invention;

FIG. 3 is a flowchart illustrating methods for creating a virtual MAC address according to an embodiment of the invention;

FIGS. 4A and 4B are flowcharts illustrating methods for using a virtual MAC address according to an embodiment of the invention; and

FIG. 5 is a pictorial diagram illustrating the method of FIG. 3.

DETAILED DESCRIPTION

In the following detailed description of exemplary embodiments of the invention, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific exemplary embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical, electrical and other changes may be made without departing from the scope of the present invention.

Some portions of the detailed descriptions which follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the ways used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar computing device, that manipulates and transforms data represented as physical (e.g., electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.

In the Figures, the same reference number is used throughout to refer to an identical component which appears in multiple Figures. Signals and connections may be referred to by the same reference number or label, and the actual meaning will be clear from its use in the context of the description.

The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims.

OPERATING ENVIRONMENT

Some embodiments of the invention operate in an environment of systems and methods that provide a means for fibre-channel bases SANs to be accessed from TCP/IP network hosts. FIG. 1 is a block diagram describing the major components of such a system. Storage router system 100 includes computers (127, 128) connected through an IP network 129 to storage router 110. Storage router 110 is connected in turn through storage network 130 to one or more SCSI devices 140. In the embodiment shown in FIG. 3, storage router 110 includes an iSCSI interface 104, a SCSI router 105 and a SCSI interface 106. iSCSI interface 104 receives encapsulated SCSI packets from IP network 129, extracts the SCSI packet and send the SCSI packet to SCSI router 105. SCSI interface 106 modifies the SCSI packet to conform with its network protocol (e.g., Fibre Channel, parallel SCSI, or iSCSI) and places the modified SCSI packet onto storage network 130. The SCSI packet is then delivered to its designated SCSI device 140.

In one embodiment, storage router 110 provides IPv4 router functionality between a single Gigabit Ethernet and a Fibre Channel interface. In one such embodiment, static routes are supported. In addition, storage router 110 supports a configurable MTU size for each interface, and has the ability to reassemble and refragment IP packets based on the MTU of the destination interface.

In one embodiment, storage router 110 acts as a gateway, converting SCSI protocol between Fibre Channel and TCP/IP. Storage router 110 is configured in such an embodiment to present Fibre Channel devices as iSCSI targets, providing the ability for clients on the IP network to directly access storage devices.

In one embodiment, SCSI routing occurs in the Storage Router 110 through the mapping of physical storage devices to iSCSI targets. An iSCSI target (also called logical target) is an arbitrary name for a group of physical storage devices. You can map an iSCSI target to multiple physical devices. An iSCSI target always contains at least one Logical Unit Number (LUN). Each LUN on an iSCSI target is mapped to a single LUN on a physical storage target.

FIG. 2 shows a sample storage router network 200. Servers 127-128 with iSCSI drivers access the storage routers 110 through an IP network 129 connected to the Gigabit Ethernet interface 104 of each storage router 110. The storage routers 110 access storage devices 140 through a storage network 138 connected to the Fibre Channel interface 106 of each storage router 110. A management station 210 manages the storage routers 110 through an IP network 159 connected to the management interface 158 and/or 168 of each storage router. For high-availability operation, the storage routers 110 communicate with each other over two networks: the HA network 149 connected to the HA interface 148 of each storage router 110, and the management network 159 connected to the management interface 158 and/or 168 of each storage router 110.

In some embodiments of the invention, SCSI router applications 105 are configured with their own TCP/IP address. Further, in some embodiments, Gigabit Ethernet interface 104 supports the ability to assign multiple MAC (Media Access Control) addresses. As is known in the art, MAC addresses are 48 bits in length and are expressed as 12 hexadecimal digits. The first 6 hexadecimal digits, which are administered by the IEEE, identify the manufacturer or vendor and thus comprise the Organizational Unique Identifier (OUI). The last 6 hexadecimal digits comprise the interface serial number. Thus the system may associate a uniquely created virtual MAC address for each instance of a SCSI router 105.

Further details on the operation of the above describe system, including high availability embodiments can be found in application Ser. No. 10/094,552, filed Mar. 7, 2002, entitled “METHOD AND APPARATUS FOR EXCHANGING HEARTBEAT MESSAGES AND CONFIGURATION INFORMATION BETWEEN NODES OPERATING IN A MASTER-SLAVE CONFIGURATION”; application Ser. No. 10/131,275, filed even date herewith, entitled “METHOD AND APPARATUS FOR CONFIGURING NODES AS MASTERS OR SLAVES”; application Ser. No. 10/131,274, filed even date herewith, entitled “METHOD AND APPARATUS FOR TERMINATING APPLICATIONS IN A HIGH-AVAILABILITY NETWORK”, application Ser. No. 10/128,656, filed even date herewith, entitled “SCSI-BASED STORAGE AREA NETWORK”, now U.S. Pat. No. 7,165,258, issued on Jan. 16, 2007; application Ser. No. 10/131,793, filed even date herewith, entitled “VIRTUAL SCSI BUS FOR SCSI-BASED STORAGE AREA NETWORK”; application Ser. No. 10/131,789, filed even date herewith, entitled “METHOD AND APPARATUS FOR ASSOCIATING AN IP ADDRESS AND INTERFACE TO A SCSI ROUTING INSTANCE”, now U.S. Pat. No. 6,895,461, issued on May 17, 2005; application Ser. No. 10/128,657, filed even date herewith, entitled “METHOD AND APPARATUS FOR EXCHANGING CONFIGURATION INFORMATION BETWEEN NODES OPERATING IN A MASTER-SLAVE CONFIGURATION”; provisional application Ser. No. 60/374,921, filed even date herewith, entitled “INTERNET PROTOCOL CONNECTED STORAGE AREA NETWORK”, all of which have been previously incorporated by reference.

FIG. 3 illustrates a method for creating a virtual MAC address according to an embodiment of the invention. A system desiring to create a virtual MAC address begins by receiving an IP address that is to be associated with the desired virtual MAC address (block 305). The IP address can be specified as a parameter to a function that creates virtual MAC addresses. Alternatively, the IP address can be determined through configuration databases. The invention is not limited to any particular method for receiving an IP address.

A system executing the method then sets the OUI portion of the virtual MAC address (block 310). As discussed above, the OUI is used to identify a manufacturer or vendor of a network interface. In some embodiments of the invention, the “local bit” of the OUI portion of the MAC address is set. As is known in the art, the local bit is intended to indicate that the MAC address need only be unique on network segments reachable through the network interface.

Next, a system executing the method sets the non-OUI portion (i.e. the serial number portion) of the MAC address to a subset of the IP address received above (block 315). In some embodiments of the invention, the three lower order bytes of the IP address are copied to the three non-OUI bytes of the virtual MAC address.

FIG. 4A illustrates a method of using a virtual MAC address employed by some embodiments of the invention. A system executing the method, such as storage router system 1100, begins by detecting a migration event (block 405). A migration event is one that requires a MAC address to be migrated from a first network interface to a second network interface. The first network interface and the second network interface may be on the same network element, or they may be on different network elements.

One example of a migration event is a failover event. In this case, some system failure causes an application to be migrated to a different system. In the case of the storage router described above in FIG. 1, a failover event can be the failure of a SCSI router application. Because each SCSI router application has an IP address associated with it, and because each IP address has a MAC associated with it, it is desirable for the MAC to migrate with the application.

Next, the virtual MAC is added to the network interface (block 415). In some embodiments, the virtual MAC is created using them method described above in FIG. 3. In particular embodiments of the invention where the network element is a storage router device in a high availability configuration, the IP address used to create the virtual MAC address will be that of an application that is failed over to a second storage router. In these embodiments, the IP address is read from a configuration database replicated on each storage router that is a member of the high availability configuration.

Finally, in some embodiments of the invention, the second network interface issues a “gratuitous” ARP packet (block 420). The packet is gratuitous in that it is not issued in response to an ARP request. The gratuitous ARP is desirable, because it causes other network elements in the network such as switches and routers to update their respective ARP tables more quickly than they would through normal address resolution mechanisms that rely on timeouts.

FIG. 4B illustrates a method for removing a virtual MAC address. The method begins with the creation of a virtual MAC address (block 402). The virtual MAC address is assigned to a network interface and will typically be associated with an application such as a SCSI router application. Next the system detects a migration event (block 405). Finally, a system executing the method next removes the virtual MAC address from the first interface (block 410). This occurs in order to prevent the first network interface from responding to subsequent ARP requests after the migration event occurs.

It should be noted that the method in FIG. 4B is a complement to the method in FIG. 4A. The method illustrated in FIG. 4B may be used when there has not been a catastrophic failure such as a system crash or power down. In the event of a catastrophic failure, the virtual MAC will have been implicitly removed by virtue of the fact that the network element is no longer functioning.

FIG. 5 provides a pictorial description of the creation of a virtual MAC address 502. Each block in FIG. 5 represents an 8-bit byte. As can bee seen from the illustration, a three-byte OUI is placed in the upper three-bytes of MAC address 502. Additionally, the lowest three bytes of the IP address 506 are copied to the lowest three bytes of the MAC address 502, resulting in an MAC address that is guaranteed to be unique on any subnet in which the IP address is valid.

It should be noted that a different number of bytes or bits of the IP address could be used and such use is within the scope of the invention.

This section has described the various software components in a system that creates virtual MAC addresses and migrates virtual MAC addresses. As those of skill in the art will appreciate, the software can be written in any of a number of programming languages known in the art, including but not limited to C/C++, Visual Basic, Smalltalk, Pascal, Ada and similar programming languages. The invention is not limited to any particular programming language for implementation.

CONCLUSION

Systems and methods creating and using a virtual MAC address are disclosed. The embodiments of the invention provide advantages over previous systems. For example, the systems and methods allow for the creation range of MAC addresses that are as unique as the IP addresses that can be defined within the system. Further, the association of an IP address with a virtual MAC address provides for the easy creation of unique virtual MAC addresses that can be easily migrated to other systems.

Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement which is calculated to achieve the same purpose may be substituted for the specific embodiments shown. This application is intended to cover any adaptations or variations of the present invention.

The terminology used in this application is meant to include all of these environments. It is to be understood that the above description is intended to be illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. Therefore, it is manifestly intended that this invention be limited only by the following claims and equivalents thereof.





<- Previous Patent (Distribution of reac...)   |   Next Patent (Address query respon...) ->