Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 06:57:03 +0000
From:      "Ivailo A. Tanusheff" <ITanusheff@postbank.bg>
To:        <mexas@bris.ac.uk>, <freebsd-questions@freebsd.org>
Subject:   RE: ping localhost: network unreachable
Message-ID:  <1422065A4E115F409E22C1EC9EDAFBA45A48E9@sofdc01exc02.postbank.bg>
In-Reply-To: <201407131627.s6DGRgoe005508@mech-cluster241.men.bris.ac.uk>
References:  <201407131627.s6DGRgoe005508@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Have you altered security configuration of the system - security level =
or firewall rules.
Most likely this is the case.

For security level check with:
sysctl -n kern.securelevel
If it is not -1, then try to change it and ping the localhost again.

The other option depends on the firewall you use. For example if you use =
ipfw, in the kernel config you will have:
options    IPFIREWALL			# enables IPFW
And you should put this option:
options    IPFIREWALL_DEFAULT_TO_ACCEPT # sets default policy to pass =
what is not explicitly denied
if you want to make it run without specifying explicit rules.

If you use ipfilter you may have ibn kernel config:
options IPFILTER
And you should not have without additiobal configuration this:
options IPFILTER_DEFAULT_BLOCK

Hope the above helped you, let us know if this was OK.

Regards,
Ivailo Tanusheff

-----Original Message-----
From: owner-freebsd-questions@freebsd.org =
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Anton =
Shterenlikht
Sent: Sunday, July 13, 2014 7:28 PM
To: freebsd-questions@freebsd.org
Subject: ping localhost: network unreachable


# ping localhost
capability mode sandbox enabled
PING localhost (127.0.0.1): 56 data bytes
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable

How can I recover from this?

Thanks

Anton
_______________________________________________
freebsd-questions@freebsd.org mailing list =
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"


Disclaimer:

This communication is confidential. If you are not the intended =
recipient, you are hereby notified that any disclosure, copying, =
distribution or taking any action in reliance on the contents of this =
information is strictly prohibited and may be unlawful. If you have =
received this communication by mistake, please notify us immediately by =
responding to this email and then delete it from your system.
Eurobank Bulgaria AD is not responsible for, nor endorses, any opinion, =
recommendation, conclusion, solicitation, offer or agreement or any =
information contained in this communication.
Eurobank Bulgaria AD cannot accept any responsibility for the accuracy =
or completeness of this message as it has been transmitted over a public =
network. If you suspect that the message may have been intercepted or =
amended, please call the sender.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1422065A4E115F409E22C1EC9EDAFBA45A48E9>