summaryrefslogtreecommitdiffstats
path: root/share/man/man4/natmip.4
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-08 10:31:12 +0000
committerru <ru@FreeBSD.org>2004-07-08 10:31:12 +0000
commit54adde43e3db43893e9824235a81823cf679c051 (patch)
tree9633dc5aa9a7c09ac83bb96f74d275b65d77e839 /share/man/man4/natmip.4
parent64c32415ce9ffa8cd1c9daad2badb08c90241e48 (diff)
downloadFreeBSD-src-54adde43e3db43893e9824235a81823cf679c051.zip
FreeBSD-src-54adde43e3db43893e9824235a81823cf679c051.tar.gz
Markup fixes.
Diffstat (limited to 'share/man/man4/natmip.4')
-rw-r--r--share/man/man4/natmip.444
1 files changed, 23 insertions, 21 deletions
diff --git a/share/man/man4/natmip.4 b/share/man/man4/natmip.4
index f51df42..154e97d 100644
--- a/share/man/man4/natmip.4
+++ b/share/man/man4/natmip.4
@@ -3,7 +3,7 @@
.\" Fraunhofer Institute for Open Communication Systems (FhG Fokus).
.\" All rights reserved.
.\"
-.\" Author: Hartmut Brandt <harti@freebsd.org>
+.\" Author: Hartmut Brandt <harti@FreeBSD.org>
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -43,10 +43,12 @@ Without any
additional signalling stacks or other modules it is possible to build
a CLIP (classical IP over ATM) network based on PVCs.
.Pp
-An ATM network card (en0 in this example) is configured for IP by something
+An ATM network card
+.Li ( en0
+in this example) is configured for IP by something
like:
.Pp
-.Dl # ifconfig en0 128.252.200.1 netmask 0xffffff00 up
+.Dl "ifconfig en0 128.252.200.1 netmask 0xffffff00 up"
.Pp
IP routing is done with special interface routes (routes with directly
reachable destinations) with a link layer gateway address.
@@ -128,20 +130,20 @@ The cutoff decrease factor (CDF).
.El
.Pp
To add a PVC the
-.Dq route
+.Xr route 8
utility can be used:
-.Pp
-.Ic # route add -iface
-.Ar <remote IP address>
-.Ic -link
-.Ar <iface> Ns Ic \&: Ns Ar <lladdr>
+.Bd -ragged -offset indent
+.Nm route Cm add
+.Fl iface Aq Ar "remote\ IP\ address"
+.Fl link Ao Ar iface Ac : Ns Aq Ar lladdr
+.Ed
.Pp
The
-.Ar <iface>
+.Ar iface
is the ATM interface through which
-.Ar <remote IP address>
+.Ar "remote\ IP\ address"
can be reached and
-.Ar <lladdr>
+.Ar lladdr
is the link layer address as a string of dot-separated, hexadecimal bytes.
.Pp
NATM also supports the old, original format.
@@ -185,23 +187,23 @@ To enable the links use the following commands:
.Pp
on host 128.252.200.1:
.Bd -literal -offset indent -compact
-# ifconfig en0 128.252.200.1 netmask 0xffffff00 up
-# route add -iface 128.252.200.2 -link en0:3.0.0.c9.0
-# route add -iface 128.252.200.3 -link en0:3.0.0.ca.3.0.c3.50.0.27.10.0.0.a
+ifconfig en0 128.252.200.1 netmask 0xffffff00 up
+route add -iface 128.252.200.2 -link en0:3.0.0.c9.0
+route add -iface 128.252.200.3 -link en0:3.0.0.ca.3.0.c3.50.0.27.10.0.0.a
.Ed
.Pp
on host 128.252.200.2:
.Bd -literal -offset indent -compact
-# ifconfig en0 128.252.200.2 netmask 0xffffff00 up
-# route add -iface 128.252.200.1 -link en0:3.0.0.c9.0
-# route add -iface 128.252.200.3 -link en0:3.0.0.cb.1.1.86.a0
+ifconfig en0 128.252.200.2 netmask 0xffffff00 up
+route add -iface 128.252.200.1 -link en0:3.0.0.c9.0
+route add -iface 128.252.200.3 -link en0:3.0.0.cb.1.1.86.a0
.Ed
.Pp
on host 128.252.200.3:
.Bd -literal -offset indent -compact
-# ifconfig en0 128.252.200.3 netmask 0xffffff00 up
-# route add -iface 128.252.200.1 -link en0:3.0.0.ca.3.0.c3.50.0.27.10.0.0.a
-# route add -iface 128.252.200.2 -link en0:3.0.0.cb.1.1.86.a0
+ifconfig en0 128.252.200.3 netmask 0xffffff00 up
+route add -iface 128.252.200.1 -link en0:3.0.0.ca.3.0.c3.50.0.27.10.0.0.a
+route add -iface 128.252.200.2 -link en0:3.0.0.cb.1.1.86.a0
.Ed
.Pp
This can also be done in
OpenPOWER on IntegriCloud