Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have set /etc/hostname.msk0 to

inet 192.168.1.102 255.255.255.0 NONE

and /etc/mygate to

192.168.1.1 

but still can't ping the router (192.168.1.1) do I need to configure dns to ping ?

ifconfig msk0
msk0: flags=8843<UP, BROADCAST, RUNNING, SIMPLEX MULTICAST> mtu 1500
groups:egress
media: Ethernet autoselect
status active
inet6 xxxxxxxxxxxxx...........
inet 192.168.1.102 netmask 0xffffff00 broadcast 192.168.1.255

route -n show
destination    gateway     flags  mtu Iface 
default        192.168.1.1 UGS    _   msk0
share|improve this question
1  
Without further details we can't help you but no you don't need to configure dns if you want to ping an ip address. Please show the output of ifconfig and route -n show –  Ulrich Dangel Jun 5 '12 at 19:41
1  
Can you append the output of ifconfig to your question? –  Tim Jun 5 '12 at 19:41
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.