RPORT(4) FreeBSD Kernel Interfaces Manual RPORT(4)
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) 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 rportN
create command or by setting up a hostname.if(5) configuration file for
netstart(8). The interface itself can be configured with ifconfig(8);
see its manual page for more information.
EXAMPLES
Create two rport interfaces in separate rdomain(4) 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), veb(4), hostname.if(5), pf.conf(5), ifconfig(8), netstart(8)
HISTORY
The rport driver first appeared in OpenBSD 7.6.
AUTHORS
David Gwynne <
[email protected]>.
CAVEATS
A pair of rport interfaces must be created for each connection between a
pair of rdomains. Alternatively, if peering between multiple rdomain(4)
instances is required, a single veb(4) interface with a vport(4)
interface for each rdomain can be used instead.
FreeBSD 14.1-RELEASE-p8 August 31, 2024 FreeBSD 14.1-RELEASE-p8