I'm trying to configure a host-only network adapter with VirtualBox 2.2.4; host operating system is GNU/Linux (distribution=Debian release=Lenny); guest operating system is GNU/HURD (latest Debian release).
The vboxnet0 interface is up and running in the host machine:
Code: Select all
$ ip add show dev vboxnet0
5: vboxnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:76:62:6e:65:74 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.150/24 brd 10.10.10.255 scope global vboxnet0
inet6 fe80::276:62ff:fe6e:6574/64 scope link
valid_lft forever preferred_lft forever
Code: Select all
$ ping -c2 10.10.10.150
PING 10.10.10.150 (10.10.10.150) 56(84) bytes of data.
64 bytes from 10.10.10.150: icmp_seq=1 ttl=64 time=0.058 ms
64 bytes from 10.10.10.150: icmp_seq=2 ttl=64 time=0.066 ms
--- 10.10.10.150 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1003ms
rtt min/avg/max/mdev = 0.058/0.062/0.066/0.004 ms
The VirtualBox manual reports:
Unfortunately, DHCP is currently not supported in the guest operating system, so I have to configure the guest ethernet card with "all IP addresses statically". I tried to use the following static addresses for the ethernet card:"6.7 [..] For host-only networking, like with internal networking, you may ?nd the DHCP server useful that is built into VirtualBox. This can be enabled to then manage the IP addresses in the host-only network since otherwise you would need to con?gure all IP addresses statically."
Code: Select all
ethernet IP address: 10.10.10.180
netmask: 255.255.255.0
gateway IP adress: 10.10.10.150
I suppose I have chosen the wrong gateway IP adress in the guest operating system, but I cannot figure out what is the right one.
Can anyone give me an advice or help about how to configure guest IP addresses statically with host-only network adapter ?
Thanks in advance.
post scriptum: I believe that the guest operating system works fine because I previously configured it with success using the Virtual Box NAT interface using static IP address; I tried to used the NAT static IP address with the host-only network adapter, but it didn't work.