I don't usually ask questions like this, but I've been banging my head against this one for a couple of days now:
HOST: Ubuntu 13.04 Server, Virtualbox Version 4.2.10_Ubuntu
GUEST: Ubuntu 13.04 server also.
HOST ifconfig:
- Networking to/from host works fine.
GUEST networking: set to bridged, eth0, promisuous deny (tried all of these).
I'm running vboxheadless+phpvirtualbox, manually set IP on eth0 192.168.2.221 (netmask and gateway present and correct).
From the host, I can ping guest 192.168.2.221 fine. Can also SSH fine to the guest.
From the guest, I can ping host 2.220. But cannot ping the gateway or any other machines even on the subnet:
I have tried changing the user the VM is running as, checking vboxnetflt, even setting up old-skool TAP adapters, but nothing seems to help.
Setting adapter to NAT does allow it to contact outside, but this is a server and double-NATing the ports to/from ports over 1024 is horrible (listening on ports less than 1024 only works when running as root)
Any thoughts? Thanks!
HOST: Ubuntu 13.04 Server, Virtualbox Version 4.2.10_Ubuntu
GUEST: Ubuntu 13.04 server also.
HOST ifconfig:
Code:
eth0 Link encap:Ethernet HWaddr 00:01:c0:0b:c8:7d
inet addr:192.168.2.220 Bcast:192.168.2.255 Mask:255.255.255.0
GUEST networking: set to bridged, eth0, promisuous deny (tried all of these).
I'm running vboxheadless+phpvirtualbox, manually set IP on eth0 192.168.2.221 (netmask and gateway present and correct).
From the host, I can ping guest 192.168.2.221 fine. Can also SSH fine to the guest.
From the guest, I can ping host 2.220. But cannot ping the gateway or any other machines even on the subnet:
Code:
ant@n:~$ ping 192.168.2.220
PING 192.168.2.220 (192.168.2.220) 56(84) bytes of data.
64 bytes from 192.168.2.220: icmp_req=1 ttl=64 time=0.434 ms
^C
--- 192.168.2.220 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.434/0.434/0.434/0.000 ms
Code:
ant@n:~$ ping 192.168.2.254
PING 192.168.2.254 (192.168.2.254) 56(84) bytes of data.
From 192.168.2.221 icmp_seq=1 Destination Host Unreachable
From 192.168.2.221 icmp_seq=2 Destination Host Unreachable
From 192.168.2.221 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.2.254 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3002ms
I have tried changing the user the VM is running as, checking vboxnetflt, even setting up old-skool TAP adapters, but nothing seems to help.
Setting adapter to NAT does allow it to contact outside, but this is a server and double-NATing the ports to/from ports over 1024 is horrible (listening on ports less than 1024 only works when running as root)
Any thoughts? Thanks!