In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
As most companies and schools now implement the binding of IP addresses and host Mac addresses, it is necessary to apply in advance if you use bridging mode to give virtual machines access to the Internet. In order not to make a big fight for virtual machines to access the Internet, we can use NAT mode to give virtual machines access to the Internet. NAT mode can meet most of the requirements except that it cannot access other hosts in the local area network like bridging mode. Here is how centos6.5 minimal uses NAT to surf the Internet.
Open the virtual machine, enter the account number and password to log in to the system
two。 Click Virtual Machine, select Settings, open the Virtual Machine Settings dialog box, under the hardware tab, click the Network Adapter item, select NAT Mode on the right, OK.
3. Modify the configuration file to boot. Enter the command at the terminal and open the configuration file ifcfg-eth0 using the vi editor
# vi / etc/sysconfig/network-scripts/ifcfg-eth0
Press the "I" key to enter vi editing mode and modify the following. After the modification, press the "Esc" key to enter vi command mode, enter ": wq" to save and exit.
4. Restart the network service and enter the command
# service network restart
6. View IP information and enter commands
# ifconfig-a
7. Test connectivity, enter command
# ping www.baidu.com
Congratulations! You can surf the Internet now! Have fun!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.