home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
hamradio
/
nosvw304.zip
/
NOSGAS.ZIP
/
PUBLIC
/
NOSVIEW
/
IFCONFIG
< prev
next >
Wrap
Text File
|
1992-12-31
|
7KB
|
166 lines
======== NOSview [301]
ifconfig
========
_________________________________________________________________
ifconfig
_________________________________________________________________
Display a list of all attached interfaces, with a short status
report for each.
>> Example of ifconfig display:
................................................................
:netrom IP addr ns9bob MTU 236 Link encap NETROM :
: Link addr NS9BOB-5 :
: flags 1 trace 0x0 netmask 0x00000000 :
: broadcast 0.0.0.0 :
: sent: ip 0 tot 0 idle 0:00:00:07 :
: recv: ip 0 tot 0 idle 0:00:00:07 :
:tnc0 IP addr ns9bob MTU 256 Link encap AX25 :
: Link addr NS9BOB-5 :
: flags 1 trace 0x0 netmask 0x44ffffff broadcast uk :
: sent: ip 2 tot 9 idle 0:00:00:06 :
: recv: ip 0 tot 0 idle 0:00:00:07 :
:loopback IP addr loopback MTU 65535 Link encap None :
: flags 0 trace 0x0 netmask 0xffffffff :
: broadcast 255.255.255.255:
: sent: ip 0 tot 0 idle 0:00:00:08 :
: recv: ip 0 tot 0 idle 0:00:00:08 :
:encap IP addr 0.0.0.0 MTU 65535 Link encap None :
: flags 0 trace 0x0 netmask 0xffffffff :
: broadcast 255.255.255.255:
: sent: ip 0 tot 0 idle 0:00:00:08 :
: recv: ip 0 tot 0 idle 0:00:00:08 :
:..............................................................:
_________________________________________________________________
ifconfig <interface>
_________________________________________________________________
Display an extended status report of the interface.
>> Example: The command 'ifconfig tnc0' produces a display of
the form:
................................................................
:tnc0 IP addr ns9bob MTU 256 Link encap AX25 :
: Link addr NS9BOB-5 :
: flags 1 trace 0x0 netmask 0x44ffffff broadcast uk :
: sent: ip 2 tot 9 idle 0:00:00:48 :
: recv: ip 0 tot 0 idle 0:00:00:49 :
: IN: 0 pkts :
: OUT: 9 pkts :
:..............................................................:
_________________________________________________________________
ifconfig <interface> broadcast <broadcast_ip_address>
_________________________________________________________________
Set the broadcast address for the interface.
The <broadcast_ip_address> takes the form of an IP address with
1's in the host part of the address. This is related to the
'netmask' sub-command described below.
See also the 'arp' command.
>> Examples: ifconfig tnc0 broadcast 44.255.255.255
ifconfig tnc0 broadcast uk
(where uk.ampr.org is in DOMAIN.TXT)
_________________________________________________________________
ifconfig <interface> description ["<description>"]
_________________________________________________________________
Set the interface description. If no string is supplied, the
current description is cleared. The description is displayed
with the 'ifconfig <interface>' command and with mailbox
commands.
>> Example: ifconfig tnc0 description "144.625 MHz port"
_________________________________________________________________
ifconfig <interface> encapsulation
none|ax25|encap|ether|slip|netrom|ppp
_________________________________________________________________
Sets the encapsulation for <interface>.
The 'encap' option is used when it is required to encapsulate
AMPR packets within another IP datagram for transmission over
other networks (for example, over the "real" Internet). This is
necessary because the AMPRNET has a flat namespace (all names are
in the single ".ampr.org" domain), and this causes problems with
Internet.
>> Example: ifconfig tnc0 encapsulation ax25
_________________________________________________________________
ifconfig <interface> forward <forward-interface>
_________________________________________________________________
Set a forwarding interface for multiple channel interfaces. When
forwarding is defined, all output destined for <interface> is
redirected to <forward-interface>.
To remove forwarding, set <forward-interface> to <interface>.
>> Example: ifconfig tnc0 forward sl0
_________________________________________________________________
ifconfig <interface> ipaddress <ipaddress>
_________________________________________________________________
Set the IP address for this interface. For hosts with only one
interface, the interface address is usually the same as the host
address.
It may be necessary to set an IP address when a system acts as a
gateway to the Internet; for example, via an Ethernet adapter.
(Note that 44.x.x.x addresses are NOT connected to the Internet).
See also the 'hostname' and 'ip address' commands.
>> Example: ifconfig en0 ipaddress 123.45.6.7
_________________________________________________________________
ifconfig <interface> linkaddress <callsign> | <ether_address>
_________________________________________________________________
Set the hardware dependent address for this interface.
>> Examples: ifconfig tnc0 linkaddress NS9BOB-5
ifconfig en0 linkaddress 00:11:22:33:44:55
_________________________________________________________________
ifconfig <interface> mtu <mtu>
_________________________________________________________________
Set the Maximum Transmission Unit (MTU) in bytes for this
interface.
See the 'attach' and 'tcp' commands for more information on MTU
settings.
>> Example: ifconfig tnc0 mtu 1588
_________________________________________________________________
ifconfig <interface> netmask <hex_net_mask>
_________________________________________________________________
Set the sub-net mask for this interface. The <hex_net_mask>
takes the form of an IP address with 1's in the network and
subnet parts of the address, and 0's in the host part of the
address, expressed as a hexadecimal number. This is related to
the 'broadcast' sub-command. See also the 'route' command.
>> Example: ifconfig tnc0 netmask 0xff000000
(for a Class A network such as 44.x.x.x)
_________________________________________________________________
ifconfig <interface> rxbuf <buffer_size>
_________________________________________________________________
Set the receive buffer size.