Unable to access the internet from my VirtualBox CentOS VM via wireless connection
I have a VirtualBox CentOS VM setup on my Windows 7 machine. I can ping my router, however I am unable to access the outside world.
In Windows I have three network connections setup:
- Wireless Network Connection (my WWW connection)
- VirtualBox Host-Only Network (my VM)
- Local Area Connection (unused)
I have my VM setup to use a bridged adapter to connect through the "Dell Wireless adapter".
Is there any reason why I should be unable to access the outside world from the VM?
I am trying to ping Google with:
ping 8.8.8.8
and getting connect: network is unreachable
This is a dump from ifconfig:
eth0 Link encap:Ethernet HWaddr 08:00:27:F2:EF:F7
inet addr:192.168.0.25 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3310 errors:0 dropped:0 overruns:0 frame:0
TX packets:337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:292875 (286.0 KiB) TX bytes:40593 (39.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:249 errors:0 dropped:0 overruns:0 frame:0
TX packets:249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20076 (19.6 KiB) TX bytes:20076 (19.6 KiB)
Here is a dump from route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
networking virtualbox virtual-machine centos bridge
|
show 2 more comments
I have a VirtualBox CentOS VM setup on my Windows 7 machine. I can ping my router, however I am unable to access the outside world.
In Windows I have three network connections setup:
- Wireless Network Connection (my WWW connection)
- VirtualBox Host-Only Network (my VM)
- Local Area Connection (unused)
I have my VM setup to use a bridged adapter to connect through the "Dell Wireless adapter".
Is there any reason why I should be unable to access the outside world from the VM?
I am trying to ping Google with:
ping 8.8.8.8
and getting connect: network is unreachable
This is a dump from ifconfig:
eth0 Link encap:Ethernet HWaddr 08:00:27:F2:EF:F7
inet addr:192.168.0.25 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3310 errors:0 dropped:0 overruns:0 frame:0
TX packets:337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:292875 (286.0 KiB) TX bytes:40593 (39.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:249 errors:0 dropped:0 overruns:0 frame:0
TX packets:249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20076 (19.6 KiB) TX bytes:20076 (19.6 KiB)
Here is a dump from route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
networking virtualbox virtual-machine centos bridge
Can you visit your router page from the VM?
– Tom Wijsman
Feb 27 '12 at 14:29
There's no GUI installed, however if do a wget on the URL then i get a 401 unauthorized (as expected). I can ping the router successfully. Where do you think the issue is? With my router?
– crmpicco
Feb 27 '12 at 14:34
Not necessarily your router. Can you check whether the gateway is probably set on the VM guest, withipconfig
orifconfig
depending on operating system. Because I guess it can reach the first hop but doesn't know where to sent packets to that have to travel more than a single hop (that thus are not in the network segment).
– Tom Wijsman
Feb 27 '12 at 14:36
I've just updated the main question with a dump from ifconfig on my VM. Does that look like it is configured correctly? How can I tell if the gateway is correctly configured?
– crmpicco
Feb 27 '12 at 14:48
Oh right, that's different on Linux. You can see the routing information withroute -n
, this would also show the gateway if it's configured properly.
– Tom Wijsman
Feb 27 '12 at 14:51
|
show 2 more comments
I have a VirtualBox CentOS VM setup on my Windows 7 machine. I can ping my router, however I am unable to access the outside world.
In Windows I have three network connections setup:
- Wireless Network Connection (my WWW connection)
- VirtualBox Host-Only Network (my VM)
- Local Area Connection (unused)
I have my VM setup to use a bridged adapter to connect through the "Dell Wireless adapter".
Is there any reason why I should be unable to access the outside world from the VM?
I am trying to ping Google with:
ping 8.8.8.8
and getting connect: network is unreachable
This is a dump from ifconfig:
eth0 Link encap:Ethernet HWaddr 08:00:27:F2:EF:F7
inet addr:192.168.0.25 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3310 errors:0 dropped:0 overruns:0 frame:0
TX packets:337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:292875 (286.0 KiB) TX bytes:40593 (39.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:249 errors:0 dropped:0 overruns:0 frame:0
TX packets:249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20076 (19.6 KiB) TX bytes:20076 (19.6 KiB)
Here is a dump from route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
networking virtualbox virtual-machine centos bridge
I have a VirtualBox CentOS VM setup on my Windows 7 machine. I can ping my router, however I am unable to access the outside world.
In Windows I have three network connections setup:
- Wireless Network Connection (my WWW connection)
- VirtualBox Host-Only Network (my VM)
- Local Area Connection (unused)
I have my VM setup to use a bridged adapter to connect through the "Dell Wireless adapter".
Is there any reason why I should be unable to access the outside world from the VM?
I am trying to ping Google with:
ping 8.8.8.8
and getting connect: network is unreachable
This is a dump from ifconfig:
eth0 Link encap:Ethernet HWaddr 08:00:27:F2:EF:F7
inet addr:192.168.0.25 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3310 errors:0 dropped:0 overruns:0 frame:0
TX packets:337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:292875 (286.0 KiB) TX bytes:40593 (39.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:249 errors:0 dropped:0 overruns:0 frame:0
TX packets:249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20076 (19.6 KiB) TX bytes:20076 (19.6 KiB)
Here is a dump from route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
networking virtualbox virtual-machine centos bridge
networking virtualbox virtual-machine centos bridge
edited Feb 27 '12 at 14:54
crmpicco
asked Feb 27 '12 at 14:21
crmpiccocrmpicco
2053515
2053515
Can you visit your router page from the VM?
– Tom Wijsman
Feb 27 '12 at 14:29
There's no GUI installed, however if do a wget on the URL then i get a 401 unauthorized (as expected). I can ping the router successfully. Where do you think the issue is? With my router?
– crmpicco
Feb 27 '12 at 14:34
Not necessarily your router. Can you check whether the gateway is probably set on the VM guest, withipconfig
orifconfig
depending on operating system. Because I guess it can reach the first hop but doesn't know where to sent packets to that have to travel more than a single hop (that thus are not in the network segment).
– Tom Wijsman
Feb 27 '12 at 14:36
I've just updated the main question with a dump from ifconfig on my VM. Does that look like it is configured correctly? How can I tell if the gateway is correctly configured?
– crmpicco
Feb 27 '12 at 14:48
Oh right, that's different on Linux. You can see the routing information withroute -n
, this would also show the gateway if it's configured properly.
– Tom Wijsman
Feb 27 '12 at 14:51
|
show 2 more comments
Can you visit your router page from the VM?
– Tom Wijsman
Feb 27 '12 at 14:29
There's no GUI installed, however if do a wget on the URL then i get a 401 unauthorized (as expected). I can ping the router successfully. Where do you think the issue is? With my router?
– crmpicco
Feb 27 '12 at 14:34
Not necessarily your router. Can you check whether the gateway is probably set on the VM guest, withipconfig
orifconfig
depending on operating system. Because I guess it can reach the first hop but doesn't know where to sent packets to that have to travel more than a single hop (that thus are not in the network segment).
– Tom Wijsman
Feb 27 '12 at 14:36
I've just updated the main question with a dump from ifconfig on my VM. Does that look like it is configured correctly? How can I tell if the gateway is correctly configured?
– crmpicco
Feb 27 '12 at 14:48
Oh right, that's different on Linux. You can see the routing information withroute -n
, this would also show the gateway if it's configured properly.
– Tom Wijsman
Feb 27 '12 at 14:51
Can you visit your router page from the VM?
– Tom Wijsman
Feb 27 '12 at 14:29
Can you visit your router page from the VM?
– Tom Wijsman
Feb 27 '12 at 14:29
There's no GUI installed, however if do a wget on the URL then i get a 401 unauthorized (as expected). I can ping the router successfully. Where do you think the issue is? With my router?
– crmpicco
Feb 27 '12 at 14:34
There's no GUI installed, however if do a wget on the URL then i get a 401 unauthorized (as expected). I can ping the router successfully. Where do you think the issue is? With my router?
– crmpicco
Feb 27 '12 at 14:34
Not necessarily your router. Can you check whether the gateway is probably set on the VM guest, with
ipconfig
or ifconfig
depending on operating system. Because I guess it can reach the first hop but doesn't know where to sent packets to that have to travel more than a single hop (that thus are not in the network segment).– Tom Wijsman
Feb 27 '12 at 14:36
Not necessarily your router. Can you check whether the gateway is probably set on the VM guest, with
ipconfig
or ifconfig
depending on operating system. Because I guess it can reach the first hop but doesn't know where to sent packets to that have to travel more than a single hop (that thus are not in the network segment).– Tom Wijsman
Feb 27 '12 at 14:36
I've just updated the main question with a dump from ifconfig on my VM. Does that look like it is configured correctly? How can I tell if the gateway is correctly configured?
– crmpicco
Feb 27 '12 at 14:48
I've just updated the main question with a dump from ifconfig on my VM. Does that look like it is configured correctly? How can I tell if the gateway is correctly configured?
– crmpicco
Feb 27 '12 at 14:48
Oh right, that's different on Linux. You can see the routing information with
route -n
, this would also show the gateway if it's configured properly.– Tom Wijsman
Feb 27 '12 at 14:51
Oh right, that's different on Linux. You can see the routing information with
route -n
, this would also show the gateway if it's configured properly.– Tom Wijsman
Feb 27 '12 at 14:51
|
show 2 more comments
1 Answer
1
active
oldest
votes
Your routing table is incomplete.
Your computer only knows how to route to IPs that start with 192.168
and 169.254
but does not know how to route to any other IPs, we'll want any other IPs to be routed through your router.
If your router would be 192.168.1.1
, you can for example execute:
route add default gw 192.168.1.1
This would cause the table to look like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
For more information on how this works, execute man route
.
1
OK, I have added my router's IP address (192.168.0.1) to the routing table and I can ping Google on the 8.8.8.8 IP. However, for some reason, I still cannot wget or access any domain (which is a big issue)? Does this mean it is a DNS problem?
– crmpicco
Feb 27 '12 at 15:11
1
Yes, it sound to me that you haven't followed any guide to set your internet up. Configure your DNS.
– Tom Wijsman
Feb 27 '12 at 15:20
1
Thanks, DNS was infact the problem. I added 8.8.8.8 and 8.8.4.4 as primary and secondary DNS servers respectively using the "setup" command in CentOS. This adds the records to your /etc/resolv.conf file. Thanks for your help!
– crmpicco
Feb 27 '12 at 16:05
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%2f394551%2funable-to-access-the-internet-from-my-virtualbox-centos-vm-via-wireless-connecti%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Your routing table is incomplete.
Your computer only knows how to route to IPs that start with 192.168
and 169.254
but does not know how to route to any other IPs, we'll want any other IPs to be routed through your router.
If your router would be 192.168.1.1
, you can for example execute:
route add default gw 192.168.1.1
This would cause the table to look like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
For more information on how this works, execute man route
.
1
OK, I have added my router's IP address (192.168.0.1) to the routing table and I can ping Google on the 8.8.8.8 IP. However, for some reason, I still cannot wget or access any domain (which is a big issue)? Does this mean it is a DNS problem?
– crmpicco
Feb 27 '12 at 15:11
1
Yes, it sound to me that you haven't followed any guide to set your internet up. Configure your DNS.
– Tom Wijsman
Feb 27 '12 at 15:20
1
Thanks, DNS was infact the problem. I added 8.8.8.8 and 8.8.4.4 as primary and secondary DNS servers respectively using the "setup" command in CentOS. This adds the records to your /etc/resolv.conf file. Thanks for your help!
– crmpicco
Feb 27 '12 at 16:05
add a comment |
Your routing table is incomplete.
Your computer only knows how to route to IPs that start with 192.168
and 169.254
but does not know how to route to any other IPs, we'll want any other IPs to be routed through your router.
If your router would be 192.168.1.1
, you can for example execute:
route add default gw 192.168.1.1
This would cause the table to look like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
For more information on how this works, execute man route
.
1
OK, I have added my router's IP address (192.168.0.1) to the routing table and I can ping Google on the 8.8.8.8 IP. However, for some reason, I still cannot wget or access any domain (which is a big issue)? Does this mean it is a DNS problem?
– crmpicco
Feb 27 '12 at 15:11
1
Yes, it sound to me that you haven't followed any guide to set your internet up. Configure your DNS.
– Tom Wijsman
Feb 27 '12 at 15:20
1
Thanks, DNS was infact the problem. I added 8.8.8.8 and 8.8.4.4 as primary and secondary DNS servers respectively using the "setup" command in CentOS. This adds the records to your /etc/resolv.conf file. Thanks for your help!
– crmpicco
Feb 27 '12 at 16:05
add a comment |
Your routing table is incomplete.
Your computer only knows how to route to IPs that start with 192.168
and 169.254
but does not know how to route to any other IPs, we'll want any other IPs to be routed through your router.
If your router would be 192.168.1.1
, you can for example execute:
route add default gw 192.168.1.1
This would cause the table to look like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
For more information on how this works, execute man route
.
Your routing table is incomplete.
Your computer only knows how to route to IPs that start with 192.168
and 169.254
but does not know how to route to any other IPs, we'll want any other IPs to be routed through your router.
If your router would be 192.168.1.1
, you can for example execute:
route add default gw 192.168.1.1
This would cause the table to look like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
For more information on how this works, execute man route
.
answered Feb 27 '12 at 15:00
Tom WijsmanTom Wijsman
50.4k24164247
50.4k24164247
1
OK, I have added my router's IP address (192.168.0.1) to the routing table and I can ping Google on the 8.8.8.8 IP. However, for some reason, I still cannot wget or access any domain (which is a big issue)? Does this mean it is a DNS problem?
– crmpicco
Feb 27 '12 at 15:11
1
Yes, it sound to me that you haven't followed any guide to set your internet up. Configure your DNS.
– Tom Wijsman
Feb 27 '12 at 15:20
1
Thanks, DNS was infact the problem. I added 8.8.8.8 and 8.8.4.4 as primary and secondary DNS servers respectively using the "setup" command in CentOS. This adds the records to your /etc/resolv.conf file. Thanks for your help!
– crmpicco
Feb 27 '12 at 16:05
add a comment |
1
OK, I have added my router's IP address (192.168.0.1) to the routing table and I can ping Google on the 8.8.8.8 IP. However, for some reason, I still cannot wget or access any domain (which is a big issue)? Does this mean it is a DNS problem?
– crmpicco
Feb 27 '12 at 15:11
1
Yes, it sound to me that you haven't followed any guide to set your internet up. Configure your DNS.
– Tom Wijsman
Feb 27 '12 at 15:20
1
Thanks, DNS was infact the problem. I added 8.8.8.8 and 8.8.4.4 as primary and secondary DNS servers respectively using the "setup" command in CentOS. This adds the records to your /etc/resolv.conf file. Thanks for your help!
– crmpicco
Feb 27 '12 at 16:05
1
1
OK, I have added my router's IP address (192.168.0.1) to the routing table and I can ping Google on the 8.8.8.8 IP. However, for some reason, I still cannot wget or access any domain (which is a big issue)? Does this mean it is a DNS problem?
– crmpicco
Feb 27 '12 at 15:11
OK, I have added my router's IP address (192.168.0.1) to the routing table and I can ping Google on the 8.8.8.8 IP. However, for some reason, I still cannot wget or access any domain (which is a big issue)? Does this mean it is a DNS problem?
– crmpicco
Feb 27 '12 at 15:11
1
1
Yes, it sound to me that you haven't followed any guide to set your internet up. Configure your DNS.
– Tom Wijsman
Feb 27 '12 at 15:20
Yes, it sound to me that you haven't followed any guide to set your internet up. Configure your DNS.
– Tom Wijsman
Feb 27 '12 at 15:20
1
1
Thanks, DNS was infact the problem. I added 8.8.8.8 and 8.8.4.4 as primary and secondary DNS servers respectively using the "setup" command in CentOS. This adds the records to your /etc/resolv.conf file. Thanks for your help!
– crmpicco
Feb 27 '12 at 16:05
Thanks, DNS was infact the problem. I added 8.8.8.8 and 8.8.4.4 as primary and secondary DNS servers respectively using the "setup" command in CentOS. This adds the records to your /etc/resolv.conf file. Thanks for your help!
– crmpicco
Feb 27 '12 at 16:05
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.
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%2f394551%2funable-to-access-the-internet-from-my-virtualbox-centos-vm-via-wireless-connecti%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
Can you visit your router page from the VM?
– Tom Wijsman
Feb 27 '12 at 14:29
There's no GUI installed, however if do a wget on the URL then i get a 401 unauthorized (as expected). I can ping the router successfully. Where do you think the issue is? With my router?
– crmpicco
Feb 27 '12 at 14:34
Not necessarily your router. Can you check whether the gateway is probably set on the VM guest, with
ipconfig
orifconfig
depending on operating system. Because I guess it can reach the first hop but doesn't know where to sent packets to that have to travel more than a single hop (that thus are not in the network segment).– Tom Wijsman
Feb 27 '12 at 14:36
I've just updated the main question with a dump from ifconfig on my VM. Does that look like it is configured correctly? How can I tell if the gateway is correctly configured?
– crmpicco
Feb 27 '12 at 14:48
Oh right, that's different on Linux. You can see the routing information with
route -n
, this would also show the gateway if it's configured properly.– Tom Wijsman
Feb 27 '12 at 14:51