当前位置:网站首页>VMware uses wireless network card NAT to access the Internet under Windows
VMware uses wireless network card NAT to access the Internet under Windows
2022-07-23 11:43:00 【Youth without fame】
Environmental Science
host :window10
Virtual machine software :vmware
Linux System :centos7(2009)
1、 Configuration of host wireless network card .IP Address :192.168.1.31( Attribute is auto get )

2、 Virtual machine network settings , Network segment IP by 10.10.10.0

3、VMware Related services are in the start state .

4、 Turn off firewall .
5、VMware Network Adapter VMnet8 Network card configuration

6、 virtual machine Linux System static IP To configure .
cd /etc/sysconfig/network-scripts/
vi ifcfg-ens33
appear PING IP When the address is normal ,ping Domain name is abnormal , Need to set up
DNS1="8.8.8.8"
Restart network service service network restart
Content :
TYPE="Ethernet"
PROXY_METHOD="none"
BROWSER_ONLY="no"
BOOTPROTO="none"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="ens33"
UUID="9de91a5a-7005-493a-9efd-14cb9724ae79"
DEVICE="ens33"
ONBOOT="yes"
IPADDR="10.10.10.11"
PREFIX="24"
GATEWAY="10.10.10.2"
DNS1="8.8.8.8"
DNS2="10.10.10.2"
IPV6_PRIVACY="no"
7、 Set up yum Source
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo
yum clean all && yum makecache
yum install net-tools -y
systemctl stop firewalld
systemctl disable firewalld
sudo sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
setenforce 0
yum install -y vim wget git
边栏推荐
- Using dynamic programming to solve the longest growing subsequence problem
- User defined MVC usage & addition, deletion, modification and query
- Setting optimization and use of MySQL and SQL Server
- kubesphere haproxy+keepalived (一)
- PHP文件上传中fileinfo出现的安全问题
- Points for attention when using El table to lazy load tree tables
- sql实现连续登陆7天以上用户统计
- NepCTF 2022 MISC <签到题>(极限套娃)
- sqli-lab 1-16通关随笔记
- Principle of file upload vulnerability
猜你喜欢

Principle of file upload vulnerability

CTF web common software installation and environment construction

PHP文件上传中fileinfo出现的安全问题

Dynamically set the theme color of the card

The tree form based on El table and JS xlsx realize the function of downloading excel (II)

Data warehouse 4.0 notes - business data collection

NFT trading platform digital collection system | development and customization

自定义MVC(下)

NFT digital collection system development: Xu Beihong Art Museum unveiled through the digital collection platform

MySQL Index & execution plan
随机推荐
Development of digital collection system: Baidu AI pays tribute to Air China
Nepctf 2022 misc < check in question > (extreme doll)
NFT数字藏品系统开发:音乐和NFT的结合
存储过程 两次排序加一次随机取数据
Common bypass methods for file upload vulnerabilities
NFT digital collection platform development and construction, source code development digital collection
Custom MVC (Part 2)
NFT数字藏品开发:京东“奇达熊带你游京城”旅游套装
MySQL Index & execution plan
数仓4.0笔记——数仓环境搭建—— Yarn配置
The tree form based on El table and JS xlsx realize the function of downloading excel (II)
Shell takes the month within a certain time range
MySQL tree structure recursive query
NFT数字藏品开发/DAPP开发
The difference between slice() and slice()
XML modeling
Two sorting and one random data fetching of stored procedures
Web component - the lifecycle of a custom element
Scala II process control
Scala之一变量和数据类型