diff options
Diffstat (limited to 'share/man/man4/rdomain.4')
-rw-r--r-- | share/man/man4/rdomain.4 | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/share/man/man4/rdomain.4 b/share/man/man4/rdomain.4 index 87b5a9abdd4..abdff8efbb7 100644 --- a/share/man/man4/rdomain.4 +++ b/share/man/man4/rdomain.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rdomain.4,v 1.5 2015/02/05 20:46:30 sthen Exp $ +.\" $OpenBSD: rdomain.4,v 1.6 2015/02/06 01:01:31 schwarze Exp $ .\" .\" Copyright (c) 2015 Peter Hessler <phessler@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 5 2015 $ +.Dd $Mdocdate: February 6 2015 $ .Dt RDOMAIN 4 .Os .Sh NAME @@ -23,23 +23,26 @@ .Nd routing tables and routing domains .Sh DESCRIPTION The traditional kernel routing system had a single table for routes and -allowed for non-conflicting IP address assignments. +allowed only non-conflicting IP address assignments. +The .Nm rtable -and +feature allows multiple lookup tables for routes. +The .Nm rdomain -allows us to have separate lookup tables for routes, -and assign IP addresses independently from other interfaces. +feature makes it possible to assign the same IP address to more than one +interface. .Ss Routing tables +Each .Nm rtable -allows one to set a different route table for outbound network packets. -As with the traditional routing system, IP addresses cannot overlap. -You can have multiple -.Nm rtable -within the same routing domain. -Commonly used to set Policy Based Routing. +contains routes for outbound network packets. +A routing domain can contain more than one +.Nm rtable . +Within a domain, IP addresses used for different interfaces cannot overlap. +Multiple routing tables are commonly used for Policy Based Routing. .Ss Routing domains +Each .Nm rdomain -are completely separate routing domains and tables in the kernel. +is a completely separate address space in the kernel. An IP address (e.g. 10.0.0.1/16) can be assigned in more than one .Nm rdomain , but @@ -54,7 +57,7 @@ be in. Virtual interfaces do not need to belong to the same .Nm rdomain as the parent. -An +Each .Nm rdomain contains at least one routing table. .Sh EXAMPLES |