Network Basics Section
1, The basic process of user access to the site
2. DNS
3. principle of DNS parsing process
4 . Steps to modify the host name
hostname xxxx
Vi/etc/sysconfig/network
Vi/etc/hosts
5, Modify the network card
Editing a configuration file /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/init.d/netword restart
Ifdown eth0
Ifup eth0
Ifconfig Viewing aliases
Ifconfig eth0:x 10.0.0.0.1/24up
Ifconfig eth0:x Down
6. the process of Internet computer Network and NAT conversion
7. Configure the default gateway
first entry into force document:/etc/sysconfig/network-scripts/ifcfg-eth0
second entry into force document:/etc/sysconfig/netword
command Temporary effect:route add default GW 10.0.0.1
Route del default GW 10.0.0.1
8. View network status
Ifconfig
Route–n
Hostname
Netstat–rn ==route–n
9. Network Check
Check Web site
Ping www.baidu.com ICMP protocol
Traceroute www.baidu.com
Telnet 10.3.3.3 Check service, firewall open
Nmap 10.3.3.3–p 80
Tracert commands for www.baidu.com windows
10, grasping the bag tool
Tcpdump–n icmp–i eth0 listener ICMP packet for eth0 Port
11. DNS Domain name resolution query
Nslookup
Dig www.baidu.com
Host Www.baidu.com
Ping www.baidu.com
12, LAN machine can not go online wrong "face question" "windows,Linux respectively described" "Basic Inspection Ideas "
is the physical link unobstructed?
This machine IP, routing,DNS settings
Test the patency of the gateway or router, measure the gateway first, and then route the test at a level
Test public network Ping
Test the patency of DNS
13, the website server accesses slowly, does not axed the wrong "noodles question"
Network Basics Section