Hi,

I am attempting to run VirtualBox 4.1.20 on Gentoo Linux (kernel version
3.4.9 with matching header versions to the running kernel,
and cannot get host-only networking to work.

I am trying with both saved virtualbox configuration copied from the
previous Debian installation as well as a fresh one with identical
settings. Same effect in both cases.

I am using a quite minimal custom kernel, but have tried enabling lots
of previously-disabled networking options like NAT and Bridging to no
avail.

I don't see anything unusual in the log files.

When the system initially boots (any guest o/s), the initial DHCP
request during boot fails.  Then I can log in and run dhclient
successfully, getting an IP from my DHCP server IP.  However I cannot
then ping the DHCP server IP, gateway IP, or anything else.  I am stuck
within the VM.


Here's details about the host:

$ ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000 link/ether 00:25:90:00:0f:44 brd ff:ff:ff:ff:ff:ff
    inet 10.79.0.64/23 brd 10.79.1.255 scope global eth0

$ cat /etc/resolv.conf 
domain int.m---s.com
search vmnet64.dev.int.m---s.com dev.int.m---s.com int.m---s.com
m---s.com
nameserver 10.79.0.143

(the following is with a VM running connected to vboxnet0 and having
gotten a DHCP IP assigned; shouldn't this have an IP assigned and
packets logged?)
# ifconfig vboxnet0
vboxnet0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 0a:00:27:00:00:00  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


VirtualBox.xml snippets:
 <ExtraDataItem name="HostOnly/vboxnet0/IPAddress" value="10.79.64.1"/>
 <ExtraDataItem name="HostOnly/vboxnet0/IPNetMask"
value="255.255.255.0"/>
 <ExtraDataItem name="HostOnly/vboxnet0/IPV6NetMask" value="64"/>
 ...
 <DHCPServer networkName="HostInterfaceNetworking-vboxnet0"
IPAddress="10.79.64.100" networkMask="255.255.255.0"
lowerIP="10.79.64.101" upperIP="10.79.64.254" enabled="1"/>


Here's details about the VM (terse because typed by hand):

inet 10.79.64.101/24 brd 10.79.64.255

nameserver 10.79.0.143
same search domains as host

Destination 10.79.64.0, Gateway 0.0.0.0, Genmask 255.255.255.0, Flags U
Destination 0.0.0.0, Gateway 10.79.64.1, Genmask 0.0.0.0, Flags UG


Are there some required options I need to make sure are enabled in my
kernel configuration?  Are there any newer package versions known to be
incompatible with VirtualBox?  Is there something I can provide from
the logs to help shed light?

Any help greatly appreciated!

Cheers,
-- 
Casey Allen Shobe
[email protected]

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:[email protected]?subject=unsubscribe

Reply via email to