NetBSD/share/man/man4/ippp.4

140 lines
3.8 KiB
Groff
Raw Normal View History

2014-03-18 22:20:35 +04:00
.\" $NetBSD: ippp.4,v 1.10 2014/03/18 18:20:39 riastradh Exp $
.\"
.\" 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 $
.\"
.\" $FreeBSD$
.\"
.\" last edit-date: [Thu Aug 31 10:40:17 2000]
.\"
.Dd August 31, 2000
.Dt IPPP 4
.Os
.Sh NAME
.Nm ippp
.Nd ISDN synchronous PPP network driver
.Sh SYNOPSIS
.Cd "pseudo-device ippp" Ar count
.Sh DESCRIPTION
The
.Nm
driver interfaces the IP subsystem of the operating system with the
ISDN layer so that a transport of IP packets over an ISDN link
is possible.
.Pp
For configuration of the
.Nm
driver, either the
.Xr ipppctl 8
utility is used or it is configured via
.Xr isdnd 8
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
.Xr tcpdump 8
with the
.Nm
interfaces.
.Pp
The
.Xr ipppctl 8
utility is used to configure all aspects of PPP required to connect to a
remote site.
.Ss LINK0 and LINK1
The
.Em link0
and
.Em link1
flags given as parameters to
.Xr ifconfig 8
have the following meaning for the
.Nm
devices:
2009-03-15 13:31:04 +03:00
.Bl -tag -width link0
.It Li link0
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 ) .
This can be used by lower layers to support a dial-in connection where
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.
.It Li link1
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.
.El
.Pp
The
.Em link0
flag is set to
.Em off
by default, the
.Em link1
flag to
.Em on .
.Sh SEE ALSO
.Xr bpf 4 ,
.Xr isdnd.rc 5 ,
.Xr ipppctl 8 ,
2002-07-29 04:59:43 +04:00
.Xr isdnd 8 ,
.Xr tcpdump 8
2001-04-09 17:13:15 +04:00
.Sh AUTHORS
.An -nosplit
The
.Nm
device driver was written by
2013-07-21 01:39:55 +04:00
.An Joerg Wunsch Aq Mt joerg@freebsd.org
and then added to ISDN4BSD by
2013-07-21 01:39:55 +04:00
.An Gary Jennejohn Aq Mt gary@freebsd.org .
.Pp
This man page was written by
2013-07-21 01:39:55 +04:00
.An Hellmuth Michaelis Aq Mt hm@kts.org .