Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The Network Foundation of Linux system

2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. View network configuration

1) use ifconfig to view all Nic information

2) View a network card information

two。 View the computer name and modify the computer name

1) View, temporarily modify, permanently modify the computer name

3. View all routing tables

4. Use netstat to view network connections

1) Common options for netstat

-a displays all connection information and ports of the host

-n is displayed digitally

-p displays the port number and process information associated with the service

-r displays the routing table

-t display TCP protocol

-u display UDP protocol

-l shows the processes and services that monitor the status

5. Test network connectivity

6. Set the type of network parameter

1) temporary modification

It will not take effect forever and will expire after the computer is rebooted.

2) permanently effective

The computer can continue to be used after restarting, and the configuration file needs to be modified.

3) set the IP address

4) add and delete routes

5) configure permanent IP address

1) Edit the network card configuration file

Vim / etc/sysconfig/network-scripts/ifcfg-ens32

The next chapter briefly describes how Linux centOS7 builds a DHCP server and simple configuration.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report