Linux Network configuration

Source: Internet
Author: User

1. IP address configuration

1.1 Temporarily configure IP addresses with the ifconfig command

Use command: ifconfig eth0 192.168.0.200 netmask 255.255.255.0

1.2 Using the Setup tool to permanently configure IP addresses (RedHat proprietary tools)

Post-Change input command: Service network restart

and change the onboot of the file in 1.3.1 to Yes, otherwise ifconfig can only see the LO information, and no eth0 information

1.3 Modifying the network configuration file ( standard configuration mode )

1.3.1 Network card information file

Automatic Access Prerequisites: DHCP server exists in LAN

      

1.3.2 Host name File

      

1.3.3 DNS configuration file

      

1.4 Graphical Interface Configuration IP address

2. Virtual Machine Network parameter configuration

2.1 Configuring the IP address of Linux: Setup command

2.2 Starting the network card

    

2.3 Modifying the UUID (if the system is copied, the UUID will be the same, and the network communication is not possible)

    

2.4 Set the virtual machine network connection mode-change to bridge

    

2.5 Modifying the bridge adapter

    

    

Linux Network configuration

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.