Connecting VM to host via ethernet (bridged mode, maybe)
Posted: 18. Apr 2013, 18:16
I am not that great with networking.
Here is m current setup:
Mac OSX 10.7.5
Ethernet (this isn't plugged in by the way...I am strictly wifi):
IP 10.0.2.23
Mask 255.255.255.0
GW blank
Virtual host (red hat)
IP 10.0.2.22
Mask 255.255.255.0
GW blank
In the settings for the virtual machine, I have this for the adaptor (note that at one time I had an internal network and a NAT one enabled as well...those are disable right now) :
Attached to: Bridge Adaptor
Name (I have tried both p2p0 and also en0 Ethernet)
In the advanced section, I chose 'allow all' under promiscuous mode
For a little background on why I am trying to do what I am doing. There is a certain application on the virtual machine that I need to access. One way I have found around this is to fire up another virtual (an windows 7 machine) and then I can connect to it. I connect to it, because both of those virtuals had an internal network adaptor defined. The problem with this is that I had to keep both virtuals running and it slows my hosts computer. So if I can connect to the virtual with my host computer, it would save a lot of headache.
The application that I am trying to access is via a web browser, so I need to be able to type https://10.0.2.22 in the browser on my host and get to the virtual machine.
Any feedback appreciated!!!
Here is m current setup:
Mac OSX 10.7.5
Ethernet (this isn't plugged in by the way...I am strictly wifi):
IP 10.0.2.23
Mask 255.255.255.0
GW blank
Virtual host (red hat)
IP 10.0.2.22
Mask 255.255.255.0
GW blank
In the settings for the virtual machine, I have this for the adaptor (note that at one time I had an internal network and a NAT one enabled as well...those are disable right now) :
Attached to: Bridge Adaptor
Name (I have tried both p2p0 and also en0 Ethernet)
In the advanced section, I chose 'allow all' under promiscuous mode
For a little background on why I am trying to do what I am doing. There is a certain application on the virtual machine that I need to access. One way I have found around this is to fire up another virtual (an windows 7 machine) and then I can connect to it. I connect to it, because both of those virtuals had an internal network adaptor defined. The problem with this is that I had to keep both virtuals running and it slows my hosts computer. So if I can connect to the virtual with my host computer, it would save a lot of headache.
The application that I am trying to access is via a web browser, so I need to be able to type https://10.0.2.22 in the browser on my host and get to the virtual machine.
Any feedback appreciated!!!