Linux foundation _Day1

Network Configuration

  A network configuration of the three conditions   

      1. Need ip support. (Uniqueness)
      2 in the same network
      3. The connection means

   II. Check IP address configuration information      

     ifconfig -h command to get help information
    pipeline: the last command output as input to the next command (next command) ifconfig -h | more

     III. Configuring a Linux server IP address

    ifconfig ip address subnet mask device name card (NIC ethn representatives named, n represents the number of NIC)
    network connectivity test command: IP address of the destination host ping

    IV. The Linux host with the same network segment

         1. Set the virtual machine connected mode network. Click the virtual machine console - Settings - Network adapter.
    2. The connection mode
    Bridge: Communication between the host machine and the virtual real network
    only host: physical isolation network, a local area network.
    NAT: virtual machine access to the Internet, as long as the real host access to the Internet.

Guess you like

Origin www.cnblogs.com/Mr-lmxs/p/11781445.html