How to bridge network connection between host and guest OS in VMWare Player
My host OS is windows 8 and my guest OS is lubuntu. Basically, I am trying to run a Django server form my guest OS on 0.0.0.0:8000
so that I can access it from my host OS.
I posted how I can access the server from my host OS on stackoverflow.
In the post, one of the users suggested that I should change the network to 'bridge-mode'. What I tried was this:
- I went to VMWare Player
- Clicked 'Player -> Manage -> Virtual Machine Settings'
- Changed 'Network Adapter' from 'NAT' to 'Bridged'
After doing this, my guest OS lost internet connection. I ran the django server on 0.0.0.0:8000
and could access it by going to either 0.0.0.0:8000
OR 192.168.174.233:8000
from the guest OS (my guest OS's IP address is 192.168.174.233
.. my host OS's IP address is 192.168.2.37
), but I couldn't access it from either of the two links from the host OS..
Am I bridging the connect correctly or am I doing something wrong?
networking vmware-player bridge wireless-bridge
add a comment |
My host OS is windows 8 and my guest OS is lubuntu. Basically, I am trying to run a Django server form my guest OS on 0.0.0.0:8000
so that I can access it from my host OS.
I posted how I can access the server from my host OS on stackoverflow.
In the post, one of the users suggested that I should change the network to 'bridge-mode'. What I tried was this:
- I went to VMWare Player
- Clicked 'Player -> Manage -> Virtual Machine Settings'
- Changed 'Network Adapter' from 'NAT' to 'Bridged'
After doing this, my guest OS lost internet connection. I ran the django server on 0.0.0.0:8000
and could access it by going to either 0.0.0.0:8000
OR 192.168.174.233:8000
from the guest OS (my guest OS's IP address is 192.168.174.233
.. my host OS's IP address is 192.168.2.37
), but I couldn't access it from either of the two links from the host OS..
Am I bridging the connect correctly or am I doing something wrong?
networking vmware-player bridge wireless-bridge
VMware will sometimes disable a network connection when you change the adapter type so double-check that. In addition, you might need to restart the interface (ifdown eth0; ifup eth0) or restart the system. Bridge will attach the VM directly to the host's network, Host-only creates a network that only the VM and host exist in, and NAT is basically the same as Host only except VMware will also perform NAT between the Host-only network and the actual network the host is connected too, if necessary. Any of those should work assuming you're using the correct IP address and firewalls aren't enabled
– nijave
Aug 26 '16 at 0:04
Do an "ip addr", "sudo netstat -tlpn" (while the Django server is running), and "sudo ufw status" on the guest. That will show you the guest's IP address(es), what programs are listening on TCP ports, and whether you have uncomplicated firewall (ufw) turned on.
– nijave
Aug 26 '16 at 0:06
add a comment |
My host OS is windows 8 and my guest OS is lubuntu. Basically, I am trying to run a Django server form my guest OS on 0.0.0.0:8000
so that I can access it from my host OS.
I posted how I can access the server from my host OS on stackoverflow.
In the post, one of the users suggested that I should change the network to 'bridge-mode'. What I tried was this:
- I went to VMWare Player
- Clicked 'Player -> Manage -> Virtual Machine Settings'
- Changed 'Network Adapter' from 'NAT' to 'Bridged'
After doing this, my guest OS lost internet connection. I ran the django server on 0.0.0.0:8000
and could access it by going to either 0.0.0.0:8000
OR 192.168.174.233:8000
from the guest OS (my guest OS's IP address is 192.168.174.233
.. my host OS's IP address is 192.168.2.37
), but I couldn't access it from either of the two links from the host OS..
Am I bridging the connect correctly or am I doing something wrong?
networking vmware-player bridge wireless-bridge
My host OS is windows 8 and my guest OS is lubuntu. Basically, I am trying to run a Django server form my guest OS on 0.0.0.0:8000
so that I can access it from my host OS.
I posted how I can access the server from my host OS on stackoverflow.
In the post, one of the users suggested that I should change the network to 'bridge-mode'. What I tried was this:
- I went to VMWare Player
- Clicked 'Player -> Manage -> Virtual Machine Settings'
- Changed 'Network Adapter' from 'NAT' to 'Bridged'
After doing this, my guest OS lost internet connection. I ran the django server on 0.0.0.0:8000
and could access it by going to either 0.0.0.0:8000
OR 192.168.174.233:8000
from the guest OS (my guest OS's IP address is 192.168.174.233
.. my host OS's IP address is 192.168.2.37
), but I couldn't access it from either of the two links from the host OS..
Am I bridging the connect correctly or am I doing something wrong?
networking vmware-player bridge wireless-bridge
networking vmware-player bridge wireless-bridge
edited May 23 '17 at 12:41
Community♦
1
1
asked Jun 18 '14 at 3:01
user2719875
3384716
3384716
VMware will sometimes disable a network connection when you change the adapter type so double-check that. In addition, you might need to restart the interface (ifdown eth0; ifup eth0) or restart the system. Bridge will attach the VM directly to the host's network, Host-only creates a network that only the VM and host exist in, and NAT is basically the same as Host only except VMware will also perform NAT between the Host-only network and the actual network the host is connected too, if necessary. Any of those should work assuming you're using the correct IP address and firewalls aren't enabled
– nijave
Aug 26 '16 at 0:04
Do an "ip addr", "sudo netstat -tlpn" (while the Django server is running), and "sudo ufw status" on the guest. That will show you the guest's IP address(es), what programs are listening on TCP ports, and whether you have uncomplicated firewall (ufw) turned on.
– nijave
Aug 26 '16 at 0:06
add a comment |
VMware will sometimes disable a network connection when you change the adapter type so double-check that. In addition, you might need to restart the interface (ifdown eth0; ifup eth0) or restart the system. Bridge will attach the VM directly to the host's network, Host-only creates a network that only the VM and host exist in, and NAT is basically the same as Host only except VMware will also perform NAT between the Host-only network and the actual network the host is connected too, if necessary. Any of those should work assuming you're using the correct IP address and firewalls aren't enabled
– nijave
Aug 26 '16 at 0:04
Do an "ip addr", "sudo netstat -tlpn" (while the Django server is running), and "sudo ufw status" on the guest. That will show you the guest's IP address(es), what programs are listening on TCP ports, and whether you have uncomplicated firewall (ufw) turned on.
– nijave
Aug 26 '16 at 0:06
VMware will sometimes disable a network connection when you change the adapter type so double-check that. In addition, you might need to restart the interface (ifdown eth0; ifup eth0) or restart the system. Bridge will attach the VM directly to the host's network, Host-only creates a network that only the VM and host exist in, and NAT is basically the same as Host only except VMware will also perform NAT between the Host-only network and the actual network the host is connected too, if necessary. Any of those should work assuming you're using the correct IP address and firewalls aren't enabled
– nijave
Aug 26 '16 at 0:04
VMware will sometimes disable a network connection when you change the adapter type so double-check that. In addition, you might need to restart the interface (ifdown eth0; ifup eth0) or restart the system. Bridge will attach the VM directly to the host's network, Host-only creates a network that only the VM and host exist in, and NAT is basically the same as Host only except VMware will also perform NAT between the Host-only network and the actual network the host is connected too, if necessary. Any of those should work assuming you're using the correct IP address and firewalls aren't enabled
– nijave
Aug 26 '16 at 0:04
Do an "ip addr", "sudo netstat -tlpn" (while the Django server is running), and "sudo ufw status" on the guest. That will show you the guest's IP address(es), what programs are listening on TCP ports, and whether you have uncomplicated firewall (ufw) turned on.
– nijave
Aug 26 '16 at 0:06
Do an "ip addr", "sudo netstat -tlpn" (while the Django server is running), and "sudo ufw status" on the guest. That will show you the guest's IP address(es), what programs are listening on TCP ports, and whether you have uncomplicated firewall (ufw) turned on.
– nijave
Aug 26 '16 at 0:06
add a comment |
2 Answers
2
active
oldest
votes
I had the same problem. I solved disabling Citrix DNE Lightweight Filter from my network adapter properties.
If you are using a Realteck adapter, you can take a look at KB1025978 and KB1015940
You can check this question
VMware Workstation Bridged Network Host UnReachable
add a comment |
Perhaps you want to try adding a host-only network? In preferences, under the network tab, add a host only network (vboxnet0). Then go to your VM and add it as a second network adapter. Finally, when you're running your server, make sure you host on 0.0.0.0
,
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f770205%2fhow-to-bridge-network-connection-between-host-and-guest-os-in-vmware-player%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the same problem. I solved disabling Citrix DNE Lightweight Filter from my network adapter properties.
If you are using a Realteck adapter, you can take a look at KB1025978 and KB1015940
You can check this question
VMware Workstation Bridged Network Host UnReachable
add a comment |
I had the same problem. I solved disabling Citrix DNE Lightweight Filter from my network adapter properties.
If you are using a Realteck adapter, you can take a look at KB1025978 and KB1015940
You can check this question
VMware Workstation Bridged Network Host UnReachable
add a comment |
I had the same problem. I solved disabling Citrix DNE Lightweight Filter from my network adapter properties.
If you are using a Realteck adapter, you can take a look at KB1025978 and KB1015940
You can check this question
VMware Workstation Bridged Network Host UnReachable
I had the same problem. I solved disabling Citrix DNE Lightweight Filter from my network adapter properties.
If you are using a Realteck adapter, you can take a look at KB1025978 and KB1015940
You can check this question
VMware Workstation Bridged Network Host UnReachable
edited Mar 20 '17 at 10:17
Community♦
1
1
answered Jul 16 '14 at 23:29
torrentalle
1012
1012
add a comment |
add a comment |
Perhaps you want to try adding a host-only network? In preferences, under the network tab, add a host only network (vboxnet0). Then go to your VM and add it as a second network adapter. Finally, when you're running your server, make sure you host on 0.0.0.0
,
add a comment |
Perhaps you want to try adding a host-only network? In preferences, under the network tab, add a host only network (vboxnet0). Then go to your VM and add it as a second network adapter. Finally, when you're running your server, make sure you host on 0.0.0.0
,
add a comment |
Perhaps you want to try adding a host-only network? In preferences, under the network tab, add a host only network (vboxnet0). Then go to your VM and add it as a second network adapter. Finally, when you're running your server, make sure you host on 0.0.0.0
,
Perhaps you want to try adding a host-only network? In preferences, under the network tab, add a host only network (vboxnet0). Then go to your VM and add it as a second network adapter. Finally, when you're running your server, make sure you host on 0.0.0.0
,
edited Sep 7 '15 at 22:52
JakeGould
30.9k1093137
30.9k1093137
answered Jul 16 '14 at 23:56
Cody Moniz
1113
1113
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f770205%2fhow-to-bridge-network-connection-between-host-and-guest-os-in-vmware-player%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
VMware will sometimes disable a network connection when you change the adapter type so double-check that. In addition, you might need to restart the interface (ifdown eth0; ifup eth0) or restart the system. Bridge will attach the VM directly to the host's network, Host-only creates a network that only the VM and host exist in, and NAT is basically the same as Host only except VMware will also perform NAT between the Host-only network and the actual network the host is connected too, if necessary. Any of those should work assuming you're using the correct IP address and firewalls aren't enabled
– nijave
Aug 26 '16 at 0:04
Do an "ip addr", "sudo netstat -tlpn" (while the Django server is running), and "sudo ufw status" on the guest. That will show you the guest's IP address(es), what programs are listening on TCP ports, and whether you have uncomplicated firewall (ufw) turned on.
– nijave
Aug 26 '16 at 0:06