2017-07-04 00:28:48 +03:00
|
|
|
.\" $NetBSD: pppoe.4,v 1.39 2017/07/03 21:30:58 wiz Exp $
|
2001-12-10 23:49:29 +03:00
|
|
|
.\"
|
2002-04-14 15:42:55 +04:00
|
|
|
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
2003-02-14 18:20:17 +03:00
|
|
|
.\" by Martin Husemann <martin@NetBSD.org>.
|
2001-12-10 23:49:29 +03:00
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
2002-04-14 15:42:55 +04:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
|
2001-12-10 23:49:29 +03:00
|
|
|
.\"
|
2016-08-07 04:59:43 +03:00
|
|
|
.Dd August 7, 2016
|
2001-12-10 23:49:29 +03:00
|
|
|
.Dt PPPOE 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm pppoe
|
2001-12-18 16:33:18 +03:00
|
|
|
.Nd PPP over Ethernet protocol network interface
|
2001-12-10 23:49:29 +03:00
|
|
|
.Sh SYNOPSIS
|
2004-12-08 21:33:32 +03:00
|
|
|
.Cd pseudo-device pppoe
|
2001-12-10 23:49:29 +03:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2002-02-04 01:34:49 +03:00
|
|
|
interface encapsulates
|
2001-12-10 23:49:29 +03:00
|
|
|
.Em Point-to-Point Protocol (PPP)
|
2001-12-18 16:33:18 +03:00
|
|
|
packets inside Ethernet frames as defined by
|
2001-12-10 23:49:29 +03:00
|
|
|
.Li RFC2516 .
|
|
|
|
.Pp
|
|
|
|
This is often used to connect a router via a DSL modem to
|
2003-04-19 14:56:51 +04:00
|
|
|
an access concentrator.
|
|
|
|
The
|
2001-12-10 23:49:29 +03:00
|
|
|
.Nm
|
|
|
|
interface does not by itself transmit or receive frames,
|
2003-04-19 14:56:51 +04:00
|
|
|
but needs an Ethernet interface to do so.
|
|
|
|
This Ethernet interface is connected to the
|
2001-12-10 23:49:29 +03:00
|
|
|
.Nm
|
|
|
|
interface via
|
|
|
|
.Xr pppoectl 8 .
|
2001-12-18 16:33:18 +03:00
|
|
|
The Ethernet interface needs to be marked UP, but does not need to have an
|
2001-12-10 23:49:29 +03:00
|
|
|
IP address.
|
|
|
|
.Pp
|
|
|
|
There are two basic modes of operation, controlled via the
|
|
|
|
.Em link1
|
2003-04-19 14:56:51 +04:00
|
|
|
switch.
|
|
|
|
The default mode,
|
2001-12-10 23:49:29 +03:00
|
|
|
.Em link1
|
|
|
|
not being set, tries to keep the configured session open all the
|
2003-04-19 14:56:51 +04:00
|
|
|
time.
|
|
|
|
If the session is disconnected, a new connection attempt is started
|
|
|
|
immediately.
|
|
|
|
The
|
2001-12-10 23:49:29 +03:00
|
|
|
.Dq dial on demand
|
|
|
|
mode, selected by setting
|
|
|
|
.Em link1 ,
|
|
|
|
only establishes a connection when data is being sent to the interface.
|
|
|
|
.Pp
|
2004-12-05 16:17:35 +03:00
|
|
|
If the kernel is compiled with options
|
|
|
|
.Dv PPPOE_SERVER ,
|
2003-06-29 20:59:51 +04:00
|
|
|
there are two modes of connection, controlled via the
|
|
|
|
.Em link0
|
|
|
|
switch.
|
|
|
|
The default mode,
|
|
|
|
.Em link0
|
2003-07-04 16:54:14 +04:00
|
|
|
not being set, is client mode.
|
2003-06-29 20:59:51 +04:00
|
|
|
The
|
|
|
|
.Dq PPPoE server
|
|
|
|
mode, selected by setting
|
2003-07-04 16:54:14 +04:00
|
|
|
.Em link0 ,
|
|
|
|
is to wait for incoming PPPoE session.
|
2003-06-29 20:59:51 +04:00
|
|
|
.Pp
|
2001-12-10 23:49:29 +03:00
|
|
|
Before a
|
|
|
|
.Nm
|
2003-04-19 14:56:51 +04:00
|
|
|
interface is usable, it needs to be configured.
|
|
|
|
The following steps are necessary:
|
2001-12-10 23:49:29 +03:00
|
|
|
.Bl -bullet
|
|
|
|
.It
|
2002-07-16 13:03:10 +04:00
|
|
|
Create the interface.
|
2001-12-10 23:49:29 +03:00
|
|
|
.It
|
2002-07-16 13:03:10 +04:00
|
|
|
Connect an Ethernet interface.
|
2003-04-19 14:56:51 +04:00
|
|
|
This interface is used for the physical communication.
|
|
|
|
As noted above it must be marked UP, but need not have an IP address.
|
2001-12-10 23:49:29 +03:00
|
|
|
.It
|
2002-07-16 13:03:10 +04:00
|
|
|
Configure authentication.
|
2003-04-19 14:56:51 +04:00
|
|
|
The PPP session needs to identify the client to the peer.
|
|
|
|
For more details on the available options see
|
2001-12-10 23:49:29 +03:00
|
|
|
.Xr pppoectl 8 .
|
|
|
|
.El
|
2001-12-18 16:33:18 +03:00
|
|
|
.Pp
|
|
|
|
This all is typically accomplished using an
|
2001-12-11 03:08:52 +03:00
|
|
|
.Pa /etc/ifconfig.pppoe0
|
|
|
|
file.
|
2002-07-16 02:03:00 +04:00
|
|
|
.Ss MSS/MTU problems
|
2002-01-13 21:40:52 +03:00
|
|
|
If you are using a
|
|
|
|
.Nm
|
2009-05-27 23:23:59 +04:00
|
|
|
interface, you will have an unusually low MTU for today's Internet.
|
2002-01-14 16:46:53 +03:00
|
|
|
Combined with a lot of misconfigured sites (host using path MTU discovery
|
2002-01-13 21:40:52 +03:00
|
|
|
behind a router blocking all ICMP traffic) this will often cause problems.
|
2003-02-05 00:56:34 +03:00
|
|
|
Connections to these servers will only work if your system advertises the
|
2002-07-16 02:03:00 +04:00
|
|
|
right MSS in the TCP three way handshake.
|
|
|
|
To get the right MSS, you need to set
|
|
|
|
.Bd -literal -offset indent
|
2002-02-06 22:17:01 +03:00
|
|
|
# Obey interface MTUs when calculating MSS
|
2002-01-13 21:40:52 +03:00
|
|
|
net.inet.tcp.mss_ifmtu=1
|
|
|
|
.Ed
|
2002-01-14 16:46:53 +03:00
|
|
|
.Pp
|
2002-01-13 21:40:52 +03:00
|
|
|
in your
|
|
|
|
.Pa /etc/sysctl.conf
|
|
|
|
file.
|
|
|
|
This causes the calculated MSS to be based on the MTU of the interface
|
2002-07-16 02:03:00 +04:00
|
|
|
via which the packet is sent.
|
|
|
|
This is always the right value if you are sure the answer to this packet
|
|
|
|
will be received on the same interface (i.e., you only have one interface
|
|
|
|
connected to the Internet.)
|
2002-01-13 21:40:52 +03:00
|
|
|
.Pp
|
2002-02-04 01:22:45 +03:00
|
|
|
Unfortunately this sysctl does not fix the MSS advertised by hosts in
|
2002-01-13 21:40:52 +03:00
|
|
|
the network behind a
|
|
|
|
.Nm
|
2003-04-19 14:56:51 +04:00
|
|
|
connected router.
|
|
|
|
To fix this you need
|
2003-04-19 14:08:40 +04:00
|
|
|
.Em MSS-clamping ,
|
|
|
|
explained below.
|
2002-07-16 02:03:00 +04:00
|
|
|
.Ss Setting up NAT with MSS-clamping
|
|
|
|
Some systems behind misconfigured firewalls try to use
|
|
|
|
Path-MTU-Discovery, while their firewall blocks all ICMP messages.
|
|
|
|
This is an illegal, but not uncommon, setup.
|
|
|
|
Typically you will have no chance to fix this (remote, outside of your
|
|
|
|
control) setup.
|
|
|
|
And sometimes you will have to use such remote systems (to download
|
|
|
|
data from them, or to do your online banking).
|
|
|
|
.Pp
|
|
|
|
Without special care systems as described above will not be able
|
|
|
|
to send larger chunks of data to a system connected via
|
2003-02-25 13:34:36 +03:00
|
|
|
.Nm .
|
2002-07-16 02:03:00 +04:00
|
|
|
But there is a workaround (some may call it cheating): pretend to not
|
|
|
|
be able to handle large packets, by sending a small MSS (maximum
|
|
|
|
segment size) option during initial TCP handshake.
|
|
|
|
.Pp
|
|
|
|
For connections originating from your
|
|
|
|
.Nm
|
|
|
|
connected machines, this is accomplished by setting the sysctl
|
|
|
|
variable
|
|
|
|
.Dv net.inet.tcp.mss_ifmtu
|
2002-07-16 13:03:10 +04:00
|
|
|
to 1 (see above).
|
2002-07-16 02:03:00 +04:00
|
|
|
For connections originating from systems behind your
|
|
|
|
.Nm
|
|
|
|
router, you need to set the
|
|
|
|
.Dv mssclamp
|
|
|
|
options in your NAT rules, like in this example of
|
|
|
|
.Pa /etc/ipnat.conf :
|
|
|
|
.Bd -literal -offset indent
|
2017-07-04 00:28:48 +03:00
|
|
|
map pppoe0 192.168.1.0/24 -> 0/32 portmap tcp/udp 44000:49999 mssclamp 1440
|
|
|
|
map pppoe0 192.168.1.0/24 -> 0/32 mssclamp 1440
|
2002-07-16 02:03:00 +04:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2003-05-14 11:59:00 +04:00
|
|
|
If you do not use NAT, you need to set up a 1:1 NAT rule, just to
|
2002-07-16 02:03:00 +04:00
|
|
|
get the clamping:
|
|
|
|
.Bd -literal -offset indent
|
2017-07-04 00:28:48 +03:00
|
|
|
map pppoe0 x.x.x.x/24 -> 0/0 mssclamp 1440
|
2002-07-16 02:03:00 +04:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2003-04-19 14:56:51 +04:00
|
|
|
The above examples assume a MTU of 1492 bytes.
|
|
|
|
If the MTU on your PPPoE connection is smaller use the MTU \- 52 bytes for
|
|
|
|
clamping e.g. 1408 bytes for a MTU of 1460 bytes.
|
2002-07-16 02:03:00 +04:00
|
|
|
.Em Note :
|
2003-02-11 11:18:35 +03:00
|
|
|
The theoretically correct value for the above example would be 1452 bytes
|
|
|
|
(it accounts for the smaller PPPoE MTU, the TCP header and the maximum of
|
|
|
|
0x40 bytes of TCP options) but it seems to not be sufficient in some cases.
|
|
|
|
Experiments conducted by various people have shown that clamping to the MSS
|
|
|
|
values suggested above works best.
|
2001-12-10 23:49:29 +03:00
|
|
|
.Sh EXAMPLES
|
2001-12-11 03:08:52 +03:00
|
|
|
A typical
|
|
|
|
.Pa /etc/ifconfig.pppoe0
|
|
|
|
file looks like this:
|
2002-07-16 02:03:00 +04:00
|
|
|
.Bd -literal -offset indent
|
2001-12-10 23:49:29 +03:00
|
|
|
create
|
|
|
|
! /sbin/ifconfig ne0 up
|
|
|
|
! /sbin/pppoectl -e ne0 $int
|
|
|
|
! /sbin/pppoectl $int myauthproto=pap myauthname=testcaller myauthsecret=donttell
|
2003-10-02 05:21:16 +04:00
|
|
|
inet 0.0.0.0 0.0.0.1 netmask 0xffffffff
|
2001-12-10 23:49:29 +03:00
|
|
|
#! /sbin/route add default -iface 0.0.0.1
|
|
|
|
up
|
|
|
|
.Ed
|
|
|
|
The commented out call to
|
|
|
|
.Xr route 8
|
2001-12-11 03:08:52 +03:00
|
|
|
may be omitted and the route added in the ip-up script called by
|
|
|
|
.Xr ifwatchd 8
|
2003-04-19 14:56:51 +04:00
|
|
|
when the real IP address is known.
|
|
|
|
This is easy in the
|
2001-12-10 23:49:29 +03:00
|
|
|
.Dq connect always
|
2002-02-06 22:17:01 +03:00
|
|
|
mode (link1 not set), but hard to accomplish in the
|
2001-12-10 23:49:29 +03:00
|
|
|
.Dq dial on demand
|
2003-04-19 14:56:51 +04:00
|
|
|
mode (link1 set).
|
|
|
|
In the latter case adding an iface route is an easy workaround.
|
2001-12-10 23:49:29 +03:00
|
|
|
.Pp
|
2001-12-11 03:08:52 +03:00
|
|
|
The
|
2001-12-10 23:49:29 +03:00
|
|
|
.Nm
|
|
|
|
interfaces operate completely inside the kernel, without any userland
|
2003-04-19 14:56:51 +04:00
|
|
|
support.
|
|
|
|
Because of this, a special daemon is used to fire ip-up or
|
2001-12-10 23:49:29 +03:00
|
|
|
down scripts to execute arbitrary code when the PPP session is established
|
2003-04-19 14:56:51 +04:00
|
|
|
and addresses of the interface become available.
|
|
|
|
To enable the usage of
|
2001-12-11 03:08:52 +03:00
|
|
|
.Pa /etc/ppp/ip-up
|
|
|
|
and
|
|
|
|
.Pa /etc/ppp/ip-down
|
|
|
|
for this purpose, simply add
|
2002-07-16 02:03:00 +04:00
|
|
|
.Bd -literal -offset indent
|
2001-12-10 23:49:29 +03:00
|
|
|
ifwatchd=YES
|
|
|
|
.Ed
|
2002-07-16 02:03:00 +04:00
|
|
|
.Pp
|
2001-12-11 03:08:52 +03:00
|
|
|
to
|
|
|
|
.Pa /etc/rc.conf .
|
|
|
|
See
|
2001-12-10 23:49:29 +03:00
|
|
|
.Xr ifwatchd 8
|
2001-12-11 03:08:52 +03:00
|
|
|
for details and parameters passed to these scripts.
|
2001-12-10 23:49:29 +03:00
|
|
|
.Pp
|
|
|
|
Since this is a PPP interface, the addresses assigned to the interface
|
2003-04-19 14:56:51 +04:00
|
|
|
may change during PPP negotiation.
|
|
|
|
There is no fine grained control available
|
|
|
|
for deciding which addresses are acceptable and which are not.
|
|
|
|
For the local side and the
|
2001-12-11 03:08:52 +03:00
|
|
|
remote address there is exactly one choice: hard coded address or wildcard.
|
2001-12-10 23:49:29 +03:00
|
|
|
If a real address is assigned to one side of the connection, PPP negotiation
|
2003-04-19 14:56:51 +04:00
|
|
|
will only agree to exactly this address.
|
|
|
|
If one side is wildcarded, every address suggested by the peer will
|
|
|
|
be accepted.
|
2001-12-10 23:49:29 +03:00
|
|
|
.Pp
|
|
|
|
To wildcard the local address set it to 0.0.0.0, to wildcard the remote
|
2003-04-19 14:56:51 +04:00
|
|
|
address set it to 0.0.0.1.
|
|
|
|
Wildcarding is not available (nor necessary) for IPv6 operation.
|
2002-09-01 21:35:38 +04:00
|
|
|
.Sh OPTIONS
|
|
|
|
A
|
|
|
|
.Nm
|
|
|
|
enabled kernel will not interfere with other
|
|
|
|
.Nm PPPoE
|
2003-04-19 14:56:51 +04:00
|
|
|
implementations running on the same machine.
|
|
|
|
Under special circumstances
|
2002-09-01 21:35:38 +04:00
|
|
|
(details below) this is not desirable, so the
|
|
|
|
.Nm
|
2002-09-02 00:16:47 +04:00
|
|
|
driver can be told to kill all unknown
|
2002-09-01 21:35:38 +04:00
|
|
|
.Nm PPPoE
|
2004-12-05 16:17:35 +03:00
|
|
|
sessions received by the Ethernet interface used for a configured
|
2002-09-01 21:35:38 +04:00
|
|
|
.Nm
|
2003-04-19 14:56:51 +04:00
|
|
|
interface.
|
2004-12-05 16:17:35 +03:00
|
|
|
To do this, add the following to your kernel config file:
|
2002-09-01 21:35:38 +04:00
|
|
|
.Pp
|
2004-12-05 16:17:35 +03:00
|
|
|
.Dl options PPPOE_TERM_UNKNOWN_SESSIONS
|
2002-09-01 21:35:38 +04:00
|
|
|
.Pp
|
2016-08-07 04:59:43 +03:00
|
|
|
and set the value of
|
|
|
|
.Xr sysctl 7
|
2016-08-08 10:28:54 +03:00
|
|
|
variable
|
|
|
|
.Dv net.pppoe.term_unknown
|
|
|
|
to true.
|
2016-08-07 04:59:43 +03:00
|
|
|
.Pp
|
2002-09-02 00:16:47 +04:00
|
|
|
Note that this will break all userland
|
2002-09-01 21:35:38 +04:00
|
|
|
.Nm PPPoE
|
2004-12-05 16:17:35 +03:00
|
|
|
implementations using the same Ethernet interface!
|
2002-09-01 21:35:38 +04:00
|
|
|
.Pp
|
2002-09-01 21:40:07 +04:00
|
|
|
This option is only useful if you have a static IP address assigned and
|
2003-04-19 14:56:51 +04:00
|
|
|
your ISP does not use LCP echo requests to monitor the link status.
|
|
|
|
After a crash or power failure the peer device still tries to send data to
|
|
|
|
the no longer active session on your computer, and might refuse to
|
|
|
|
reestablish a new connection, because there already is an open session.
|
2004-12-05 16:17:35 +03:00
|
|
|
On receipt of such packets, the
|
2002-09-01 21:35:38 +04:00
|
|
|
.Nm
|
2004-12-05 16:17:35 +03:00
|
|
|
driver with this option set will send a PADT packet (request to
|
|
|
|
terminate the session).
|
2003-04-19 14:56:51 +04:00
|
|
|
The peer will immediately disconnect
|
2002-09-01 21:35:38 +04:00
|
|
|
the orphaned session and allow a new one to be established.
|
2006-08-04 14:10:49 +04:00
|
|
|
.Pp
|
|
|
|
To enable
|
|
|
|
.Nm
|
|
|
|
server support in the kernel, use
|
|
|
|
.Pp
|
|
|
|
.Dl options PPPOE_SERVER
|
|
|
|
.Pp
|
|
|
|
As described above, this allows
|
|
|
|
.Nm
|
|
|
|
interfaces to be created and configured for incoming connections by
|
|
|
|
setting the
|
|
|
|
.Dq Li link0
|
|
|
|
flag with
|
2006-08-04 21:08:52 +04:00
|
|
|
.Xr ifconfig 8 .
|
2001-12-10 23:49:29 +03:00
|
|
|
.Sh SEE ALSO
|
2001-12-11 03:08:52 +03:00
|
|
|
.Xr ifwatchd 8 ,
|
|
|
|
.Xr pppoectl 8
|
2001-12-10 23:49:29 +03:00
|
|
|
.Rs
|
|
|
|
.%R RFC
|
|
|
|
.%N 2516
|
|
|
|
.%T "A Method for Transmitting PPP Over Ethernet (PPPoE)"
|
2004-12-05 16:17:35 +03:00
|
|
|
.%D February 1999
|
2001-12-10 23:49:29 +03:00
|
|
|
.Re
|
2012-03-01 02:53:47 +04:00
|
|
|
.Rs
|
|
|
|
.%R RFC
|
|
|
|
.%N 4638
|
2012-03-01 13:08:19 +04:00
|
|
|
.%T "Accommodating a Maximum Transit Unit/Maximum Receive Unit (MTU/MRU) Greater Than 1492 in the Point-to-Point Protocol over Ethernet (PPPoE)"
|
2012-03-01 02:53:47 +04:00
|
|
|
.%D September 2006
|
|
|
|
.Re
|
2001-12-10 23:49:29 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device appeared in
|
|
|
|
.Nx 1.6 .
|
2006-04-28 12:15:30 +04:00
|
|
|
.Sh DEVIATIONS FROM STANDARD
|
2012-03-01 02:53:47 +04:00
|
|
|
The original PPPoE standard,
|
2006-04-28 12:15:30 +04:00
|
|
|
.Li RFC2516 ,
|
2006-04-29 02:13:08 +04:00
|
|
|
requires a maximal MTU of 1492 octets.
|
|
|
|
This value is the maximum conservative
|
2006-04-28 12:15:30 +04:00
|
|
|
value possible, based on the PPPoE header size and the minimum frame size
|
2006-04-29 02:13:08 +04:00
|
|
|
Ethernet interfaces are required to support.
|
2006-04-28 12:15:30 +04:00
|
|
|
.Pp
|
2006-04-29 02:13:08 +04:00
|
|
|
In practice most modern Ethernet interfaces support bigger frames, and
|
2006-04-28 12:15:30 +04:00
|
|
|
many PPPoE services allow the use of (slightly) larger MTUs, to avoid
|
|
|
|
the problems described above.
|
2003-10-02 05:21:16 +04:00
|
|
|
.Pp
|
2006-04-28 12:15:30 +04:00
|
|
|
This implementation allows MTU values as large as possible with the actual
|
2012-03-01 02:53:47 +04:00
|
|
|
MTU of the used Ethernet interface and conforms to the enhancement to the
|
|
|
|
PPPoE standard,
|
|
|
|
.Li RFC4638 ,
|
|
|
|
to request the use of this larger MTU value with the PPPoE server.
|
2006-04-28 12:15:30 +04:00
|
|
|
.Sh BUGS
|
2006-08-04 14:10:49 +04:00
|
|
|
When using the wildcard address 0.0.0.0 (as described above)
|
|
|
|
it is important to specify the proper
|
|
|
|
.Dq Li netmask
|
2003-10-02 05:21:16 +04:00
|
|
|
to
|
2006-08-04 14:10:49 +04:00
|
|
|
.Xr ifconfig 8 ,
|
|
|
|
in most setups
|
2006-08-04 21:08:52 +04:00
|
|
|
.Dq Li 0xffffffff .
|
2003-10-02 11:06:36 +04:00
|
|
|
If the netmask is unspecified, it will be set to 8 when 0.0.0.0 is
|
|
|
|
configured to the interface, and it will persist after negotiation.
|