开发者社区> 技术小阿哥> 正文

如何在ESXi的虚机找跑VMware ASA

简介:
+关注继续查看

1.vCenter中添加虚拟机的参数:

    在vCenter上的ESXI系统创建的虚拟机,再创建虚拟机的方法:打开vCenter界面关闭虚拟机电源
右键单击虚拟机----编辑设置-选择“选项”----选择“常规”----在右下的配置参数中点击“配置参数”在配置参数界面,点击添加行,分别添加以下4行:

monitor_control.vt32 = "TRUE"
monitor_control.restrict_backdoor ="TRUE"
monitor.virtual_exec= "hardware" 
deploymentplatfrom=windows

点击两次确定,再启动虚拟机。

A.如果出现如下提示,估计是参数没有加全的缘故造成:

 *** VMware Workstation internal monitor error ***
vcpu-0:VMM fault: regs=0x2f94, exc=13, eip=0x818c026
Please report this problem by selecting menu item Help > VMware on the Web > Request Support, or by going to the Web page "http://vmware.com/info?id=8&logFile=C%3a%5cGNS%5cVM%5casa%5f1%2e4%5cvmware%2elog&coreLocation=C%3a%5cGNS%5cVM%5casa%5f1%2e4%5cvmware%2dcore%2egz". Please provide us with the log file (C:\GNS\VM\asa_1.4\vmware.log) and the core file(s) (C:\GNS\VM\asa_1.4\vmware-core.gz, C:\GNS\VM\asa_1.4\vmware-vmx-3912.dmp).
If the problem is repeatable, please select 'Run with debugging information' in the Options panel of Virtual Machine Settings. Then reproduce the incident and file it according to the instructions.
To collect data to submit to VMware support, select Help > About and click "Collect Support Data". You can also run the "vm-support" script in the Workstation folder directly.
We will respond on the basis of your support entitlement.
We appreciate your feedback,
  -- the VMware Workstation team.

B.如果没有加参数,会出现如下报错信息:

Running VMware Workstation in a virtual machine requires the outer virtual machine to be configured for running a VMware ESX guest operating system. You may not power on a virtual machine until the outer virtual machine is reconfigured.
 

2.解决虚拟机无法与外界通讯的问题:

ASA虚拟机的第一块网卡虽然与ESXi的2003虚拟机的真实网卡桥接,并且配置相同网段的地址互相也能ping通,但是ASA虚拟机无法ping通其它同网段的主机,通过配置VMWare的静态NAT解决。

A.确保ASA虚拟机的某块网卡为NAT方法连接:

 

B.配置静态NAT:

 

 

C.设置ASA接口地址:

interface Ethernet0/0
 nameif inside
 security-level 100
 ip address 192.168.80.10 255.255.255.0

---备注:192.168.80.10为静态NAT配置的虚机的地址

D.配置ASA的SSH连接:

ciscoasa(config)# crypto key generate rsa

ciscoasa(config)# ssh 192.168.0.0 255.255.0.0 inside

ciscoasa(config)# password cisco

ciscoasa(config)# enable password cisco

ciscoasa(config)#route inside 192.168.0.0  255.255.0.0 192.168.80.2 1

这样通过默认用户名pix,通过连接VMWare ASA宿主机的22号端口,用新配置的密码就能ssh 连接到该ASA,见下图所示,ssh连接的地址为192.168.99.233。

 

如果不想用默认的用户名,可以通过配置SSH为本地AAA认证解决:

ciscoasa(config)# aaa authentication ssh console LOCAL 
设置一个本地账号
ciscoasa(config)#username *** password ***





本文转自 碧云天 51CTO博客,原文链接:http://blog.51cto.com/333234/863831,如需转载请自行联系原作者

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
Vmware esx/esxi Vlan三种配置模式(VST、EST和VGT)
            在Vmware esx/esxi中使用虚拟Lan(Vlan)时,通常是指Vlan Trunk的使用,使用的Vlan配置还有其他三种类型: Virtual Switch Tagging(虚拟交换机标记,缩写VST )、External SwitchTagging(外部交换机标记,缩写EST)和Virtual Guest Tagging(虚拟guest标记,简称VGT)。
1907 0
VMware 虚拟机 - 解决主机每次重启后 VMWare 都无法上网的问题
VMware 虚拟机 - 解决主机每次重启后 VMWare 都无法上网的问题
143 0
VMware Workstation 网络连接问题
不知道和我一样的小白有没有和我一样,有时候打开虚拟机,用的是桥接方式莫名其妙的上不去网,然后就在网上狂搜一些关于CentOS,Kali,Ubuntu上不去网,网络配置等等一些文章,然后不停的改配置文件,但是最后还是无法上网,如果有这样的苦恼,请来看看我...
1648 0
文章
问答
文章排行榜
最热
最新
相关课程
更多
相关电子书
更多
Virtualizing Spark on Vmware vSphere
立即下载
Virtualizing Spark on VMware
立即下载
低代码开发师(初级)实战教程
立即下载