5th Linux Common Network Instructions

Source: Internet
Author: User

Instructions for setting up network parameters

Ifconfig: Query, set the network card and IP domain and other related parameters;
Ifup, Ifdown: These two files are script to start the network interface in a simpler way;
Route: query, set routing table (route tables)
IP: Compound instructions, you can directly modify the above mentioned functions;

[[email protected] ~]# Ifconfig {interface} {Up|down} <== observe and start interface
[[email protected] ~]# Ifconfig interface {options} <== setting and modifying interface
Options and Parameters:
Interface: Network card interface code, including Eth0, eth1, ppp0, etc.
Options: Parameters that can be answered, including the following:
Up, down: start (UP) or close (down) the network interface (no parameters are involved)
MTU: You can set different MTU values, such as MTU 1500 (in bytes)
Netmask: Is the sub-shield network;

Broadcast: That's the broadcast address!

5th Linux Common Network Instructions

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.