当前位置:网站首页>Oracle VM VirtualBox NAT network Ping failed
Oracle VM VirtualBox NAT network Ping failed
2022-07-22 00:45:00 【Angry Apple ext】
Catalog
Preface
- To change the network
IP
The same address , So use theNAT
The Internet , butOracle VM VirtualBox
OfNAT
It seems to be withVMware
OfNAT
The pattern is different , Can't connect , alsoping no
. As shown in the figure below .
Solution
Set up port forwarding
- The solution is to set up
Port forwarding
. Let's start setting . - stay
Oracle VM VirtualBox
Click on the main interfaceSet up
- choice
The Internet
, Click onsenior
. - Get into
Port forwarding
, Set port forwarding rules .
This configuration represents native 222 Mapping ports to virtual machines 22 port . The same is true for mapping other ports .
test
- I use
127.0.0.1 222
Start connecting Linux virtual machine . The commands are as follows .
ssh [email protected] -p 222
- Successful connection , As shown in the figure below .
Other questions ( Updated on 2022 year 5 month 16 Japan 17:50:17)
Slow login after port forwarding
Login is simply turtle speed
The solution is not dns analysis .
vim /etc/ssh/sshd_config
Uncommented UseDNS
And modified to no
- restart ssh service
systemctl restart sshd.service
- Effect login is fast , As shown in the figure below .
Reference resources
边栏推荐
- Native applets use longitude and latitude to resolve addresses
- 数据可视化第四章答案
- Data visualization Chapter 4 answers
- 原来它在数据中台建设中这么重要!
- Several usages of return statement in go language
- PHP 页面跳转方式
- Kubectl get node appears when running: unable to connect to the server: x509: certificate signed by unknown authority
- Embedded sharing collection 17
- 如何使用具名插槽
- How to upload multiple pictures by applet
猜你喜欢
随机推荐
[natural language processing and text analysis] summary of text feature extraction methods. Keyword extraction method. IDF and RCF with good effect are recognized.
Draw plate layer
关于promise
Comparison table of ZH CN, en US, Zh TW and other language (Culture) codes with countries and regions
mysql dense_rank(), rank() 函数
【特征转化】特征转化是为了保证很小的信息损失,但有高品质的预测结果。
DOCTYPE and entity in xxE vulnerability are confused - Introduction to Web Security Foundation - XML external entity injection (xxE)
Matlab read CSV file inside both text and numbers of the file how to read. (it can be more than CSV files, txt files, etc.)
Special writing method of if statement in go language (if with semicolon;)
Hanoi
scrapy将数据载入json文件
数据与商业:数字化转型浪潮下的追逐与成就
How to upload multiple pictures by applet
scrapy中使用Fromquest
数据可视化第五章
Embedded sharing collection 17
小程序如何实现 商品的sku 筛选
【特征工程概要】解释什么是特征,特征工程的步骤
In depth understanding of the return statement of go language and the execution sequence of defer and return
【自然语言处理和文本分析】基础信息检索:签名文件技术,进阶信息检索:向量空间技术(目前主流的搜索引擎在用的技术)