strange ping behavior
Michael W. Oliver
michael at gargantuan.com
Fri Nov 28 04:45:27 PST 2003
On Fri, Nov 28, 2003 at 01:12:55AM -0800, Chip wrote:
> Aaron Burke wrote:
> > > check this out - I have a fbsd 4.6 box on my network, as well as a
> > > fbsd5.1 box and several XP boxes. I have a netgear router/firewall (also
> > > does dhcp and print server) box as well. The 4.6 box is set up on the
> > > network, the netgear dhcp server finds the box, as well as the 5.1 box,
> > > so they are 'talking' on the network. The 4.6 box cannot ping anything.
> > > I get this error -
> > > ping: sendto: permission denied
> > >
> > >
> > I get this message if I have disabled ICMP via the firewall.
> > If you have one running, make sure that your allowing ICMP through
> > it.
> > This should be as easy as "ipfw 00001 add allow icmp from any to any".
> Ping is allowed. All other computers on the network are able to ping out
> to the internet just fine, ,just the one 4.6 box cannot.
I suspect that what Aaron meant was that there is a local filtering
problem on the 4.6 machine. When you try to ping another device from
the 4.6 box, you get 'permission denied' (typical of local blocking via
ipfw). Are you running ipfw on the 4.6 machine? As root, issue the
command 'ipfw show' and you will know for sure.
> need to 4.6 box to show a connection to the network. I'll change out
> the nic tomorrow and see if that makes any differance.
I doubt that the nic is bad. If it were, FreeBSD probably wouldn't see
it, and wouldn't assign an IP address to a non-existent interface, and
any pings would likely result in a 'no route to destination' type of
Try to ping the 4.6 host from another host on the network, then check
the arp table of the 'pinger'. If you don't see the IP <-> MAC entry
in the arp table, then that is another problem.
perl -e 'print unpack("u","88V]N=&%C=\"!I;F9O(&EN(&AE861E<G,*");'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031128/69cbc18b/attachment.bin
More information about the freebsd-questions