Re: strange ping behavior

2003-11-28 Thread Chip
Michael W. Oliver wrote:

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.
 

That was it. I forgot that some time back I had recompiled the kernel 
with firewall enabled, then moved on to other things and forgot all 
about it.
Thanks for the tip.
--
Chip

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: strange ping behavior

2003-11-28 Thread Shantanoo Mahajan
+++ Chip [freebsd] [27-11-03 22:26 -0800]:
| 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
| from any box I try to ping the 4.6 box, and the ping just times out. The 
| 5.1 box works fine. The 4.6 box used to work fine, and was serving web 
| pages, it has apache/php/mysql installed. It went down when the power 
| went out, and since has had the connection problems.
| Any ideas?
| --
| Chip
| 
| 
| --

as root run the following commands and then try to ping

# kldunload ipfw
# kldunload ipl

Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: strange ping behavior

2003-11-28 Thread Michael W. Oliver
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 1 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
error.

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.

-- 
Mike
perl -e 'print unpack("u","88V]N=&%C=\"!I;F9O(&EN(&AE861E

pgp0.pgp
Description: PGP signature


Re: strange ping behavior

2003-11-28 Thread Chip
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 1 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.

from any box I try to ping the 4.6 box, and the ping just times out. The 
5.1 box works fine. The 4.6 box used to work fine, and was serving web 
pages, it has apache/php/mysql installed. It went down when the power 
went out, and since has had the connection problems.
Any ideas?
   

What kind of connection problems?

The problem described above. It's not getting a connection to the 
network. Oddly, the dhcp server did assign it an address and show the 
box on the dhcp addresses list,  once. For some reason the dhcp list of  
devices it has assigned addresses to drops the two fbsd boxes at random. 
But that's another problem I'm not too concerned with right now. I just 
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.
--
Chip

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
.

 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: strange ping behavior

2003-11-28 Thread Aaron Burke
> 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 1 add allow icmp from any to any".

> from any box I try to ping the 4.6 box, and the ping just times out. The 
> 5.1 box works fine. The 4.6 box used to work fine, and was serving web 
> pages, it has apache/php/mysql installed. It went down when the power 
> went out, and since has had the connection problems.
> Any ideas?
What kind of connection problems?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"