# US 2017/0288953 A1 · Automatic setup of failure detection sessions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0288953 A1
- Document ID: US20170288953A1
- Status: Published application
- Kind: A1
- Application number: 15/146,879
- Filed: 2016-05-04
- Published: 2017-10-05
- Earliest claimed: 2016-04-01
- Assignees: Nicira, Inc.
- Applicants: Nicira, Inc.
- Inventors: Jin Liu; Hua Wang; Ziyou Wang; Bolt Zhang; Pradeep Singh; Anupam Chanda
- Web page: https://patentgrep.com/patent/US20170288953A1

## CPC

- H04L 41/0677: Localisation of faults
- H04L 12/18: for broadcast or conference {, e.g. multicast}
- H04L 12/1863: {comprising mechanisms for improved reliability, e.g. status reports (arrangements for detecting or preventing errors by carrying supervisory signal the return channel H04L1/16)}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 49/555: {Error detection}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

For a network with host machines that are hosting virtual machines, a method for facilitating BUM (broadcast, unknown unicast, and multicast) traffic between a hardware switch (e.g., ToR switch) and the host machines is provided. The network has a set of host machines configured as a cluster of replicators for replicating BUM traffic from the hardware switch to the host machines. A set of network controllers establishes failure-detection tunnels for links between the hardware switch and the replicator cluster. The replicator cluster informs the set of controllers of a change in the membership of the replicator cluster to initiate an update to the active failure-detection sessions. The set of network controllers communicates with the replicator cluster and a ToR switch to establish bidirectional forwarding detection (BFD) sessions between one or more replicator nodes in the replicator cluster and the ToR switch.

## Claims

### Claim 1

A system comprising:
a first set of host machines, each host machine hosting a set of virtual machines;
a hardware forwarding element;
a second set of host machines for facilitating broadcast, unknown unicast, and multicast (BUM) network traffic between the hardware forwarding element and the first set of host machines;
a set of network controllers for establishing failure-detection tunnels between the hardware forwarding element and the second set of host machines, wherein the set of network controllers initiates an update to a set of active failure-detection sessions over the established failure-detection tunnels when the second set of host machines report a change to a state of the second set of host machines.

### Claim 2 (depends on 1)

The system of claim 1, wherein the change to the state of the second set of host machines comprises a failure detected by a failure detection session in the set of active failure-detection sessions.

### Claim 3 (depends on 1)

The system of claim 1, wherein the change to the state of the second set of host machines comprises a change to a membership of the second set of hosts.

### Claim 4 (depends on 1)

The system of claim 1, wherein at least one active failure-detection session in the set of active failure detection sessions is a bidirectional forwarding detection (BFD) session.

### Claim 5 (depends on 1)

The system of claim 1, wherein establishing failure-detection tunnels comprises informing the hardware forwarding element of a current state of the second set of host machines for the hardware forwarding element to use to determine whether a failure-detection tunnel should be established.

### Claim 6 (depends on 5)

The system of claim 5, wherein determining whether a failure-detection tunnel should be established is based on at least one of tunnel resources available on the hardware forwarding element and active failure-detection sessions between the hardware forwarding element and host machines in the second set of host machines.

### Claim 7 (depends on 5)

The system of claim 5, wherein, after determining that a failure detection tunnel should be created, the hardware forwarding element establishes a unidirectional tunnel between the hardware forwarding element and a host machine in the second set of host machines based on the information regarding the current state of the second set of host machines received from the set of network controllers.

### Claim 8 (depends on 7)

The system of claim 7, wherein, after establishing a unidirectional tunnel between the hardware forwarding element and a host machine in the second set of host machines, the hardware forwarding element sends to the set of network controllers unidirectional tunnel endpoint information regarding the established unidirectional tunnel for the set of network controllers to forward to a particular host machine in the second set of host machines.

### Claim 9 (depends on 8)

The system of claim 8, wherein the unidirectional tunnel is a first unidirectional tunnel and, after receiving the unidirectional tunnel endpoint information, the particular host in the second set of host machines establishes a second unidirectional tunnel from the particular host machine to the hardware forwarding element using the unidirectional tunnel endpoint information.

### Claim 10 (depends on 9)

The system of claim 9, wherein the first and second unidirectional tunnels are used to exchange information to detect failures in the connection between the hardware forwarding element and the particular host machine.

### Claim 11 (depends on 10)

The system of claim 10, wherein the exchange of information comprises a bidirectional forwarding detection session.

### Claim 12

A method for a set of network controllers to establish a failure-detection tunnel between a hardware forwarding element and a managed forwarding element on a host machine, the method comprising:
receiving state information sent from the host machine, the state information comprising at least information regarding a tunnel endpoint on the host machine;
deriving host machine information from the state information;
sending the host machine information to the hardware forwarding element, said host machine information to be used by the hardware forwarding element for (i) determining whether a failure-detection tunnel will be created and (ii) establishing a first unidirectional tunnel from the hardware forwarding element to the managed forwarding element;
receiving unidirectional tunnel information regarding the first unidirectional tunnel, the unidirectional tunnel information comprising at least information regarding the tunnel endpoint on the hardware forwarding element;
deriving tunnel endpoint information from the unidirectional tunnel information, said tunnel endpoint information to be used by the managed forwarding element to establish a second unidirectional tunnel from the managed forwarding element to the hardware forwarding element, said first and second unidirectional tunnels to be used as a failure-detection tunnel to exchange information to detect failures in the connection between the hardware forwarding element and the managed forwarding element.

### Claim 13 (depends on 12)

The method of claim 12, wherein the state information comprises information regarding an internet protocol (IP) address associated with the managed forwarding element.

### Claim 14 (depends on 13)

The method of claim 13, wherein the information regarding the IP address associated with the managed forwarding element is an IP address of a virtual extensible local area network tunnel end point (VTEP) of the managed forwarding element.

### Claim 15 (depends on 12)

The method of claim 12, wherein the unidirectional tunnel information comprises information regarding an IP address associated with the hardware forwarding element.

### Claim 16 (depends on 15)

The method of claim 15, wherein the information regarding the IP address associated with the hardware forwarding element is an IP address of the virtual extensible local area network tunnel end point (VTEP) of the hardware forwarding element.

### Claim 17 (depends on 12)

The method of claim 12, wherein the failure-detection tunnel is used to implement a bidirectional forwarding detection (BFD) session.

### Claim 18 (depends on 12)

The method of claim 12, wherein the determination of whether a failure-detection tunnel will be created is based on at least one of the available tunnel resources of the hardware forwarding element and the active failure-detection sessions.

### Claim 19 (depends on 12)

The method of claim 12, wherein the managed forwarding element is a member of a set of managed forwarding elements for facilitating broadcast, unknown unicast, and multicast (BUM) network traffic between the hardware forwarding element and a set of virtual machines and state information is sent by the host machine when a membership of the set of managed forwarding element changes.

### Claim 20 (depends on 12)

The method of claim 12, wherein the state information is sent by the set of software forwarding elements when a failure is detected by the set of active failure-detection sessions.
