Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 2.78 KB

File metadata and controls

50 lines (27 loc) · 2.78 KB

OCI Open LZ - Hub B Packet Flow

 

Overview

The purpose of this document is to illustrate, through explanatory animations, the journey of a request packet (shown as a red rectangle) and a response packet (shown as a blue rectangle), along with the corresponding routing rules in each routing table (RT), for Inbound-Outbound (North-South) and East-West network traffic, within a Hub B and Spoke VCNs.

 

1. Inbound Packet Flow

  • Source: Internet
  • Destination: 192.168.10.10

A user from the Internet attempts to access a1.example.com, which is hosted on VM-A1 behind a Public Load Balancer. Upon DNS resolution, the user's request targets the Load Balancer's public IP address. The packet enters the Hub VCN via the Internet Gateway and successfully reaches the Load Balancer. The Load Balancer then attempts to forward the packet to the appropriate backend VM (VM-A1 in this case), based on its policy rules. However, the packet is first routed by the route rule in RT: vcn-hub-lb to the NFW-hub (OCI Network Firewall) for inspection and control.

 

2. Outbound Packet Flow

  • Source: 192.168.10.10
  • Destination: Internet

VM-A1 initiates a communication to the Internet. The packet traverses through the Dynamic Routing Gateway (DRG) and is forced by the VCN route table: vcn-hub-ingress to pass through a NFW-hub. After inspection, the NFW-hub uses RT: vcn-hub-fw to route the packet to the NAT Gateway. The response packet from the Internet is then forced by the route rule in the RT: vcn-natgw-hub (a route table associated with a NAT gateway) to pass through the private IP address of the NFW-hub for inspection, and then through the DRG back to VM-A1.

 

3. East-West Packet Flow

  • Source: 192.168.10.10
  • Destination: 192.168.20.20

VM-A1 initiates a communication with VM-B1. The packet goes through the Dynamic Routing Gateway (DRG) and is forced by the VCN RT: vcn-hub-ingress to pass through a NFW-hub. After inspection, the NFW-hub uses RT: vcn-hub-fw to route the packet back to the DRG and then to the vcn-spoke-B. The response packet follows similar flow to get back to the VM-A1.

 

License

Copyright (c) 2024 Oracle and/or its affiliates.

Licensed under the Universal Permissive License (UPL), Version 1.0.

See LICENSE for more details.