can ping debian guest static ip, but not web browse
Posted: 3. Sep 2013, 02:18
Hello,
I have a windows 7 host with a debian guest setup. I am trying to configure my environment so that the debian (guest) has access to the internet, and I can browse to it via the web to a static IP that I have set up. I have two network connections defined in the VirtualBox. The first is NAT for (eth0), and the second is Host-only for (eth1). I have set the static IP to the IP issued in FilePreferencesNetwork. Once logged in I can ping the static IP from the host to the guest. However, I cannot browse to the guest static IP via a web browser despite having apache installed. Any help on how I can trouble shoot this will be greatly appreciated. If it helps anyone understand my network setup here are the results of an ifconfig:
eth0 Link encap:Ethernet HWaddr 08:00:27:7a:1a:35
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00
fe7a:1a35/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1234 (1.2 KiB) TX bytes:1246 (1.2 KiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:56:3d:90
inet addr:192.168.215.1 Bcast:192.168.215.255 Mask:255.255.255.0
inet6 addr: fe80::a00
fe56:3d90/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3028 (2.9 KiB) TX bytes:578 (578.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Thanks,
Derek
I have a windows 7 host with a debian guest setup. I am trying to configure my environment so that the debian (guest) has access to the internet, and I can browse to it via the web to a static IP that I have set up. I have two network connections defined in the VirtualBox. The first is NAT for (eth0), and the second is Host-only for (eth1). I have set the static IP to the IP issued in FilePreferencesNetwork. Once logged in I can ping the static IP from the host to the guest. However, I cannot browse to the guest static IP via a web browser despite having apache installed. Any help on how I can trouble shoot this will be greatly appreciated. If it helps anyone understand my network setup here are the results of an ifconfig:
eth0 Link encap:Ethernet HWaddr 08:00:27:7a:1a:35
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1234 (1.2 KiB) TX bytes:1246 (1.2 KiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:56:3d:90
inet addr:192.168.215.1 Bcast:192.168.215.255 Mask:255.255.255.0
inet6 addr: fe80::a00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3028 (2.9 KiB) TX bytes:578 (578.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Thanks,
Derek