Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Centos6.6 network configuration and ways for virtual machines to communicate with native Ping

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "Centos6.6 network configuration and virtual machine and native Ping communication". The explanation in this article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "Centos6.6 network configuration and virtual machine and native Ping communication".

DEVICE=eth0

HWADDR=00:0C:29:17:47:9A

TYPE=Ethernet

UUID= ellipsis

ONBOOT=yes / / centos6.x version defaults to no, while 5.x version defaults to yes. No must be changed to yes.

NM_CONTROLLED=yes

BOOTPROTO=static / / dynamic address = dhcp, static address = static, none value is generally not used

IPADDR=192.168.1.45

NETMASK=255.255.255.0

GATEWAY=192.168.1.1

DNS1=114.114.114.114

DNS2=8.8.4.4

IPV6INIT=no / / do not use IPV6INIT

-

In the local adapter, the IP address of the modified VMnet8 is 192.168.1.67 and the mask is 255.255.255.0. The gateway does not need to be set.

The local connection IP can be set to the same network segment.

Be careful not to disable the ICMP protocol

The virtual machine network adapter is bridged: directly connected to the physical network, there is no need to check to copy the physical network connection status.

Thank you for your reading. the above is the content of "Centos6.6 network configuration and virtual machine and native Ping communication". After the study of this article, I believe you have a deeper understanding of Centos6.6 network configuration and virtual machine and native Ping communication, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report