Get the App
SLTechnology News&Howtos  ›  Servers  › 

Network configuration of Linux centos6.6

Shulou Source: shulou.com Published: 2022-06-03 06:05:48 09月21日 Update

When centos is installed in the virtual machine, the steps to configure the network are as follows:

1. View the network card adapter

Ifconfig-a

two。 Set network card boot and other parameters

Vim / etc/sysconfig/network-scripts/ifcfg-eth0

3. Edit parameter

ONBOOT=yes

BOOTPROTO=static (static IP [dhcp dynamic acquisition IP])

IPADDR= (IP to be set)

NETMASK=255.255.255.240

CATEWAY= (Gateway IP)

4. As shown in the figure:

Tags: Parameters network card configuration dynamic and other steps gateway network adapter static medium security as shown in figure installed adaptation network Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Microsoft MySQL Shulou Technology Shulou Tech Info