Sign up ×
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 NONE

and /etc/mygate to 

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

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

route -n show
destination    gateway     flags  mtu Iface 
default UGS    _   msk0
share|improve this question
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
Can you append the output of ifconfig to your question? – Tim Jun 5 '12 at 19:41

Your Answer


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

Browse other questions tagged or ask your own question.