In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The difference between 1:nat mode and bridging mode
Bridging: virtual machine and host a network segment, benefits: easy to set up, can access other computers in the local area network and the external network.
Disadvantages: occupy a public network ip address
Nat: use vmnet8 network card, can communicate with the host outside the network, can not communicate with other hosts in the local area network.
2: network card configuration file directory
Vi / etc/sysconfig/network-scripts/ifcfg-eth0 path
Dhclient automatically gets the command of ip
Areas that need to be modified:
Whether BOOTPPROTO=static automatically acquires IP (none static (manual) dhcp)
IPV6INIT=no
Whether ONBOOT=yes takes effect when the network service starts eth0
Add condition
IPADDR=
PREFIX=
GATEWAY=
DNS1=
Systemctl restart network.service restarts the network card
After configuring OK, test whether you can ping the public network host and the virtual host can be interconnected.
3: network troubleshooting
Login servers are all through the third-party ssh software, specific analysis of specific problems
1. Is the ping gateway, public network and so on normal?
2. Whether to set any strategies, such as protective wall, iptabels, etc.
Check one by one without a single link.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.