SCO TCP/IP network management --- ifconfig command syntax

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.