summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-06 01:01:32 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-06 01:01:32 +0000
commitbbde7cd44ffa83902f3c8a1ffbf6913b9f14b874 (patch)
tree82c560ed8ed3652f40aeaff7ab054d7a6466ed8c /share
parent728a143aa7c5e0c58982ee86af7a922c111c02d1 (diff)
tweak wording, using feedback from sthen@ and jmc@; ok phessler@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/rdomain.431
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