ip(3): document the trans argument for add/try.
This commit is contained in:
parent
c8507f428f
commit
5186cb3b99
1 changed files with 10 additions and 3 deletions
13
sys/man/3/ip
13
sys/man/3/ip
|
@ -145,10 +145,10 @@ written to it will be looped back.
|
||||||
.B "unbind
|
.B "unbind
|
||||||
Disassociate the physical device from an IP interface.
|
Disassociate the physical device from an IP interface.
|
||||||
.TP
|
.TP
|
||||||
.BI add\ "local mask remote mtu " proxy
|
.BI add\ "local mask remote mtu " proxy|trans
|
||||||
.PD 0
|
.PD 0
|
||||||
.TP
|
.TP
|
||||||
.BI try\ "local mask remote mtu " proxy
|
.BI try\ "local mask remote mtu " proxy|trans
|
||||||
.PD
|
.PD
|
||||||
Add a local IP address to the interface.
|
Add a local IP address to the interface.
|
||||||
.I Try
|
.I Try
|
||||||
|
@ -160,8 +160,9 @@ The
|
||||||
.IR mask ,
|
.IR mask ,
|
||||||
.IR remote ,
|
.IR remote ,
|
||||||
.IR mtu ,
|
.IR mtu ,
|
||||||
|
.IR proxy ,
|
||||||
and
|
and
|
||||||
.B proxy
|
.R trans
|
||||||
arguments are all optional.
|
arguments are all optional.
|
||||||
The default
|
The default
|
||||||
.I mask
|
.I mask
|
||||||
|
@ -179,12 +180,18 @@ is 1514 for Ethernet and 4096 for packet media.
|
||||||
The
|
The
|
||||||
.I mtu
|
.I mtu
|
||||||
is the size in bytes of the largest packet that this interface can send.
|
is the size in bytes of the largest packet that this interface can send.
|
||||||
|
Specifying a
|
||||||
|
.I mtu
|
||||||
|
of 0 will use the default.
|
||||||
.IR Proxy ,
|
.IR Proxy ,
|
||||||
if specified, means that this machine should answer
|
if specified, means that this machine should answer
|
||||||
ARP requests for the remote address.
|
ARP requests for the remote address.
|
||||||
.IR Ppp (8)
|
.IR Ppp (8)
|
||||||
does this to make remote machines appear
|
does this to make remote machines appear
|
||||||
to be connected to the local Ethernet.
|
to be connected to the local Ethernet.
|
||||||
|
The
|
||||||
|
.I trans
|
||||||
|
argument enables source address translation on interface.
|
||||||
Adding the special null-address
|
Adding the special null-address
|
||||||
.B "0.0.0.0"
|
.B "0.0.0.0"
|
||||||
or
|
or
|
||||||
|
|
Loading…
Reference in a new issue