Hello everyone, I am trying to set up a DNS and web server on my FreeBSD installation. My FreeBSD version is 9 and it's running on VMWare virtual machine. I set my network card mode to bridged.
My /etc/rc.conf file:
My /etc/resolve.conf:
But when I try to ping google.com I get this:
I tried to reset netif and router from rc.d. This is what I get for [cmd=]/etc/rc.d/router restart[/cmd]:
My question is what's going on? Also I can't connect via Putty I get connection. I tried for couple of days to figure it out but nothing I tried on google, but nothing. Thanks in advance.
My /etc/rc.conf file:
Code:
hostname="home.domain"
keymap="usa.iso.kbd"
ifconfig_em0="inet 192.168.10.10 netmask 255.255.255.0"
defaultrouter="192.168.10.1"
sshd_enable="YES"
#set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
#--sysinstall generated deltas -- # Sat Mar 16 07:56:30 2013
keympa="hr.iso.kbd"
My /etc/resolve.conf:
Code:
nameserver 195.222.32.10
But when I try to ping google.com I get this:
Code:
ping:cannot resolve google.com: Host name lookup failure
I tried to reset netif and router from rc.d. This is what I get for [cmd=]/etc/rc.d/router restart[/cmd]:
Code:
delete net default : gateway 192.168.10.1
delete net ::ffff:0.0.0.0: gateway ::1
delete net ::0.0.0.0: gateway ::1
delete net fe80::: gatway ::1
delete net ff02::: gateway ::1
ifconfig: interface auto does not exist
add net default : gateway 192.168.10.1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net fe80::: gateway ::1
add net ff02::: gateway ::1
My question is what's going on? Also I can't connect via Putty I get connection. I tried for couple of days to figure it out but nothing I tried on google, but nothing. Thanks in advance.