| Lesson 1 | Oracle Networking Concepts |
| Objective | Explain Oracle Networking Concepts in Oracle 23ai and how OCI protocols differ from Oracle 11g R2 on-premises networking |
Oracle has led the way in implementing distributed database connectivity since the early days of client/server computing. The networking layer that connects applications to Oracle databases has evolved continuously — from SQL*Net in Oracle7, through Net8 in Oracle8, through Oracle Net Services in Oracle9i and beyond, to the cloud-native networking model used in Oracle Database 23ai and Oracle Cloud Infrastructure today. This module examines that evolution and builds the foundation for understanding Oracle's current networking architecture.
Oracle 11g R2 still accounts for an estimated 10–15% of on-premises Oracle database installations worldwide. For organizations running 11g R2, the networking model is familiar — TCP/IP on port 1521, tnsnames.ora on every client machine, and listener.ora on every server. For organizations moving to Oracle 23ai — whether on-premises or in OCI — the underlying Oracle Net protocol has not changed, but the infrastructure, security model, and operational approach are dramatically more modern. This lesson explains both worlds and the demarcation between them.
Oracle's network interface layer has carried several names across releases, each reflecting the Oracle version it shipped with:
The SQL*Net → Net8 → Oracle Net Services upgrade path was relevant for organizations moving from Oracle7 or Oracle8 to Oracle9i. Those upgrade procedures — involving the Oracle Universal Installer, the Database Upgrade Assistant, and configuration file parameter replacements — are now historical context. No supported Oracle release requires migration from SQL*Net 2.x or Net8 8.0. The current focus is the transition from Oracle 11g R2 on-premises networking to Oracle 23ai and OCI.
Oracle Database 23ai uses the same foundational Oracle Net Services layer that has powered Oracle connectivity for decades. Oracle Net Services is a software layer residing on both the client and the database server that establishes and maintains connections between applications and Oracle Database in distributed, heterogeneous environments. The core components are unchanged from prior releases, with specific 23ai enhancements:
lsnrctl utility. In Oracle 23ai, listener error messages have been improved —
ORA-12514 now includes a CONNECTION_ID to aid diagnostics.//hostname:port/service_name. Oracle 23ai extends Easy Connect Plus to support
LDAP/LDAPS parameters, ADDRESS_LIST grouping, and additional connection properties directly
in the connection string without a tnsnames.ora entry.The tnsnames.ora file remains supported in Oracle 23ai for backward compatibility and for configurations that require full connection descriptor control. The SERVICE_NAME parameter — introduced to replace the legacy SID parameter in Oracle 8.1 — is the correct identifier in all modern tnsnames.ora entries. The following example shows the Oracle 23ai tnsnames.ora syntax for a single-address connection:
sales =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCPS)(HOST = sales-server)(PORT = 2484))
(CONNECT_DATA =
(SERVICE_NAME = sales.us.example.com))
(SECURITY =
(SSL_SERVER_DN_MATCH = YES)))
Note that the protocol is now TCPS rather than tcp — reflecting the
Oracle 23ai recommendation to use TLS encryption for all connections. The port has moved from
1521 to 2484, the standard TCPS listener port. For environments requiring load balancing and
connect-time failover across multiple addresses:
sales =
(DESCRIPTION =
(ADDRESS_LIST =
(FAILOVER = ON)
(LOAD_BALANCE = ON)
(ADDRESS = (PROTOCOL = TCPS)(HOST = sales1-server)(PORT = 2484))
(ADDRESS = (PROTOCOL = TCPS)(HOST = sales2-server)(PORT = 2484)))
(CONNECT_DATA =
(SERVICE_NAME = sales.us.example.com))
(SECURITY =
(SSL_SERVER_DN_MATCH = YES)))
The Easy Connect Plus equivalent for the single-address connection above eliminates the tnsnames.ora entry entirely:
tcps://sales-server:2484/sales.us.example.com?ssl_server_dn_match=yes
The core database protocol — Oracle Net over TCP/TCPS — has not changed between Oracle 11g R2 and Oracle 23ai in OCI. A client using a 11g R2 tnsnames.ora entry can still connect to a 23ai database using the same TNS syntax. What has changed fundamentally is the network infrastructure, security model, and operational management layer beneath Oracle Net.
| Aspect | Oracle 11g R2 On-Premises | Oracle 23ai in OCI |
| Core transport | TCP/IP on port 1521 — plain TCP default, TCPS optional | TCP or TCPS — TCPS with TLS 1.3 mandatory for Autonomous DB, strongly recommended for all others |
| Encryption | Optional Native Network Encryption or TCPS with TLS 1.0/1.1/1.2; Advanced Security Option license required in some cases | TCPS with TLS 1.3 standard; system wallets simplify one-way TLS; no extra license for basic TLS |
| Authentication | OS authentication, password, Kerberos, certificates | Same plus OCI IAM token and OAuth 2.0 — no password in connection string |
| Client configuration | tnsnames.ora distributed to every client machine manually | Centralized Configuration Providers in OCI Object Storage — zero-touch client config |
| Network infrastructure | Physical NICs, on-premises switches, routers, firewalls, manual ACLs | Virtual Cloud Network (VCN), subnets, Network Security Groups, Service Gateways, FastConnect — software-defined and policy-driven |
| Default network posture | Public IP exposure or VPN/firewall rules required to restrict access | Private endpoints in VCN by default — public access only if explicitly enabled via Internet Gateway |
| Performance | Standard TCP, manual SDU tuning | TCP Fast Open, 64 KB default SDU, Oracle backbone low-latency routing |
| Management | Manual lsnrctl, OS-level firewall rules, sqlnet.ora parameters | OCI Console, Network Security Groups, OCI Network Firewall, automatic patching and scaling |
For organizations still running Oracle 11g R2 on-premises, the transition to Oracle 23ai in OCI does not require learning a new database protocol. Oracle Net still runs over TCP/TCPS and the tnsnames.ora syntax is backward compatible. What does change is the operational model: manual TCP and firewall management is replaced by OCI's software-defined VCN with private-by-default connectivity, TLS 1.3 as the standard rather than the exception, and centralized configuration that eliminates the distributed tnsnames.ora maintenance problem that has challenged Oracle DBAs since SQL*Net version 2.
The lessons in this module build the conceptual and technical foundation for Oracle distributed networking, covering three core areas:
Later lessons in this module examine each component in detail: the evolution from centralized to distributed database architectures, Oracle distributed database features, replication and distribution strategies, service naming, database links, TNS architecture, Oracle Net Services connection management, and the SQL*Net version history that led to the modern Oracle Net Services stack. The next lesson covers the history of networking and the evolution from centralized to decentralized computing.