ho dei problemi ad ottenere un IP via DHCP sulla rete wireless, usando un interfaccia bridged su wlan0, con virtualbox 4.0.4.
Una cosa strana che ho notato è che con la rete wireless di scuola riesco ad ottenere un IP sul guest mentre a casa no.
Come server dhcp ho configurato OpenBSD.
Questo il file di configurazione:
Codice: Seleziona tutto
# cat /etc/dhcpd.conf
# $OpenBSD: dhcpd.conf,v 1.2 2008/10/03 11:41:21 sthen Exp $
#
# DHCP server options.
# See dhcpd.conf(5) and dhcpd(8) for more information.
#
default-lease-time 604800;
option domain-name "local";
option domain-name-servers 192.168.1.1;
#Cabled network
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
range 192.168.1.200 192.168.1.254;
host printer{
hardware ethernet mac-address;
fixed-address 192.168.1.10;
}
host pc{
hardware ethernet mac-address;
fixed-address 192.168.1.218;
}
}
# WLAN
subnet 192.168.2.0 netmask 255.255.255.224 {
option routers 192.168.2.1;
range 192.168.2.2 192.168.2.30;
}
dhcpcd sta li un po dicendo "broadcasting for a lease" e alla fine utilizza zeroconf per ottenere un IP.
Potrebbe essere il server dhcp?
Grazieee
