In the previous article, we talked about the ifconfig command. In addition to initializing network interfaces, it can also be used for other temporary configurations, such as temporarily canceling the use of some network interfaces. The following is a syntax example of the ifconfig command.
Configuring Interfaces: # /etc/ifconfig lo0 127.0.0.1 perf 57344 57344 1 # /etc/ifconfig -p net0 200.100.50.1 netmask 255.255.255.0 \ >broadcast 200.100.50.255 perf 24576 24576 1 Listing Interfaces: # /etc/ifconfgi -a net1: flags=4043>UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 200.100.50.2 netmask ffffff00 broadcast 200.100.50.255 perf. params: recv size: 24576; send size:24576;full-size frames: 1 lo0: flags=4049>UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232 inet 127.0.0.1 netmask ff000000 perf. params: recv size: 57344; send size: 57344; full-size frames:1 ppp0: flags=4071>UP,POINTOPOINT,WANTIOCTLS,RUNNING,MULTICAST> mtu 1500 inet 200.100.50.3 --> 200.100.50.200 netmask ffffff00 perf. params: recv size: 4096;send size:8192; full-size frames: 1
|
Note: You can use an ifconfig command for each network interface or an ifconfig command for the loopback interface.
/Etc/tcp operation during system maintenance: In system maintenance status. /Etc/tcp can also complete the following functions. This allows you to run TCP/IP commands in other systems with the same network number.
Start strerr (ADM) daemon: automatically record error information to the/usr/adm/syslog file
Run the maskreply (ADMN) command to remind other systems about your system blocking information.
Start or restart syslogd (ADMN) daemon: record information to the log file. This daemon is very configurable and helpful for non-system network applaud. The default configuration file of syslogd is in the/etc/syslog. conf file.
Related Articles]
- Introduction to network protocols TCP/IP, IPX/SPX, and NETBEUI
- Interpreting TCP/IP protocol by connecting to an instance
- In-depth understanding of TCP/IP