Network Basics Section

Source: Internet
Author: User
Tags website server

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

    1. hostname xxxx

    2. Vi/etc/sysconfig/network

    3. Vi/etc/hosts

5, Modify the network card

    1. Editing a configuration file /etc/sysconfig/network-scripts/ifcfg-eth0

    2. /etc/init.d/netword restart

    3. Ifdown eth0

    4. Ifup eth0

    5. Ifconfig Viewing aliases

    6. Ifconfig eth0:x 10.0.0.0.1/24up

    7. Ifconfig eth0:x Down

6. the process of Internet computer Network and NAT conversion

7. Configure the default gateway

    1. first entry into force document:/etc/sysconfig/network-scripts/ifcfg-eth0

    2. second entry into force document:/etc/sysconfig/netword

    3. command Temporary effect:route add default GW 10.0.0.1
      Route del default GW 10.0.0.1

8. View network status

    1. Ifconfig

    2. Route–n

    3. Hostname

    4. Netstat–rn ==route–n

9. Network Check

    1. Check Web site

    2. Ping www.baidu.com ICMP protocol

    3. Traceroute www.baidu.com

    4. Telnet 10.3.3.3 Check service, firewall open

    5. Nmap 10.3.3.3–p 80

    6. Tracert commands for www.baidu.com windows

10, grasping the bag tool

    1. Tcpdump–n icmp–i eth0 listener ICMP packet for eth0 Port

11. DNS Domain name resolution query

    1. Nslookup

    2. Dig www.baidu.com

    3. Host Www.baidu.com

    4. Ping www.baidu.com

12, LAN machine can not go online wrong "face question" "windows,Linux respectively described" "Basic Inspection Ideas "

    1. is the physical link unobstructed?

    2. This machine IP, routing,DNS settings

    3. Test the patency of the gateway or router, measure the gateway first, and then route the test at a level

    4. Test public network Ping

    5. Test the patency of DNS

13, the website server accesses slowly, does not axed the wrong "noodles question"


Network Basics Section

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.