DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th April 2010
joostvgh joostvgh is offline
Port Guard
 
Join Date: Jan 2010
Posts: 38
Thanked 0 Times in 0 Posts
Default ping: sendto: No route to host

I have searched google all about this but I can't find a solution.
I have a openbsd server, 2 nic's, pinging the internal network ips goes fine.

however pinging an external ip fails everytime, traceroute to it works, internet connection works, .. just the pinging fails.

# ping 195.238.2.21
PING 195.238.2.21 (195.238.2.21): 56 data bytes
ping: sendto: No route to host
ping: wrote 195.238.2.21 64 chars, ret=-1


# route get 195.238.2.21
route to: dnspool041.isp.belgacom.be
destination: default
mask: default
gateway: 192.168.0.1
interface: dc0
if address: 192.168.0.2
priority: 8 (static)
flags: <UP,GATEWAY,DONE,STATIC>
use mtu expire
4911464 0 0


# netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
default 192.168.0.1 UGS 1 4934551 - 8 dc0
127/8 127.0.0.1 UGRS 0 0 33200 8 lo0
127.0.0.1 127.0.0.1 UH 2 303 33200 4 lo0
192.168.0/24 link#2 UC 1 0 - 4 dc0
192.168.0.1 00:14:a9:7a:89:d3 UHLc 1 0 - 4 dc0
192.168.0.2 127.0.0.1 UGHS 0 0 33200 8 lo0
192.168.2/24 link#1 UC 21 0 - 4 rl0
....
....
....



Whats wrong then?
Reply With Quote
  #2   (View Single Post)  
Old 29th April 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,435
Thanked 214 Times in 189 Posts
Default

My guess: ICMP protocol blocked by PF.
Reply With Quote
  #3   (View Single Post)  
Old 29th April 2010
joostvgh joostvgh is offline
Port Guard
 
Join Date: Jan 2010
Posts: 38
Thanked 0 Times in 0 Posts
Default

thx. i only allowed it from internal ips and not from the openbsd server itself!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Response Ping Request widhi OpenBSD General 5 24th March 2010 10:40 PM
OpenBSD 4.6 Install Complete, cannot ping Jeff OpenBSD Installation and Upgrading 1 22nd October 2009 04:00 PM
FreeBSD ping issue wooki FreeBSD General 1 2nd October 2009 04:10 PM
router sees my wireless mac addres but I cannot ping it gosha OpenBSD General 7 26th July 2009 10:38 PM
Cannot get new installed card to ping other machine Johnny2Bad FreeBSD Installation and Upgrading 2 10th June 2008 08:54 PM


All times are GMT. The time now is 05:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick