---
name: "rport"
section: "4"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/rport"
---

# rport(4)

rdomain port interface pseudo-device

## NAME

**rport** – rdomain port interface pseudo-device

## SYNOPSIS

**pseudo-device rport**

## DESCRIPTION

The **rport** driver provides point-to-point interfaces for layer 3 connectivity between [rdomain(4)](/rdomain/4.md) instances.

Layer 3 connectivity between a pair of rdomains can be established by creating an **rport** interface in each rdomain, and connecting them together by configuring one of these interfaces as the parent of the other.

**rport** interfaces can be created at runtime using the **ifconfig** **rport***N* **create** command or by setting up a [hostname.if(5)](/hostname.if/5.md) configuration file for [netstart(8)](/netstart/8.md). The interface itself can be configured with [ifconfig(8)](/ifconfig/8.md); see its manual page for more information.

## EXAMPLES

Create two **rport** interfaces in separate [rdomain(4)](/rdomain/4.md) instances and connect them together:

```
# ifconfig rport0 create rdomain 0 up
# ifconfig rport1 create rdomain 1 parent rport0 up
# ifconfig rport0 inet 192.168.0.0/32 192.168.0.1
# ifconfig rport1 inet 192.168.0.1/32 192.168.0.0
```

## SEE ALSO

[netintro(4)](/netintro/4.md), [veb(4)](/veb/4.md), [hostname.if(5)](/hostname.if/5.md), [pf.conf(5)](/pf.conf/5.md), [ifconfig(8)](/ifconfig/8.md), [netstart(8)](/netstart/8.md)

## HISTORY

The **rport** driver first appeared in OpenBSD 7.6.

## AUTHORS

David Gwynne ⟨*dlg@openbsd.org*⟩.

## CAVEATS

A pair of **rport** interfaces must be created for each connection between a pair of rdomains. Alternatively, if peering between multiple [rdomain(4)](/rdomain/4.md) instances is required, a single [veb(4)](/veb/4.md) interface with a vport(4) interface for each rdomain can be used instead.
