2014-03-18 22:20:35 +04:00
|
|
|
.\" $NetBSD: ippp.4,v 1.10 2014/03/18 18:20:39 riastradh Exp $
|
2001-01-05 18:43:14 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1997, 2000 Hellmuth Michaelis. All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
2014-03-18 22:20:35 +04:00
|
|
|
.\" $Id: ippp.4,v 1.10 2014/03/18 18:20:39 riastradh Exp $
|
2001-01-05 18:43:14 +03:00
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
|
|
|
.\" last edit-date: [Thu Aug 31 10:40:17 2000]
|
|
|
|
.\"
|
|
|
|
.Dd August 31, 2000
|
2002-03-16 20:57:34 +03:00
|
|
|
.Dt IPPP 4
|
2001-01-05 18:43:14 +03:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
2002-03-16 20:57:34 +03:00
|
|
|
.Nm ippp
|
2002-07-29 04:42:56 +04:00
|
|
|
.Nd ISDN synchronous PPP network driver
|
2001-05-12 17:21:44 +04:00
|
|
|
.Sh SYNOPSIS
|
2002-03-16 20:57:34 +03:00
|
|
|
.Cd "pseudo-device ippp" Ar count
|
2001-01-05 18:43:14 +03:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2001-04-04 14:05:01 +04:00
|
|
|
driver interfaces the IP subsystem of the operating system with the
|
2002-07-29 04:42:56 +04:00
|
|
|
ISDN layer so that a transport of IP packets over an ISDN link
|
2001-01-05 18:43:14 +03:00
|
|
|
is possible.
|
|
|
|
.Pp
|
2002-03-16 20:57:34 +03:00
|
|
|
For configuration of the
|
2001-05-12 17:21:44 +04:00
|
|
|
.Nm
|
|
|
|
driver, either the
|
2002-03-16 20:57:34 +03:00
|
|
|
.Xr ipppctl 8
|
2001-01-05 18:43:14 +03:00
|
|
|
utility is used or it is configured via
|
2001-04-04 14:05:01 +04:00
|
|
|
.Xr isdnd 8
|
2001-01-05 18:43:14 +03:00
|
|
|
and its associated
|
|
|
|
.Xr isdnd.rc 5
|
|
|
|
file.
|
|
|
|
.Pp
|
|
|
|
In case an IP packet for a remote side arrives in the driver and no
|
|
|
|
connection is established yet, the driver communicates with the
|
|
|
|
.Xr isdnd 8
|
|
|
|
daemon to establish a connection.
|
|
|
|
.Pp
|
|
|
|
The driver has support for interfacing to the
|
|
|
|
.Xr bpf 4
|
|
|
|
subsystem for using
|
2001-04-04 14:05:01 +04:00
|
|
|
.Xr tcpdump 8
|
2001-01-05 18:43:14 +03:00
|
|
|
with the
|
2002-03-16 20:57:34 +03:00
|
|
|
.Nm
|
2001-01-05 18:43:14 +03:00
|
|
|
interfaces.
|
|
|
|
.Pp
|
2001-04-04 14:05:01 +04:00
|
|
|
The
|
2002-03-16 20:57:34 +03:00
|
|
|
.Xr ipppctl 8
|
2001-01-05 18:43:14 +03:00
|
|
|
utility is used to configure all aspects of PPP required to connect to a
|
|
|
|
remote site.
|
2002-08-30 17:38:38 +04:00
|
|
|
.Ss LINK0 and LINK1
|
2001-01-05 18:43:14 +03:00
|
|
|
The
|
|
|
|
.Em link0
|
2001-04-04 14:05:01 +04:00
|
|
|
and
|
2001-01-05 18:43:14 +03:00
|
|
|
.Em link1
|
|
|
|
flags given as parameters to
|
|
|
|
.Xr ifconfig 8
|
|
|
|
have the following meaning for the
|
2002-03-16 20:57:34 +03:00
|
|
|
.Nm
|
2001-01-05 18:43:14 +03:00
|
|
|
devices:
|
2009-03-15 13:31:04 +03:00
|
|
|
.Bl -tag -width link0
|
2001-04-04 14:05:01 +04:00
|
|
|
.It Li link0
|
2002-08-30 17:38:38 +04:00
|
|
|
Wait passively for connection.
|
|
|
|
The administrative
|
|
|
|
.Em Open
|
|
|
|
event to the Link Control Protocol (LCP) layer will be delayed until
|
|
|
|
after the lower layers signal an
|
|
|
|
.Em Up
|
|
|
|
event (rise of
|
|
|
|
.Dq carrier ) .
|
2003-05-06 23:05:35 +04:00
|
|
|
This can be used by lower layers to support a dial-in connection where
|
2002-08-30 17:38:38 +04:00
|
|
|
the physical layer isn't available immediately at startup, but only
|
|
|
|
after some external event arrives.
|
|
|
|
Receipt of a
|
|
|
|
.Em Down
|
|
|
|
event from the lower layer will not take the interface completely down
|
|
|
|
in this case.
|
2001-01-05 18:43:14 +03:00
|
|
|
.It Li link1
|
2002-08-30 17:38:38 +04:00
|
|
|
Dial-on-demand mode.
|
|
|
|
The administrative
|
|
|
|
.Em Open
|
|
|
|
event to the LCP layer will be delayed until either an outbound
|
|
|
|
network packet arrives, or until the lower layer signals an
|
|
|
|
.Em Up
|
|
|
|
event, indicating an inbound connection.
|
|
|
|
As with passive mode, receipt of a
|
|
|
|
.Em Down
|
|
|
|
event (loss of carrier) will not automatically take the interface
|
|
|
|
down, thus it remains available for further connections.
|
2001-01-05 18:43:14 +03:00
|
|
|
.El
|
|
|
|
.Pp
|
2001-04-04 14:05:01 +04:00
|
|
|
The
|
|
|
|
.Em link0
|
2002-08-30 17:38:38 +04:00
|
|
|
flag is set to
|
2001-01-05 18:43:14 +03:00
|
|
|
.Em off
|
2002-08-30 17:38:38 +04:00
|
|
|
by default, the
|
|
|
|
.Em link1
|
|
|
|
flag to
|
|
|
|
.Em on .
|
2001-01-05 18:43:14 +03:00
|
|
|
.Sh SEE ALSO
|
2001-04-04 14:05:01 +04:00
|
|
|
.Xr bpf 4 ,
|
|
|
|
.Xr isdnd.rc 5 ,
|
2002-03-16 20:57:34 +03:00
|
|
|
.Xr ipppctl 8 ,
|
2002-07-29 04:59:43 +04:00
|
|
|
.Xr isdnd 8 ,
|
2001-04-04 14:05:01 +04:00
|
|
|
.Xr tcpdump 8
|
2001-04-09 17:13:15 +04:00
|
|
|
.Sh AUTHORS
|
2005-06-23 16:47:38 +04:00
|
|
|
.An -nosplit
|
2001-01-05 18:43:14 +03:00
|
|
|
The
|
|
|
|
.Nm
|
2001-04-04 14:05:01 +04:00
|
|
|
device driver was written by
|
2013-07-21 01:39:55 +04:00
|
|
|
.An Joerg Wunsch Aq Mt joerg@freebsd.org
|
2001-04-04 14:05:01 +04:00
|
|
|
and then added to ISDN4BSD by
|
2013-07-21 01:39:55 +04:00
|
|
|
.An Gary Jennejohn Aq Mt gary@freebsd.org .
|
2001-01-05 18:43:14 +03:00
|
|
|
.Pp
|
2002-07-29 04:42:56 +04:00
|
|
|
This man page was written by
|
2013-07-21 01:39:55 +04:00
|
|
|
.An Hellmuth Michaelis Aq Mt hm@kts.org .
|