1. Network Configuration/etc/sysconfig/net-script/ifcfg-*
DEVICE: Interface Name
UUID: Device Unique indication
HWADDR: Network card Address
Onboot: Does the boot start
Bootproto:static|none|dhcp
Type:ethernet| Bridge
Dns1:dns Address
Peerdns: If the DNS address is automatically assigned to DHCP mode, override manual
Ipaddr:ip Address
NETMASK: Subnet Mask
Gateway: Gateways Address
2. Common network commands
Ip:
IP link Show
IP link Set device up|down:
IP addr Show
IP addr add|del ipaddr/netmask dev Device
IP Route Show
IP route Add|del default|ipaddr/netmask via Gateway
Ss:ss-tnlp
21:ftp 22:ssh 23:telnet 42:nameserver 80:http
123:NTP 443:htps
Ping:-I send period-C send number
Curl
Curl-u user:passwd-o ftp://... Download from FTP
Curl-u user:passwd-t./file ftp://... Upload
Curl-x PURGE IP Specifies the protocol to send, such as sending a custom PURGE to varnish
SCP:SCP./file [Email Protected]:/path/file
Tcpdump
tcpdump tcp|udp|icmp-i Device host hostname and prot port
Linux self-study note--linux Network configuration, basic network commands