Hi. I have FreeBSD 8.4 as a guest and Windows XP as a host (VirtualBox 4.0.10 r72479).
FreeBSD's interface is configured via a network bridge. The DNS server address is 192.168.0.222, the gateway is 192.168.0.2. Pinging the LAN is OK, but pinging out yields
/etc/rc.conf:
/etc/hosts:
/etc/resolve.conf:
Thanks.
FreeBSD's interface is configured via a network bridge. The DNS server address is 192.168.0.222, the gateway is 192.168.0.2. Pinging the LAN is OK, but pinging out yields
Code:
cannot resolve ...: Host name lookup failure
/etc/rc.conf:
Code:
gateway_enable="YES"
tcp_extensions="YES"
ifconfig_em0="inet 192.168.0.107 netmask 255.255.255.0"
defaultrouter="192.168.0.2"
hostname="gate.irb.local"
/etc/hosts:
Code:
::1 localhost localhost.irb.local
127.0.0.1 localhost localhost.irb.local
192.168.0.107 gate.irb.local gate
/etc/resolve.conf:
Code:
domain irb.local
nameserver 192.168.0.222
netstat -rn
Code:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.0.2 UGS 0 0 em0
127.0.0.1 link#2 UH 0 0 lo0
192.168.0.0/24 link#1 U 0 98 em0
192.168.0.107 link#1 UHS 0 0 lo0
Thanks.