This article describes how to use 4.3 BSD ASCII network configurations, additional commands and command options, and name and address resolution for this operating system, as well as the differences between 4.3 BSD network management and network management for this operating system.
You can administer network interfaces for this operating system through the SMIT and ODM files, or through 4.3 BSD ASCII configuration files.
To administer network interfaces through 4.3 BSD ASCII configuration files, uncomment the commands in the /etc/rc.net file below the heading:
# Part II - Traditional Configuration
Then if you want flat file configuration and SRC support, edit the /etc/rc.net file and uncomment the hostname, ifconfig, and route commands with the appropriate parameters.
If you want flat file configuration without SRC support, use the smit setbootup_option fast path to change the system to BSD-style rc configuration. This option configures the system to use the /etc/rc.bsdnet file at startup. You also have to edit the /etc/rc.bsdnet file and uncomment the hostname, ifconfig, and route commands with the appropriate parameters.
The ifconfig command for this operaitng system has
the following additional options:
The netstat command for this operating system has the -v flag. The netstat -v command prints driver statistics such as transmit byte count, transmit error count, receive byte count, and receive error count.
The following additional commands
are supported on this operating system:
securetcpip
| The securetcpip shell script enables controlled access mode, which provides enhanced network security. It disallows the running of several unsecured TCP/IP programs, such as the tftp, rcp, rlogin, and rsh programs. It also restricts the use of the .netrc file | |
gated | The gated command provides MIB support for SNMP | |
no | The no command sets network options that include: | |
dogticks | Sets timer granularity for ifwatchdog routines | |
subnetsarelocal | Determines if packet address is on the local network | |
ipsendredirects | Specifies whether the kernel should send redirect signals | |
ipforwarding | Specifies whether the kernel should forward packets | |
tcp_ttl | Specifies the time-to-live for Transmission Control Protocol (TCP) packets | |
udp_ttl | Specifies the time-to-live for User Datagram Protocol (UDP) packets | |
maxttl | Specifies the time-to-live for Routing Information Protocol (RIP) packets | |
ipfragttl | Specifies the time-to-live for Internet Protocol (IP) fragments | |
lowclust | Specifies a low water mark for cluster mbuf pool | |
lowmbuf | Specifies a low water mark for the mbuf pool | |
thewall | Specifies the maximum amount of memory that is allocated to the mbuf and cluster mbuf pool | |
arpt_killc | Specifies the time in minutes before an inactive complete Address Resolution Protocol (ARP) entry is deleted | |
iptrace | The iptrace command provides interface-level packet tracing for Internet protocols. | |
ipreport | The ipreport command formats the trace into human-readable
form. An example of using this command is the following:
iptrace -i en0 /tmp/iptrace.log # kill iptrace daemon kill `ps ax | grep iptrace | awk '{ print $1 }'` ipreport /tmp/iptrace.log | more |
The gethostbyname and gethostbyaddr subroutines in the libc library provide support for Domain Name Service, Network Information Services (NIS, formerly called Yellow Pages), and the /etc/hosts database. If the /etc/resolv.conf file exists, the name server is always checked first. If the name is not resolved and NIS is running, NIS is checked. If NIS is not running, the /etc/hosts file is checked.
On this operating system, the network daemons are started from the /etc/rc.tcpip file, not the/etc/rc.local file. The /etc/rc.tcpip shell script is invoked from the /etc/inittab file, not the /etc/rc file.
If the System Resource Controller (SRC) is running, the TCP/IP daemons run under SRC control. If you do not want the TCP/IP daemons running under SRC control, use the smit setbootup_option fast path to change the system to BSD-style rc configuration.
These network management functions available on 4.3 BSD are supported by this operating system:
The tn3270 command is a link to the telnet command, but it uses the /etc/map3270 file and the current TERM environment variable value to provide 3270 keyboard mappings. Thus, the tn3270 command operates exactly like the BSD version.
If you want to change the escape sequences from the defaults used by the tn3270, telnet, or tn commands, set the TNESC environment variable before starting these commands.